Function at 0x402823
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 0x402860
mov eax, 0x4812d5
push eax
push 3
mov ebx, 0x270
call fcn.0045d6d0
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4029b8
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0045d7b0
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4028b1
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x244
call fcn.0045d3c0
add esp, 0x10
call fcn.004017ce
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 0x4028e1
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4028f5
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x23c
call fcn.0045d3d0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402918
push ebx
call fcn.00458731
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cf00
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cf00
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 0x402993
push 6
call fcn.00458737
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029a3
push ebx
call fcn.00458731
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4029b3
push ebx
call fcn.00458731
add esp, 4
jmp 0x402abd
push dword [ebp + 8]
call fcn.0040265f
and eax, 1
xor eax, 1
test eax, eax
je 0x402a22
call fcn.004017ce
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 0x4029eb
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4029ff
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x23c
call fcn.0045d3d0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a22
push ebx
call fcn.00458731
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cf00
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045cf00
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 0x402a9d
push 6
call fcn.00458737
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402aad
push ebx
call fcn.00458731
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402abd
push ebx
call fcn.00458731
add esp, 4
push 0x677d5b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4