Function at 0x549920
Capabilities:
Check for time delay via gettickcount
Contain obfuscated stackstrings
Create directory
Create process on windows
Create process suspended
Encode data using xor
Get file size
Read file on windows
Resolve function by parsing pe exports
Resume thread
Write and execute a file
Write file on windows

Disassembly:
mov eax, 0x10dc
call fcn.00554980
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx]
push edi
test al, al
jne 0x54b1a9
call fcn.0054b5a0
mov byte [ebx + 0x1269], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 0x11fc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x10f0]
mov dword [0x881c74], eax
lea eax, [ebx + 0x1200]
push 0x20
push ecx
push eax
call fcn.00552cff
add esp, 0xc
mov ecx, ebx
mov byte [ebx + 0x121f], 0
push 0x104
push 0x88194c
call fcn.0054b670
push 0
push 0x88194c
call fcn.00554935
add esp, 8
cmp eax, 0xffffffff
jne 0x5499e9
push 0
push 0x88194c
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x5499e9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5ddd50
call fcn.00550160
add esp, 4
add ebx, 0x20
push eax
push ebx
call fcn.0054b360
add esp, 0xc
mov eax, 0x6f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x5ddd4c
push 0x88194c
call esi
push 0x5ddd3c
call fcn.00550160
add esp, 4
push eax
push 0x88194c
call esi
mov eax, dword [ebx + 0x20]
lea ebp, [ebx + 0x20]
cmp eax, 0xffffffff
mov dword [esp + 0x3c], 0xc5f1f435
mov dword [esp + 0x40], 0x83a3a023
mov dword [esp + 0x44], 0x4e626c2e
mov dword [esp + 0x48], 0x89818809
mov dword [esp + 0x4c], 0xcaf2f83a
mov dword [esp + 0x50], 0xd2d416c6
mov dword [esp + 0x54], 0x9c1d8d91
mov dword [esp + 0x58], 0x64264662
mov dword [esp + 0x5c], 0x39497178
mov dword [esp + 0x60], 0x1a0a1218
jne 0x549caa
mov edi, 0x88194c
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x1030], 0
mov dword [ebp + 0x1034], 0x3e8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jbe 0x549ace
cmp byte [0x88194d], 0x3a
je 0x549ace
lea edx, [esp + 0x1e0]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x1e0]
push 0x5c
push eax
call fcn.005548ca
add esp, 8
lea edx, [eax + 1]
test eax, eax
jne 0x549ad5
lea edx, [esp + 0x1e0]
mov edi, 0x88194c
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80000080
mov eax, ecx
mov esi, edi
mov edi, edx
push 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1f4]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp], eax
je 0x549caa
lea esi, [ebp + 0x101c]
push esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
xor eax, eax
mov dx, word [ebp + 0x102a]
mov ax, word [ebp + 0x1028]
push edx
xor ecx, ecx
mov cx, word [ebp + 0x1026]
xor edx, edx
mov dx, word [ebp + 0x1024]
push eax
push ecx
xor eax, eax
mov ax, word [ebp + 0x1022]
push edx
xor ecx, ecx
xor edx, edx
mov cx, word [ebp + 0x101e]
mov dx, word [esi]
push eax
push ecx
push edx
push 0x5ddcec
lea edi, [ebp + 0x1c]
call fcn.005500f0
add esp, 4
push eax
push edi
call fcn.00550730
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1034]
not ecx
dec ecx
cmp eax, 0x3e7
mov esi, ecx
jne 0x549ba7
xor esi, esi
mov eax, dword [ebp + 0x1030]
test eax, eax
je 0x549bee
test esi, esi
jle 0x549c9f
mov edi, 0xffffffe4
lea eax, [ebp + 0x1c]
sub edi, ebp
mov ecx, 2
mov edx, dword [ebp + 0x1030]
add edx, ecx
mov dword [ebp + 0x1030], edx
add dl, 0x43
xor byte [eax], dl
inc eax
lea edx, [edi + eax]
cmp edx, esi
jl 0x549bc8
push 0
lea edx, [esp + 0x14]
jmp 0x549f8b
xor edi, edi
mov di, word [ebp + 0x102a]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dx, word [ebp + 0x1028]
mov cx, word [ebp + 0x1026]
add eax, edi
push 0
add eax, edx
mov dx, word [ebp + 0x101e]
add ecx, eax
mov ax, word [ebp + 0x1022]
imul eax, edx
mov dx, word [ebp + 0x101c]
imul eax, edx
imul eax, edi
inc eax
xor edx, edx
imul ecx, eax
and ecx, 0xffff
mov edi, 0xa
or ecx, 0x2c000000
mov eax, ecx
div edi
lea eax, [esp + 0x20]
lea edi, [ebp + 0x102c]
push eax
push 4
push edi
mov dword [esp + 0x28], edx
xor edx, 0x55
shl edx, 0x10
or edx, ecx
mov ecx, dword [ebp]
push ecx
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x18]
test esi, esi
mov eax, dword [esp + edx*4 + 0x3c]
mov dword [edi], eax
jle 0x549c9f
mov edx, 0xffffffe4
lea eax, [ebp + 0x1c]
sub edx, ebp
mov ecx, dword [edi]
lea ecx, [ecx + ecx*2 + 1]
mov dword [edi], ecx
add cl, 0x76
xor byte [eax], cl
inc eax
lea ecx, [eax + edx]
cmp ecx, esi
jl 0x549c8a
push 0
lea edx, [esp + 0x14]
jmp 0x549f8b
push 0x2e
push 0x88194c
call fcn.005548ca
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x18], esi
je 0x549f9b
mov eax, 1
mov dword [esp + 0x3c], 0xc5f1f435
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], 0x83a3a023
mov dword [esp + 0x44], 0x4e626c2e
mov dword [esp + 0x48], 0x89818809
mov dword [esp + 0x4c], 0xcaf2f83a
mov dword [esp + 0x50], 0xd2d416c6
mov dword [esp + 0x54], 0x9c1d8d91
mov dword [esp + 0x58], 0x64264662
mov dword [esp + 0x5c], 0x39497178
mov dword [esp + 0x60], 0x1a0a1218
push eax
push 0x5ddce0
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550730
mov eax, dword [ebp]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x549df4
mov edi, 0x88194c
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x1030], 0
mov dword [ebp + 0x1034], 0x3e8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jbe 0x549da3
cmp byte [0x88194d], 0x3a
je 0x549da3
lea ecx, [esp + 0x1e0]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x1e0]
push 0x5c
push edx
call fcn.005548ca
add esp, 8
lea edx, [eax + 1]
test eax, eax
jne 0x549daa
lea edx, [esp + 0x1e0]
mov edi, 0x88194c
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80000080
mov eax, ecx
mov esi, edi
mov edi, edx
push 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1f4]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp], eax
jne 0x549e0f
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jge 0x549f9b
mov esi, dword [esp + 0x18]
jmp 0x549d20
lea esi, [ebp + 0x101c]
push esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
xor eax, eax
mov dx, word [ebp + 0x102a]
mov ax, word [ebp + 0x1028]
push edx
xor ecx, ecx
mov cx, word [ebp + 0x1026]
xor edx, edx
mov dx, word [ebp + 0x1024]
push eax
push ecx
xor eax, eax
mov ax, word [ebp + 0x1022]
push edx
xor ecx, ecx
xor edx, edx
mov cx, word [ebp + 0x101e]
mov dx, word [esi]
push eax
push ecx
push edx
push 0x5ddcec
lea edi, [ebp + 0x1c]
call fcn.005500f0
add esp, 4
push eax
push edi
call fcn.00550730
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1034]
not ecx
dec ecx
cmp eax, 0x3e7
mov esi, ecx
jne 0x549e93
xor esi, esi
mov eax, dword [ebp + 0x1030]
test eax, eax
je 0x549ed4
test esi, esi
jle 0x549f85
mov edi, 0xffffffe4
lea eax, [ebp + 0x1c]
sub edi, ebp
mov ecx, 2
mov edx, dword [ebp + 0x1030]
add edx, ecx
mov dword [ebp + 0x1030], edx
add dl, 0x43
xor byte [eax], dl
inc eax
lea edx, [edi + eax]
cmp edx, esi
jl 0x549eb4
jmp 0x549f85
xor edi, edi
mov di, word [ebp + 0x102a]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dx, word [ebp + 0x1028]
mov cx, word [ebp + 0x1026]
add eax, edi
push 0
add eax, edx
mov dx, word [ebp + 0x101e]
add ecx, eax
mov ax, word [ebp + 0x1022]
imul eax, edx
mov dx, word [ebp + 0x101c]
imul eax, edx
imul eax, edi
inc eax
xor edx, edx
imul ecx, eax
and ecx, 0xffff
mov edi, 0xa
or ecx, 0x2c000000
mov eax, ecx
div edi
lea eax, [esp + 0x20]
lea edi, [ebp + 0x102c]
push eax
push 4
push edi
mov dword [esp + 0x28], edx
xor edx, 0x55
shl edx, 0x10
or edx, ecx
mov ecx, dword [ebp]
push ecx
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x18]
test esi, esi
mov eax, dword [esp + edx*4 + 0x3c]
mov dword [edi], eax
jle 0x549f85
mov edx, 0xffffffe4
lea eax, [ebp + 0x1c]
sub edx, ebp
mov ecx, dword [edi]
lea ecx, [ecx + ecx*2 + 1]
mov dword [edi], ecx
add cl, 0x76
xor byte [eax], cl
inc eax
lea ecx, [eax + edx]
cmp ecx, esi
jl 0x549f70
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [ebp + 0x1c]
push esi
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push str.Fri_Feb_17_11:24:36_2006
push 0x2f
push 0x5ddc98
call fcn.005500f0
add esp, 4
push eax
push ebp
call fcn.0054b360
mov ecx, dword [esp + 0x1100]
mov edx, dword [ebx + 0x11fc]
add esp, 0x10
push fcn.00549510
push ecx
push edx
push 0x5ddc58
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x14
call fcn.0054c980
call fcn.0054ca60
mov al, byte [ebx + 0x127c]
test al, al
je 0x54a002
push 1
call fcn.0054e5c0
add esp, 4
push 0x251c
mov ecx, ebx
call fcn.0054bce0
test eax, eax
jne 0x54a038
push 0x5ddc3c
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0x73
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0
mov ecx, ebx
call fcn.0054bdf0
test eax, eax
jne 0x54a0d0
push 0x5ddc28
call fcn.00550160
add esp, 4
push eax
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
jne 0x54a07c
pop edi
pop esi
pop ebp
mov eax, 0x6e
pop ebx
add esp, 0x10dc
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x54a09a
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x251c
mov ecx, ebx
call fcn.0054bdf0
test eax, eax
jne 0x54a0bc
pop edi
pop esi
pop ebp
mov eax, 0x6e
pop ebx
add esp, 0x10dc
ret 4
push 0x5ddc08
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
and eax, 0xfff00000
mov dword [esp + 0x18], eax
push 0
push 0
lea eax, [esp + 0x6c]
push 0
push eax
mov dword [esp + 0x74], 0xc
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 1
call esi
test eax, eax
mov dword [ebx + 0x1278], eax
jne 0x54a126
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5ddbe4
jmp 0x54a173
push 0
push 0
lea ecx, [esp + 0x6c]
push 1
push ecx
call esi
test eax, eax
mov dword [ebx + 0x18], eax
jne 0x54a14c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5ddbc0
jmp 0x54a173
push 0
push 0
lea edx, [esp + 0x6c]
push 0
push edx
call esi
test eax, eax
mov dword [ebx + 0x1274], eax
jne 0x54a197
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5ddb9c
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0xab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5ddb94
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
lea eax, [esp + 0xdc]
mov ecx, ebx
push 0x104
push eax
call fcn.0054b6c0
mov edi, 0x5ddd4c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xdc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5ddb80
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00550160
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xe0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xe4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00554935
add esp, 0xc
cmp eax, 0xffffffff
jne 0x54a26f
lea ecx, [esp + 0xdc]
push ecx
push 0x5ddb6c
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0x99
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
lea edx, [esp + 0xdc]
push 1
lea ecx, [ebx + 0x11b4]
push edx
mov byte [esp + 0x1f], 0
call fcn.0054e990
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
jne 0x54a438
mov eax, dword [ebx + 0x11f8]
mov byte [esp + 0x16], 0
cmp eax, 8
jne 0x54a2b5
call esi
cmp eax, 0x80090006
jne 0x54a2b5
mov byte [esp + 0x16], 1
call esi
mov edi, dword [ebx + 0x11f8]
lea eax, [esp + 0xdc]
push eax
call esi
push eax
push edi
push 0x5ddb50
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x14
lea ecx, [esp + 0xdc]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x54a32b
lea edx, [esp + 0xdc]
push edx
call esi
push eax
push 0x5ddb38
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x10
jmp 0x54a399
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0x5ddb28
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
push 2
push 0
push 0xfffffffffffffffc
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x10]
push edx
push 0x5ddb18
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x16]
test al, al
je 0x54a412
mov al, byte [ebx + 0x1269]
test al, al
jne 0x54a3df
call fcn.0054d940
test al, al
je 0x54a3df
lea eax, [esp + 0xdc]
push 1
push eax
lea ecx, [ebx + 0x11b4]
call fcn.0054e990
test al, al
jne 0x54a3f6
cmp dword [ebx + 0x11f8], 8
jne 0x54a3f1
call esi
cmp eax, 0x80090006
jne 0x54a3f1
pop edi
pop esi
pop ebp
mov eax, 0x9b
pop ebx
add esp, 0x10dc
ret 4
mov byte [esp + 0x17], 1
push 0x5ddb00
call fcn.00550160
push eax
push ebp
call fcn.0054b360
mov al, byte [esp + 0x23]
add esp, 0xc
test al, al
je 0x54a438
push 0x5ddadc
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0x7c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5ddad4
call fcn.00550160
push eax
push ebp
call fcn.0054b360
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x84]
mov edx, dword [0x881c90]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov eax, dword [ebx + 0x11fc]
mov dword [esp + 0x2c], ecx
add esp, 0xc
mov dword [esp + 0x24], ecx
mov dword [esp + 0x78], 0x44
mov dword [esp + 0x28], ecx
push edx
mov edx, dword [ebx + 0x1278]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x18]
push eax
push ecx
lea eax, [ebx + 0x1200]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push 0x5ddabc
call fcn.00550160
add esp, 4
lea ecx, [esp + 0x300]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x308]
push edx
push str.cmd:__s
push ebp
call fcn.0054b360
lea eax, [esp + 0x314]
push eax
call fcn.00550050
mov dword [esp + 0x40], eax
lea edi, [esp + 0x318]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0xd1c]
mov edi, ecx
push edi
push str.len:__d
push ebp
call fcn.0054b360
lea eax, [edi + 4]
add esp, 0x3c
test eax, eax
jle 0x54a535
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, byte [edi]
inc edi
push eax
push str.x_02x
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
dec eax
mov dword [esp + 0x1c], eax
jne 0x54a513
lea ecx, [esp + 0xcec]
mov byte [esi], 0
push ecx
push str.enc:__s
push ebp
call fcn.0054b360
add esp, 0xc
lea edx, [esp + 0x20]
lea eax, [esp + 0x78]
lea ecx, [esp + 0xcec]
push edx
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0xfc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x54a5be
lea eax, [esp + 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xe0]
push eax
push ecx
push 0x5dda74
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x14
mov eax, 0xaa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dda6c
call fcn.00550160
push eax
push ebp
call fcn.0054b360
mov edx, dword [ebx + 0x1278]
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x70]
mov dword [esp + 0x30], 0
mov dword [esp + 0x70], edx
push 0xffffffffffffffff
push 0
push ecx
push 2
mov dword [esp + 0x84], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x54a677
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x54a636
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5dda48
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov ecx, dword [esp + 0x30]
push ecx
push 0x5dda24
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dda1c
call fcn.00550160
push eax
push ebp
call fcn.0054b360
lea ecx, [esp + 0x2c]
push ecx
call fcn.0054d3a0
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
mov dword [esp + 0x18], eax
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x3e8]
push 0x104
push ecx
mov ecx, ebx
call fcn.0054b670
mov edi, 0x5ddd4c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5dda10
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x3ec]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x1200]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00550160
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3e8]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x3e8]
push 1
push eax
lea ecx, [ebx + 0x11b4]
call fcn.0054e990
test al, al
jne 0x54a792
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
call esi
push eax
push ebx
push 0x5dd9f8
jmp 0x54aca0
mov ecx, dword [0x5dd5f4]
push ecx
call fcn.00550160
add esp, 4
add eax, 5
lea edx, [esp + 0x4ec]
lea ecx, [ebx + 0x11b4]
push eax
push 0x7ff
lea eax, [esp + 0x3f0]
push edx
push eax
call fcn.0054eda0
test al, al
jne 0x54a804
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
call esi
push eax
push ebx
push 0x5dd9d8
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x10
mov eax, 0x82
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dd9cc
call fcn.005500f0
add esp, 4
lea ecx, [esp + 0x4ec]
lea edx, [esp + 0xbc]
mov esi, eax
push ecx
push 0x20
push edx
push 0x5dd9c0
call fcn.005500f0
add esp, 4
push eax
push 0x5dd9b0
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.005503b0
lea eax, [ebx + 0x1200]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00551b71
add esp, 0x20
test eax, eax
je 0x54a888
push 0x5dd998
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0x8e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
lea ecx, [esp + 0x4ec]
push ecx
push 1
push 0x5dd98c
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
add esp, 0x10
lea edx, [esp + 0x4ec]
mov dword [0x5dd5f8], eax
push edx
push 0x186a0
push 0x5dd97c
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
add esp, 0x10
mov dword [0x881c78], eax
lea eax, [esp + 0x4ec]
push eax
push 0
push 0x5dd96c
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
add esp, 0x10
lea ecx, [esp + 0x4ec]
mov dword [0x881c7c], eax
push ecx
push 0
push 0x5dd95c
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
add esp, 0x10
lea edx, [esp + 0x4ec]
mov dword [esp + 0x1c], eax
push edx
push 0
push 0x5dd950
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
add esp, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4ec]
push eax
push 0
push 0x5dd93c
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
add esp, 0x10
lea ecx, [esp + 0x4ec]
shr eax, 1
not al
push ecx
and al, 1
push 0x3e8
push 0x5dd924
mov byte [ebx + 0x1e], al
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
add esp, 0x10
mov dword [ebx + 0x126c], eax
lea edx, [esp + 0x4ec]
push edx
push 0
push 0x5dd910
call fcn.00550160
add esp, 4
push eax
push esi
call fcn.00550340
mov dword [ebx + 0x1270], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x4fc]
rep stosd dword es:[edi], eax
push 0x5dd908
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0x1c
mov ecx, ebx
push 0x104
push 0x881b60
call fcn.0054b670
mov edi, 0x5ddd4c
or ecx, 0xffffffff
xor eax, eax
push 0x5dd8f8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x881b60
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00550160
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x881b60
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x881ca4]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x54aaf2
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 4]
mov dl, byte [eax + 3]
push ecx
xor ecx, ecx
mov cl, byte [eax + 2]
push edx
push ecx
xor edx, edx
mov dl, byte [eax + 1]
xor ecx, ecx
mov cl, byte [eax]
push edx
push ecx
push 0x5dd8d4
call fcn.00550160
mov edx, dword [0x881ca4]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.0054b360
mov eax, dword [0x881ca4]
add esp, 0x1c
test eax, eax
je 0x54aaf2
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 4]
mov dl, byte [eax + 3]
push ecx
xor ecx, ecx
mov cl, byte [eax + 2]
push edx
push ecx
xor edx, edx
mov dl, byte [eax + 1]
xor ecx, ecx
mov cl, byte [eax]
push edx
push ecx
push 0x5dd8b0
call fcn.00550160
mov edx, dword [0x881ca4]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.0054b360
add esp, 0x1c
push 0x5dd8a8
call fcn.00550160
push eax
push ebp
call fcn.0054b360
push 0
push 0x881b60
call fcn.00554935
add esp, 0x14
cmp eax, 0xffffffff
jne 0x54abce
push 0x104
push 0x881b60
mov ecx, ebx
call fcn.0054b670
mov edi, 0x5ddd4c
or ecx, 0xffffffff
xor eax, eax
push 0x5dd898
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x881b60
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00550160
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, 0x881b60
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x881b60
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00554935
add esp, 0xc
cmp eax, 0xffffffff
jne 0x54abce
push 0x881b60
push 0x5dd87c
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0x9a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 1
push 0x881b60
lea ecx, [ebx + 0x11b4]
call fcn.0054e990
test al, al
jne 0x54ac24
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
push 0x881b60
call esi
push eax
push ebx
push 0x5ddb50
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x14
mov eax, 0x7a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dd874
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
lea ecx, [ebx + 0x105c]
call fcn.0054fa50
test al, al
jne 0x54ac6d
push 0x5dd860
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0xa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dd858
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [esp + 0x1c]
and esi, 0xfff00000
cmp eax, 0x2f
jae 0x54acc4
push 0x2f
push eax
push 0x5dd838
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x10
mov eax, 0x78
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x1278]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7c], 0x44
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x1278]
mov ecx, dword [ebx + 0x1274]
push edx
push eax
lea eax, [ebx + 0x1200]
lea edi, [ebx + 0x105c]
push ecx
push eax
mov ecx, edi
call fcn.0054f7e0
push eax
mov ecx, edi
call fcn.0054f7d0
xor edx, edx
push eax
mov dl, byte [ebx + 0x1269]
mov eax, dword [ebx + 0x11fc]
push edx
push eax
push esi
push 0x5dd810
call fcn.00550160
add esp, 4
lea ecx, [esp + 0x30c]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x314]
push edx
call fcn.00550050
mov dword [esp + 0x40], eax
lea edi, [esp + 0x318]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x30
lea esi, [esp + 0xcec]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + 4]
test eax, eax
jle 0x54adb0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, byte [edi]
inc edi
push eax
push str.x_02x
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
dec eax
mov dword [esp + 0x1c], eax
jne 0x54ad8e
push 0x5dd808
mov byte [esi], 0
call fcn.00550160
push eax
push ebp
call fcn.0054b360
mov eax, dword [0x881c90]
add esp, 0xc
test eax, eax
jne 0x54ae67
mov eax, dword [0x881c94]
test eax, eax
jne 0x54ae67
lea eax, [esp + 0x20]
lea ecx, [esp + 0x78]
push eax
push ecx
push 0
push 0
push 4
push 0
push 0
lea edx, [esp + 0xd08]
push 0
push edx
push 0x881b60
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x54ae4b
lea eax, [esp + 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x881b60
push 0x5dda74
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0x14
mov eax, 0xaa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
mov ecx, dword [esp + 0x28]
push ecx
push 0x5dd7fc
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, dword [0x881c7c]
test eax, eax
mov dword [0x881c8c], eax
jne 0x54ae96
mov edx, dword [esp + 0x18]
push edx
push 0x5dd7e8
push 0x881b60
call fcn.0054d190
add esp, 0xc
and eax, 0xff
mov dword [0x881c8c], eax
push 0x5dd7e0
call fcn.00550160
push eax
push ebp
call fcn.0054b360
lea edi, [ebx + 0x105c]
add esp, 0xc
mov ecx, edi
call fcn.0054fba0
test eax, eax
jne 0x54aeef
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5dd7cc
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0xa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push eax
push 0x5dd79c
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
mov eax, dword [0x881c90]
add esp, 0xc
test eax, eax
jne 0x54af9a
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebx + 0x1274]
mov eax, dword [0x881c78]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x38]
push 0
push ecx
push 2
mov dword [esp + 0x48], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x54afe1
push 0x5dd788
call fcn.00550160
add esp, 4
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x54afb1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x881c78]
mov eax, dword [ebx + 0x1274]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x54afe1
mov ecx, dword [0x881c78]
push ecx
push 0x5dd76c
jmp 0x54afbd
mov eax, dword [0x881c78]
mov ecx, dword [ebx + 0x1274]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x54afe1
mov edx, dword [0x881c78]
push edx
push 0x5dd754
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0x72
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dd744
call fcn.00550160
push eax
push ebp
call fcn.0054b360
mov eax, dword [ebx + 0x1278]
add esp, 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x54b02e
push 0x5dd72c
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0x72
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dd788
call fcn.00550160
add esp, 4
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x54b06a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5dd720
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
jmp 0x54b07e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [0x881c98], ecx
mov dword [0x881c9c], edx
push 0x5dd718
call fcn.00550160
push eax
push ebp
call fcn.0054b360
mov eax, dword [0x881c8c]
add esp, 0xc
test eax, eax
jne 0x54b0ad
pop edi
pop esi
pop ebp
mov eax, 0x7a
pop ebx
add esp, 0x10dc
ret 4
call fcn.0054e630
call fcn.0054cc60
mov esi, eax
test esi, esi
jne 0x54b0ca
push 0xb
push 0x62d
push edi
call fcn.0054bf60
push esi
push 0x5dd700
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
add esp, 0xc
call fcn.0054cfa0
mov esi, eax
test esi, esi
jne 0x54b100
push 0xd
push 0x630
push 0x8b1
mov ecx, edi
call fcn.0054f960
push esi
push 0x5dd6e8
call fcn.00550160
add esp, 4
push eax
push ebp
call fcn.0054b360
mov al, byte [ebx + 0x1e]
add esp, 0xc
test al, al
je 0x54b150
mov ecx, ebx
call fcn.0054b8b0
test al, al
jne 0x54b150
push 0x5dd6cc
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov eax, 0xdc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5dd6c4
call fcn.00550160
push eax
push ebp
call fcn.0054b360
mov eax, dword [ebx + 0x11fc]
add esp, 0xc
mov ecx, edi
push eax
push 0x611
push 0x8b1
call fcn.0054f960
mov ecx, dword [esp + 0x18]
push ecx
push 0x617
push 0x8b1
mov ecx, edi
call fcn.0054f960
push 0x5dd6a4
call fcn.00550160
push eax
push ebp
call fcn.0054b360
add esp, 0xc
mov byte [ebx], 1
pop edi
pop esi
pop ebp
mov eax, 0x755
pop ebx
add esp, 0x10dc
ret 4