Function at 0x546e20
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.00561be0
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx]
push edi
test al, al
jne 0x5486fc
call fcn.00548af0
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 [0x887f64], eax
lea eax, [ebx + 0x1200]
push 0x20
push ecx
push eax
call fcn.00560c6d
add esp, 0xc
mov ecx, ebx
mov byte [ebx + 0x121f], 0
push 0x104
push 0x887c3c
call fcn.00548bc0
push 0
push 0x887c3c
call fcn.00561fe6
add esp, 8
cmp eax, 0xffffffff
jne 0x546ee9
push 0
push 0x887c3c
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x546ee9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5e5790
call fcn.0054d6e0
add esp, 4
add ebx, 0x20
push eax
push ebx
call fcn.005488b0
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 0x5e578c
push 0x887c3c
call esi
push 0x5e577c
call fcn.0054d6e0
add esp, 4
push eax
push 0x887c3c
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 0x5471aa
mov edi, 0x887c3c
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 0x546fce
cmp byte [0x887c3d], 0x3a
je 0x546fce
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.00561f7b
add esp, 8
lea edx, [eax + 1]
test eax, eax
jne 0x546fd5
lea edx, [esp + 0x1e0]
mov edi, 0x887c3c
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 0x5471aa
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 0x5e572c
lea edi, [ebp + 0x1c]
call fcn.0054d670
add esp, 4
push eax
push edi
call fcn.0055e68c
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 0x5470a7
xor esi, esi
mov eax, dword [ebp + 0x1030]
test eax, eax
je 0x5470ee
test esi, esi
jle 0x54719f
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 0x5470c8
push 0
lea edx, [esp + 0x14]
jmp 0x54748b
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 0x54719f
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 0x54718a
push 0
lea edx, [esp + 0x14]
jmp 0x54748b
push 0x2e
push 0x887c3c
call fcn.00561f7b
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x18], esi
je 0x54749b
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 0x5e5720
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0055e68c
mov eax, dword [ebp]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5472f4
mov edi, 0x887c3c
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 0x5472a3
cmp byte [0x887c3d], 0x3a
je 0x5472a3
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.00561f7b
add esp, 8
lea edx, [eax + 1]
test eax, eax
jne 0x5472aa
lea edx, [esp + 0x1e0]
mov edi, 0x887c3c
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 0x54730f
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jge 0x54749b
mov esi, dword [esp + 0x18]
jmp 0x547220
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 0x5e572c
lea edi, [ebp + 0x1c]
call fcn.0054d670
add esp, 4
push eax
push edi
call fcn.0055e68c
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 0x547393
xor esi, esi
mov eax, dword [ebp + 0x1030]
test eax, eax
je 0x5473d4
test esi, esi
jle 0x547485
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 0x5473b4
jmp 0x547485
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 0x547485
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 0x547470
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.Wed_May__3_17:31:35_2006
push 0x2f
push 0x5e56d8
call fcn.0054d670
add esp, 4
push eax
push ebp
call fcn.005488b0
mov ecx, dword [esp + 0x1100]
mov edx, dword [ebx + 0x11fc]
add esp, 0x10
push fcn.00546a10
push ecx
push edx
push 0x5e5698
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0x14
call fcn.00549f00
call fcn.00549fe0
mov al, byte [ebx + 0x127c]
test al, al
je 0x547502
push 1
call fcn.0054bb40
add esp, 4
push 0x251c
mov ecx, ebx
call fcn.00549250
test eax, eax
jne 0x54753b
push 0x5e567c
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
mov eax, 0x73
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0
mov ecx, ebx
call fcn.00549360
test eax, eax
jne 0x5475d6
push 0x5e5668
call fcn.0054d6e0
add esp, 4
push eax
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
jne 0x54757f
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 0x54759d
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.00549360
test eax, eax
jne 0x5475bf
pop edi
pop esi
pop ebp
mov eax, 0x6e
pop ebx
add esp, 0x10dc
ret 4
push 0x5e5648
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
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 0x54762c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5e5624
jmp 0x547679
push 0
push 0
lea ecx, [esp + 0x6c]
push 1
push ecx
call esi
test eax, eax
mov dword [ebx + 0x18], eax
jne 0x547652
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5e5600
jmp 0x547679
push 0
push 0
lea edx, [esp + 0x6c]
push 0
push edx
call esi
test eax, eax
mov dword [ebx + 0x1274], eax
jne 0x54769d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5e55dc
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
mov eax, 0xab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e55d4
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
lea eax, [esp + 0xdc]
mov ecx, ebx
push 0x104
push eax
call fcn.00548c10
mov edi, 0x5e578c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xdc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5e55c0
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.0054d6e0
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.00561fe6
add esp, 0xc
cmp eax, 0xffffffff
jne 0x547778
lea ecx, [esp + 0xdc]
push ecx
push 0x5e55ac
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
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.0054bf10
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
jne 0x547947
mov eax, dword [ebx + 0x11f8]
mov byte [esp + 0x16], 0
cmp eax, 8
jne 0x5477be
call esi
cmp eax, 0x80090006
jne 0x5477be
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 0x5e5590
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
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 0x547834
lea edx, [esp + 0xdc]
push edx
call esi
push eax
push 0x5e5578
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0x10
jmp 0x5478a2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0x5e5568
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
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 0x5e5558
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x16]
test al, al
je 0x54791e
mov al, byte [ebx + 0x1269]
test al, al
jne 0x5478e8
call fcn.0054aec0
test al, al
je 0x5478e8
lea eax, [esp + 0xdc]
push 1
push eax
lea ecx, [ebx + 0x11b4]
call fcn.0054bf10
test al, al
jne 0x5478ff
cmp dword [ebx + 0x11f8], 8
jne 0x5478fa
call esi
cmp eax, 0x80090006
jne 0x5478fa
pop edi
pop esi
pop ebp
mov eax, 0x9b
pop ebx
add esp, 0x10dc
ret 4
mov byte [esp + 0x17], 1
push 0x5e5540
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov al, byte [esp + 0x1f]
add esp, 8
test al, al
je 0x547947
push 0x5e551c
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
mov eax, 0x7c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e5514
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x80]
mov edx, dword [0x887f80]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov eax, dword [ebx + 0x11fc]
mov dword [esp + 0x28], ecx
add esp, 8
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 0x5e54fc
call fcn.0054d6e0
add esp, 4
lea ecx, [esp + 0x300]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea edx, [esp + 0x2e8]
push edx
push str.cmd:__s
push ebp
call fcn.005488b0
lea eax, [esp + 0x2f4]
push eax
call fcn.0054d5d0
mov dword [esp + 0x20], eax
lea edi, [esp + 0x2f8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
lea esi, [esp + 0xcec]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
push edi
push str.len:__d
push ebp
call fcn.005488b0
lea eax, [edi + 4]
add esp, 0xc
test eax, eax
jle 0x547a4d
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 0x547a2b
lea ecx, [esp + 0xcec]
mov byte [esi], 0
push ecx
push str.enc:__s
push ebp
call fcn.005488b0
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 0x547ada
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
lea eax, [esp + 0x2e8]
push eax
call esi
lea ecx, [esp + 0xe0]
push eax
push ecx
push 0x5e54b4
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0x14
mov eax, 0xaa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e54ac
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov edx, dword [ebx + 0x1278]
mov eax, dword [esp + 0x28]
add esp, 8
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 0x547b96
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x547b55
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e5488
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
mov ecx, dword [esp + 0x30]
push ecx
push 0x5e5464
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
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 0x5e545c
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
lea ecx, [esp + 0x28]
push ecx
call fcn.0054a920
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
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.00548bc0
mov edi, 0x5e578c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5e5450
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.0054d6e0
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.0054bf10
test al, al
jne 0x547cb4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
call esi
push eax
push ebx
push 0x5e5438
jmp 0x5481d4
mov ecx, dword [0x5e5034]
push ecx
call fcn.0054d6e0
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.0054c320
test al, al
jne 0x547d26
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
call esi
push eax
push ebx
push 0x5e5418
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0x10
mov eax, 0x82
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e540c
call fcn.0054d670
add esp, 4
lea ecx, [esp + 0x4ec]
lea edx, [esp + 0xbc]
mov esi, eax
push ecx
push 0x20
push edx
push 0x5e5400
call fcn.0054d670
add esp, 4
push eax
push 0x5e53f0
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d930
lea eax, [ebx + 0x1200]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0055fabe
add esp, 0x20
test eax, eax
je 0x547dad
push 0x5e53d8
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
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 0x5e53cc
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
add esp, 0x10
lea edx, [esp + 0x4ec]
mov dword [0x5e5038], eax
push edx
push 0x186a0
push 0x5e53bc
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
add esp, 0x10
mov dword [0x887f68], eax
lea eax, [esp + 0x4ec]
push eax
push 0
push 0x5e53ac
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
add esp, 0x10
lea ecx, [esp + 0x4ec]
mov dword [0x887f6c], eax
push ecx
push 0
push 0x5e539c
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
add esp, 0x10
lea edx, [esp + 0x4ec]
mov dword [esp + 0x1c], eax
push edx
push 0
push 0x5e5390
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
add esp, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4ec]
push eax
push 0
push 0x5e537c
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
add esp, 0x10
lea ecx, [esp + 0x4ec]
shr eax, 1
not al
push ecx
and al, 1
push 0x3e8
push 0x5e5364
mov byte [ebx + 0x1e], al
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
add esp, 0x10
mov dword [ebx + 0x126c], eax
lea edx, [esp + 0x4ec]
push edx
push 0
push 0x5e5350
call fcn.0054d6e0
add esp, 4
push eax
push esi
call fcn.0054d8c0
mov dword [ebx + 0x1270], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x4fc]
rep stosd dword es:[edi], eax
push 0x5e5348
call fcn.0054d6e0
add esp, 0x14
push eax
push ebp
call fcn.005488b0
add esp, 8
mov ecx, ebx
push 0x104
push 0x887e50
call fcn.00548bc0
mov edi, 0x5e578c
or ecx, 0xffffffff
xor eax, eax
push 0x5e5338
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x887e50
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.0054d6e0
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, 0x887e50
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 [0x887f94]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x54801a
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 0x5e5314
call fcn.0054d6e0
mov edx, dword [0x887f94]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.005488b0
mov eax, dword [0x887f94]
add esp, 0x1c
test eax, eax
je 0x54801a
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 0x5e52f0
call fcn.0054d6e0
mov edx, dword [0x887f94]
add esp, 4
add edx, 0x20
push eax
push edx
call fcn.005488b0
add esp, 0x1c
push 0x5e52e8
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
push 0
push 0x887e50
call fcn.00561fe6
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5480f9
push 0x104
push 0x887e50
mov ecx, ebx
call fcn.00548bc0
mov edi, 0x5e578c
or ecx, 0xffffffff
xor eax, eax
push 0x5e52d8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x887e50
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.0054d6e0
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, 0x887e50
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 0x887e50
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00561fe6
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5480f9
push 0x887e50
push 0x5e52bc
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
mov eax, 0x9a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 1
push 0x887e50
lea ecx, [ebx + 0x11b4]
call fcn.0054bf10
test al, al
jne 0x54814f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, dword [ebx + 0x11f8]
push 0x887e50
call esi
push eax
push ebx
push 0x5e5590
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0x14
mov eax, 0x7a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e52b4
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
lea ecx, [ebx + 0x105c]
call fcn.0054cfd0
test al, al
jne 0x54819e
push 0x5e52a0
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
mov eax, 0xa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e5298
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [esp + 0x1c]
and esi, 0xfff00000
cmp eax, 0x2f
jae 0x5481f8
push 0x2f
push eax
push 0x5e5278
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
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.0054cd60
push eax
mov ecx, edi
call fcn.0054cd50
xor edx, edx
push eax
mov dl, byte [ebx + 0x1269]
mov eax, dword [ebx + 0x11fc]
push edx
push eax
push esi
push 0x5e5250
call fcn.0054d6e0
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.0054d5d0
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 0x5482e4
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 0x5482c2
push 0x5e5248
mov byte [esi], 0
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov eax, dword [0x887f80]
add esp, 8
test eax, eax
jne 0x5483a2
mov eax, dword [0x887f84]
test eax, eax
jne 0x5483a2
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 0x887e50
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x548386
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
lea eax, [esp + 0x2e8]
push eax
call esi
push eax
push 0x887e50
push 0x5e54b4
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
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 0x5e523c
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
mov eax, dword [0x887f6c]
test eax, eax
mov dword [0x887f7c], eax
jne 0x5483d1
mov edx, dword [esp + 0x18]
push edx
push 0x5e5228
push 0x887e50
call fcn.0054a710
add esp, 0xc
and eax, 0xff
mov dword [0x887f7c], eax
push 0x5e5220
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
lea edi, [ebx + 0x105c]
add esp, 8
mov ecx, edi
call fcn.0054d120
test eax, eax
jne 0x54842d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x5e520c
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
mov eax, 0xa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push eax
push 0x5e51dc
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov eax, dword [0x887f80]
add esp, 0xc
test eax, eax
jne 0x5484d8
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebx + 0x1274]
mov eax, dword [0x887f68]
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 0x54851f
push 0x5e51c8
call fcn.0054d6e0
add esp, 4
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x5484ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x887f68]
mov eax, dword [ebx + 0x1274]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x54851f
mov ecx, dword [0x887f68]
push ecx
push 0x5e51ac
jmp 0x5484fb
mov eax, dword [0x887f68]
mov ecx, dword [ebx + 0x1274]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x54851f
mov edx, dword [0x887f68]
push edx
push 0x5e5194
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
mov eax, 0x72
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e5184
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov eax, dword [ebx + 0x1278]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x548572
push 0x5e516c
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
mov eax, 0x72
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e51c8
call fcn.0054d6e0
add esp, 4
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
je 0x5485b1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5e5160
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
jmp 0x5485c5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [0x887f88], ecx
mov dword [0x887f8c], edx
push 0x5e5158
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov eax, dword [0x887f7c]
add esp, 8
test eax, eax
jne 0x5485f7
pop edi
pop esi
pop ebp
mov eax, 0x7a
pop ebx
add esp, 0x10dc
ret 4
call fcn.0054bbb0
call fcn.0054a1e0
mov esi, eax
test esi, esi
jne 0x548614
push 0xb
push 0x62d
push edi
call fcn.005494d0
push esi
push 0x5e5140
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 0xc
call fcn.0054a520
mov esi, eax
test esi, esi
jne 0x54864a
push 0xd
push 0x630
push 0x8b1
mov ecx, edi
call fcn.0054cee0
push esi
push 0x5e5128
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov al, byte [ebx + 0x1e]
add esp, 0xc
test al, al
je 0x54869d
mov ecx, ebx
call fcn.00548e10
test al, al
jne 0x54869d
push 0x5e510c
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
mov eax, 0xdc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10dc
ret 4
push 0x5e5104
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
mov eax, dword [ebx + 0x11fc]
add esp, 8
mov ecx, edi
push eax
push 0x611
push 0x8b1
call fcn.0054cee0
mov ecx, dword [esp + 0x18]
push ecx
push 0x617
push 0x8b1
mov ecx, edi
call fcn.0054cee0
push 0x5e50e4
call fcn.0054d6e0
add esp, 4
push eax
push ebp
call fcn.005488b0
add esp, 8
mov byte [ebx], 1
pop edi
pop esi
pop ebp
mov eax, 0x755
pop ebx
add esp, 0x10dc
ret 4