Function at 0x40271d
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 0x40275a
mov eax, 0x4812d5
push eax
push 3
mov ebx, 0x270
call fcn.0045d8c0
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4028b2
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0045d9a0
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4027ab
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x244
call fcn.0045d5b0
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 0x4027db
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4027ef
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x23c
call fcn.0045d5c0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402812
push ebx
call fcn.004588cd
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d0a0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d0a0
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 0x40288d
push 6
call fcn.004588d3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40289d
push ebx
call fcn.004588cd
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4028ad
push ebx
call fcn.004588cd
add esp, 4
jmp 0x4029b7
push dword [ebp + 8]
call fcn.00402559
and eax, 1
xor eax, 1
test eax, eax
je 0x40291c
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 0x4028e5
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4028f9
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x23c
call fcn.0045d5c0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40291c
push ebx
call fcn.004588cd
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d0a0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d0a0
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 0x402997
push 6
call fcn.004588d3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4029a7
push ebx
call fcn.004588cd
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4029b7
push ebx
call fcn.004588cd
add esp, 4
push 0x677d34
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4