Function at 0x5421c0
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.0054d230
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx]
push edi
test al, al
jne 0x543a49
call fcn.00543e40
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 [0x878a4c], eax
lea eax, [ebx + 0x1200]
push 0x20
push ecx
push eax
call fcn.0054b5ff
add esp, 0xc
mov ecx, ebx
mov byte [ebx + 0x121f], 0
push 0x104
push 0x878724
call fcn.00543f10
push 0
push 0x878724
call fcn.0054d1e5
add esp, 8
cmp eax, 0xffffffff
jne 0x542289
push 0
push 0x878724
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x542289
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5d4d00
call fcn.00548a30
add esp, 4
add ebx, 0x20
push eax
push ebx
call fcn.00543c00
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 0x5d4cfc
push 0x878724
call esi
push 0x5d4cec
call fcn.00548a30
add esp, 4
push eax
push 0x878724
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 0x54254a
mov edi, 0x878724
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 0x54236e
cmp byte [0x878725], 0x3a
je 0x54236e
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.0054d17a
add esp, 8
lea edx, [eax + 1]
test eax, eax
jne 0x542375
lea edx, [esp + 0x1e0]
mov edi, 0x878724
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 0x54254a
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 0x5d4c9c
lea edi, [ebp + 0x1c]
call fcn.005489c0
add esp, 4
push eax
push edi
call fcn.00548ff0
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 0x542447
xor esi, esi
mov eax, dword [ebp + 0x1030]
test eax, eax
je 0x54248e
test esi, esi
jle 0x54253f
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 0x542468
push 0
lea edx, [esp + 0x14]
jmp 0x54282b
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 0x54253f
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 0x54252a
push 0
lea edx, [esp + 0x14]
jmp 0x54282b
push 0x2e
push 0x878724
call fcn.0054d17a
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x18], esi
je 0x54283b
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 0x5d4c90
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548ff0
mov eax, dword [ebp]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x542694
mov edi, 0x878724
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 0x542643
cmp byte [0x878725], 0x3a
je 0x542643
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.0054d17a
add esp, 8
lea edx, [eax + 1]
test eax, eax
jne 0x54264a
lea edx, [esp + 0x1e0]
mov edi, 0x878724
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 0x5426af
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jge 0x54283b
mov esi, dword [esp + 0x18]
jmp 0x5425c0
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 0x5d4c9c
lea edi, [ebp + 0x1c]
call fcn.005489c0
add esp, 4
push eax
push edi
call fcn.00548ff0
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 0x542733
xor esi, esi
mov eax, dword [ebp + 0x1030]
test eax, eax
je 0x542774
test esi, esi
jle 0x542825
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 0x542754
jmp 0x542825
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 0x542825
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 0x542810
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 0x5d4c48
call fcn.005489c0
add esp, 4
push eax
push ebp
call fcn.00543c00
mov ecx, dword [esp + 0x1100]
mov edx, dword [ebx + 0x11fc]
add esp, 0x10
push fcn.00541db0
push ecx
push edx
push 0x5d4c08
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0x14
call fcn.00545240
call fcn.00545320
mov al, byte [ebx + 0x127c]
test al, al
je 0x5428a2
push 1
call fcn.00546e80
add esp, 4
push 0x251c
mov ecx, ebx
call fcn.005445a0
test eax, eax
jne 0x5428d8
push 0x5d4bec
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
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.005446b0
test eax, eax
jne 0x542970
push 0x5d4bd8
call fcn.00548a30
add esp, 4
push eax
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
jne 0x54291c
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 0x54293a
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.005446b0
test eax, eax
jne 0x54295c
pop edi
pop esi
pop ebp
mov eax, 0x6e
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4bb8
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
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 0x5429c6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5d4b94
jmp 0x542a13
push 0
push 0
lea ecx, [esp + 0x6c]
push 1
push ecx
call esi
test eax, eax
mov dword [ebx + 0x18], eax
jne 0x5429ec
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5d4b70
jmp 0x542a13
push 0
push 0
lea edx, [esp + 0x6c]
push 0
push edx
call esi
test eax, eax
mov dword [ebx + 0x1274], eax
jne 0x542a37
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5d4b4c
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0xab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4b44
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
lea eax, [esp + 0xdc]
mov ecx, ebx
push 0x104
push eax
call fcn.00543f60
mov edi, 0x5d4cfc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xdc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5d4b30
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.00548a30
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.0054d1e5
add esp, 0xc
cmp eax, 0xffffffff
jne 0x542b0f
lea ecx, [esp + 0xdc]
push ecx
push 0x5d4b1c
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
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.00547260
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
jne 0x542cd8
mov eax, dword [ebx + 0x11f8]
mov byte [esp + 0x16], 0
cmp eax, 8
jne 0x542b55
call esi
cmp eax, 0x80090006
jne 0x542b55
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 0x5d4b00
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0x14
lea ecx, [esp + 0xdc]
push 0
push 0x80
push 3
push 0
push 3
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x542bcb
lea edx, [esp + 0xdc]
push edx
call esi
push eax
push 0x5d4ae8
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0x10
jmp 0x542c39
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0x5d4ad8
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
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 0x5d4ac8
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x16]
test al, al
je 0x542cb2
mov al, byte [ebx + 0x1269]
test al, al
jne 0x542c7f
call fcn.00546200
test al, al
je 0x542c7f
lea eax, [esp + 0xdc]
push 1
push eax
lea ecx, [ebx + 0x11b4]
call fcn.00547260
test al, al
jne 0x542c96
cmp dword [ebx + 0x11f8], 8
jne 0x542c91
call esi
cmp eax, 0x80090006
jne 0x542c91
pop edi
pop esi
pop ebp
mov eax, 0x9b
pop ebx
add esp, 0x10dc
ret 4
mov byte [esp + 0x17], 1
push 0x5d4ab0
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
mov al, byte [esp + 0x23]
add esp, 0xc
test al, al
je 0x542cd8
push 0x5d4a8c
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0x7c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4a84
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x84]
mov edx, dword [0x878a68]
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 0x5d4a6c
call fcn.00548a30
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.00543c00
lea eax, [esp + 0x314]
push eax
call fcn.00548920
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.00543c00
lea eax, [edi + 4]
add esp, 0x3c
test eax, eax
jle 0x542dd5
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 0x542db3
lea ecx, [esp + 0xcec]
mov byte [esi], 0
push ecx
push str.enc:__s
push ebp
call fcn.00543c00
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 0x542e5e
lea eax, [esp + 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xe0]
push eax
push ecx
push 0x5d4a24
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0x14
mov eax, 0xaa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4a1c
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
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 0x542f17
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x542ed6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5d49f8
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov ecx, dword [esp + 0x30]
push ecx
push 0x5d49d4
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
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 0x5d49cc
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
lea ecx, [esp + 0x2c]
push ecx
call fcn.00545c60
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.00543f10
mov edi, 0x5d4cfc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5d49c0
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.00548a30
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.00547260
test al, al
jne 0x543032
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
call esi
push eax
push ebx
push 0x5d49a8
jmp 0x543540
mov ecx, dword [0x5d45a4]
push ecx
call fcn.00548a30
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.00547670
test al, al
jne 0x5430a4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
call esi
push eax
push ebx
push 0x5d4988
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0x10
mov eax, 0x82
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d497c
call fcn.005489c0
add esp, 4
lea ecx, [esp + 0x4ec]
lea edx, [esp + 0xbc]
mov esi, eax
push ecx
push 0x20
push edx
push 0x5d4970
call fcn.005489c0
add esp, 4
push eax
push 0x5d4960
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c80
lea eax, [ebx + 0x1200]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0054a41e
add esp, 0x20
test eax, eax
je 0x543128
push 0x5d4948
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
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 0x5d493c
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
add esp, 0x10
lea edx, [esp + 0x4ec]
mov dword [0x5d45a8], eax
push edx
push 0x186a0
push 0x5d492c
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
add esp, 0x10
mov dword [0x878a50], eax
lea eax, [esp + 0x4ec]
push eax
push 0
push 0x5d491c
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
add esp, 0x10
lea ecx, [esp + 0x4ec]
mov dword [0x878a54], eax
push ecx
push 0
push 0x5d490c
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
add esp, 0x10
lea edx, [esp + 0x4ec]
mov dword [esp + 0x1c], eax
push edx
push 0
push 0x5d4900
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
add esp, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4ec]
push eax
push 0
push 0x5d48ec
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
add esp, 0x10
lea ecx, [esp + 0x4ec]
shr eax, 1
not al
push ecx
and al, 1
push 0x3e8
push 0x5d48d4
mov byte [ebx + 0x1e], al
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
add esp, 0x10
mov dword [ebx + 0x126c], eax
lea edx, [esp + 0x4ec]
push edx
push 0
push 0x5d48c0
call fcn.00548a30
add esp, 4
push eax
push esi
call fcn.00548c10
mov dword [ebx + 0x1270], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x4fc]
rep stosd dword es:[edi], eax
push 0x5d48b8
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0x1c
mov ecx, ebx
push 0x104
push 0x878938
call fcn.00543f10
mov edi, 0x5d4cfc
or ecx, 0xffffffff
xor eax, eax
push 0x5d48a8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x878938
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.00548a30
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, 0x878938
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 [0x878a7c]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x543392
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 0x5d4884
call fcn.00548a30
mov edx, dword [0x878a7c]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.00543c00
mov eax, dword [0x878a7c]
add esp, 0x1c
test eax, eax
je 0x543392
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 0x5d4860
call fcn.00548a30
mov edx, dword [0x878a7c]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.00543c00
add esp, 0x1c
push 0x5d4858
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
push 0
push 0x878938
call fcn.0054d1e5
add esp, 0x14
cmp eax, 0xffffffff
jne 0x54346e
push 0x104
push 0x878938
mov ecx, ebx
call fcn.00543f10
mov edi, 0x5d4cfc
or ecx, 0xffffffff
xor eax, eax
push 0x5d4848
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x878938
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.00548a30
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, 0x878938
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 0x878938
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0054d1e5
add esp, 0xc
cmp eax, 0xffffffff
jne 0x54346e
push 0x878938
push 0x5d482c
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0x9a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 1
push 0x878938
lea ecx, [ebx + 0x11b4]
call fcn.00547260
test al, al
jne 0x5434c4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
push 0x878938
call esi
push eax
push ebx
push 0x5d4b00
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0x14
mov eax, 0x7a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4824
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
lea ecx, [ebx + 0x105c]
call fcn.00548320
test al, al
jne 0x54350d
push 0x5d4810
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0xa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4808
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
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 0x543564
push 0x2f
push eax
push 0x5d47e8
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
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.005480b0
push eax
mov ecx, edi
call fcn.005480a0
xor edx, edx
push eax
mov dl, byte [ebx + 0x1269]
mov eax, dword [ebx + 0x11fc]
push edx
push eax
push esi
push 0x5d47c0
call fcn.00548a30
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.00548920
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 0x543650
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 0x54362e
push 0x5d47b8
mov byte [esi], 0
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
mov eax, dword [0x878a68]
add esp, 0xc
test eax, eax
jne 0x543707
mov eax, dword [0x878a6c]
test eax, eax
jne 0x543707
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 0x878938
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x5436eb
lea eax, [esp + 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x878938
push 0x5d4a24
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
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 0x5d47ac
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, dword [0x878a54]
test eax, eax
mov dword [0x878a64], eax
jne 0x543736
mov edx, dword [esp + 0x18]
push edx
push 0x5d4798
push 0x878938
call fcn.00545a50
add esp, 0xc
and eax, 0xff
mov dword [0x878a64], eax
push 0x5d4790
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
lea edi, [ebx + 0x105c]
add esp, 0xc
mov ecx, edi
call fcn.00548470
test eax, eax
jne 0x54378f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5d477c
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0xa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push eax
push 0x5d474c
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
mov eax, dword [0x878a68]
add esp, 0xc
test eax, eax
jne 0x54383a
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebx + 0x1274]
mov eax, dword [0x878a50]
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 0x543881
push 0x5d4738
call fcn.00548a30
add esp, 4
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x543851
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x878a50]
mov eax, dword [ebx + 0x1274]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x543881
mov ecx, dword [0x878a50]
push ecx
push 0x5d471c
jmp 0x54385d
mov eax, dword [0x878a50]
mov ecx, dword [ebx + 0x1274]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x543881
mov edx, dword [0x878a50]
push edx
push 0x5d4704
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0x72
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d46f4
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
mov eax, dword [ebx + 0x1278]
add esp, 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5438ce
push 0x5d46dc
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0x72
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4738
call fcn.00548a30
add esp, 4
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x54390a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5d46d0
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
jmp 0x54391e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [0x878a70], ecx
mov dword [0x878a74], edx
push 0x5d46c8
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
mov eax, dword [0x878a64]
add esp, 0xc
test eax, eax
jne 0x54394d
pop edi
pop esi
pop ebp
mov eax, 0x7a
pop ebx
add esp, 0x10dc
ret 4
call fcn.00546ef0
call fcn.00545520
mov esi, eax
test esi, esi
jne 0x54396a
push 0xb
push 0x62d
push edi
call fcn.00544820
push esi
push 0x5d46b0
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
add esp, 0xc
call fcn.00545860
mov esi, eax
test esi, esi
jne 0x5439a0
push 0xd
push 0x630
push 0x8b1
mov ecx, edi
call fcn.00548230
push esi
push 0x5d4698
call fcn.00548a30
add esp, 4
push eax
push ebp
call fcn.00543c00
mov al, byte [ebx + 0x1e]
add esp, 0xc
test al, al
je 0x5439f0
mov ecx, ebx
call fcn.00544170
test al, al
jne 0x5439f0
push 0x5d467c
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov eax, 0xdc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5d4674
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
mov eax, dword [ebx + 0x11fc]
add esp, 0xc
mov ecx, edi
push eax
push 0x611
push 0x8b1
call fcn.00548230
mov ecx, dword [esp + 0x18]
push ecx
push 0x617
push 0x8b1
mov ecx, edi
call fcn.00548230
push 0x5d4654
call fcn.00548a30
push eax
push ebp
call fcn.00543c00
add esp, 0xc
mov byte [ebx], 1
pop edi
pop esi
pop ebp
mov eax, 0x755
pop ebx
add esp, 0x10dc
ret 4