Function at 0x402743
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 0x402780
mov eax, 0x46a225
push eax
push 3
mov ebx, 0x270
call fcn.0045e780
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4028d8
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0045e860
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4027d1
mov eax, 0x46a225
push eax
push 1
mov ebx, 0x244
call fcn.0045e470
add esp, 0x10
call fcn.004017f4
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 0x402801
mov eax, 0x46a225
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402815
mov eax, 0x46a225
push eax
push 2
mov ebx, 0x23c
call fcn.0045e480
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402838
push ebx
call fcn.00459866
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045df60
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045df60
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 0x4028b3
push 6
call fcn.0045986c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4028c3
push ebx
call fcn.00459866
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4028d3
push ebx
call fcn.00459866
add esp, 4
jmp 0x4029dd
push dword [ebp + 8]
call fcn.0040257f
and eax, 1
xor eax, 1
test eax, eax
je 0x402942
call fcn.004017f4
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 0x40290b
mov eax, 0x46a225
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40291f
mov eax, 0x46a225
push eax
push 2
mov ebx, 0x23c
call fcn.0045e480
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402942
push ebx
call fcn.00459866
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045df60
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045df60
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 0x4029bd
push 6
call fcn.0045986c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029cd
push ebx
call fcn.00459866
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4029dd
push ebx
call fcn.00459866
add esp, 4
push 0x813250
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4