Function at 0x402671
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
push dword [ebp + 8]
call dword [0x42b3dd]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4026d0
push 0x24
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
je 0x4026e7
mov eax, 0
jmp 0x402a4e
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402717
push 0x72
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x40272b
mov eax, 0
jmp 0x402a4e
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402761
push 0x100
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402778
mov eax, 0
jmp 0x402a4e
mov dword [ebp - 0x1c], esp
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4027a6
push 0x274
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0x428456
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4027da
push 0x274
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00423d10
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x428465
push dword [ebp - 0x2c]
push 0x428475
mov ecx, 3
call fcn.004010d7
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402824
push ebx
call fcn.004234ea
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402838
push ebx
call fcn.004234ea
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.00402a66
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40288b
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402881
push 0x36a
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov eax, 0
jmp 0x402a4e
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4028d8
push 0x3bb
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x402954
mov dword [ebp - 0x1c], esp
push 0x8000
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40291e
push 0x43e
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40294a
push 0x471
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov eax, 0
jmp 0x402a4e
mov dword [ebp - 0x1c], esp
push 0xffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402985
push 0x4a9
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4029b5
push 0x4cc
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x1c], esp
push 0x8000
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4029ee
push 0x4ed
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402a1a
push 0x520
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402a46
push 0x53a
push 0x4010857
push 6
call fcn.004234de
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x402a4e
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402a5f
push ebx
call fcn.004234ea
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4