Function at 0x402839
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402876
mov eax, 0x4812d5
push eax
push 3
mov ebx, 0x270
call fcn.0045da90
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4029ce
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0045db70
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4028c7
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x244
call fcn.0045d780
add esp, 0x10
call fcn.004017e4
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4028f7
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40290b
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x23c
call fcn.0045d790
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40292e
push ebx
call fcn.00458ae8
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4029a9
push 6
call fcn.00458aee
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029b9
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4029c9
push ebx
call fcn.00458ae8
add esp, 4
jmp 0x402ad3
push dword [ebp + 8]
call fcn.00402675
and eax, 1
xor eax, 1
test eax, eax
je 0x402a38
call fcn.004017e4
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402a01
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402a15
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x23c
call fcn.0045d790
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a38
push ebx
call fcn.00458ae8
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d2c0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402ab3
push 6
call fcn.00458aee
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402ac3
push ebx
call fcn.00458ae8
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402ad3
push ebx
call fcn.00458ae8
add esp, 4
push 0x6d9489
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4