Function at 0x42d760
Capabilities:
Create thread
Resolve function by parsing pe exports
Resume thread

Disassembly:
sub esp, 0x188
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x1a4]
push ebx
push ebp
mov ebp, dword [esp + 0x198]
push esi
mov esi, dword [esp + 0x1ac]
push edi
xor ebx, ebx
push 0x40
mov dword [esp + 0x40], eax
xor eax, eax
lea edx, [esp + 0x54]
push ebx
push edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ebx
call fcn.005dfd60
add esp, 0xc
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], ebx
call fcn.00503120
push ebx
push ebx
push ebx
push ebx
push ebx
mov edi, eax
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004d9f10
push 0x44
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov dword [esp + 0x48], 0xffffffff
mov byte [esp + 0xc8], bl
mov dword [esp + 0x58], ebx
call fcn.005dfd60
mov eax, dword [esp + 0x1e0]
xor edx, edx
mov ecx, 1
add esp, 0x38
sub eax, ecx
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov word [esp + 0x7e], dx
mov dword [esp + 0x80], ebx
je 0x42d87e
sub eax, ecx
je 0x42d871
sub eax, ecx
jne 0x42d88c
mov eax, 6
mov word [esp + 0x7c], ax
jmp 0x42d888
mov dword [esp + 0x78], ecx
xor ecx, ecx
mov word [esp + 0x7c], cx
jmp 0x42d88c
mov edx, 5
mov word [esp + 0x7c], dx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x1ac]
cmp eax, 0xffffffff
je 0x42d89c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x42d8ae
cmp byte [esi], bl
je 0x42d8ae
mov dword [esp + 0x14], esi
jmp 0x42d8d3
lea eax, [esp + 0x90]
push eax
push ebp
call fcn.004ec840
add esp, 8
cmp byte [esp + 0x90], bl
je 0x42d8d3
lea ecx, [esp + 0x90]
mov dword [esp + 0x14], ecx
cmp edi, ebx
jne 0x42d93a
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [esp + 0x1c], ebx
je 0x42d8f1
push ebx
lea edx, [esp + 0x44]
push edx
push ebx
push 0x2000
call edi
cmp dword [esp + 0x24], ebx
jne 0x42d906
cmp dword [esp + 0x38], ebx
jne 0x42d906
cmp dword [esp + 0x1a4], ebx
je 0x42d93a
call fcn.004f9a60
mov esi, eax
cmp esi, 1
je 0x42d93a
call fcn.004d99e0
test eax, eax
je 0x42d920
cmp esi, 1
jbe 0x42d93a
cmp dword [esp + 0x1c], ebx
je 0x42d931
push 3
push ebx
push ebx
push 0x2001
call edi
push ebx
call fcn.004dba40
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x42d963
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
push edx
push ebx
push 4
push ebx
push ebx
push ebx
push ebp
push ebx
call fcn.004d87f0
add esp, 0x28
jmp 0x42d983
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x50]
push edx
push ecx
push ebx
push 4
push ebx
push ebx
push ebx
push ebp
push ebx
push eax
call fcn.004d8890
add esp, 0x2c
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
mov dword [esp + 0x10], 0x103
cmp esi, ebx
jne 0x42d9a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
jmp 0x42d9b9
push 0x118
mov dword [esp + 0x18], ebx
call edi
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [esp + 0x1ac], 0xffffffff
je 0x42d9d0
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4]
add eax, eax
mov dword [esp + 0x18], eax
cmp esi, 1
jne 0x42da05
cmp dword [esp + 0x1b8], esi
jne 0x42da0d
mov ecx, dword [esp + 0x30]
push ecx
push ebx
push 0x4e9010
call fcn.005e07ac
mov ebp, dword [esp + 0x1b0]
add esp, 0xc
cmp ebp, ebx
jne 0x42da14
push 0x32
call edi
jmp 0x42da9f
cmp esi, ebx
je 0x42dace
mov ebp, dword [esp + 0x1a4]
cmp ebp, 1
jne 0x42da5f
mov esi, 0x103
cmp dword [esp + 0x10], esi
jne 0x42da9f
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ebx, [ebx]
push 0x64
call edi
cmp dword [esp + 0x1ac], 0xffffffff
je 0x42da4b
cmp dword [esp + 0x18], ebx
jle 0x42da4b
sub dword [esp + 0x18], 1
je 0x42da9f
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
push eax
call ebp
cmp dword [esp + 0x10], esi
je 0x42da30
jmp 0x42da9f
jle 0x42da9f
cmp dword [esp + 0x10], 0x103
jne 0x42da93
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp ebp, ebx
je 0x42da97
push 0x3e8
call edi
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
push edx
call esi
dec ebp
cmp dword [esp + 0x10], 0x103
je 0x42da71
cmp ebp, ebx
jne 0x42da9f
mov dword [esp + 0x20], 1
lea eax, [esp + 0x2c]
push eax
call fcn.004dca10
lea ecx, [esp + 0x28]
push ecx
call fcn.004dca10
cmp dword [esp + 0x20], 1
jne 0x42dace
push 0x61bcc0
call fcn.0050c680
add esp, 4
mov ecx, 6
jmp 0x42dad2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
cmp eax, ebx
pop ebx
je 0x42dae0
mov dword [eax], ecx
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 4]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x188
ret 0x20