Function at 0x40a256
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x50
call fcn.0043e388
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x14
rep stosd dword es:[edi], eax
push 0x46a2f3
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.004010c1
add esp, 8
cmp eax, 0
jne 0x40a32c
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x46a2fc
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40a2ca
mov eax, 0x46a2f3
push eax
push 4
mov ebx, 0x14c
call fcn.004414d0
add esp, 0x34
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40a2fa
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x134
call fcn.00440ef0
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a326
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x44
cmp dword [ebp + 0x1c], 1
jne 0x40a375
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
jmp 0x40a488
cmp dword [ebp + 0x1c], 3
jne 0x40a3af
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 2
mov dword [ebx + 4], 0
jmp 0x40a488
cmp dword [ebp + 0x1c], 4
jne 0x40a3e9
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 3
mov dword [ebx + 4], 0
jmp 0x40a488
cmp dword [ebp + 0x1c], 5
jne 0x40a423
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 4
mov dword [ebx + 4], 0
jmp 0x40a488
cmp dword [ebp + 0x1c], 6
jne 0x40a45d
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 6
mov dword [ebx + 4], 0
jmp 0x40a488
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov dword [ebx + 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
push 0
push 0
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
cmp dword [ebp - 8], esp
je 0x40a4e1
push 0x3e1
push 0x4013331
push 6
call fcn.0043e37c
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x40a52b
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0xffffffff
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40a526
push 0x45e
push 0x4013331
push 6
call fcn.0043e37c
add esp, 0xc
jmp 0x40a566
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0x3e8
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [0x46fa39]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40a566
push 0x48b
push 0x4013331
push 6
call fcn.0043e37c
add esp, 0xc
cmp dword [ebp + 0x30], 0
jne 0x40a5df
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [0x46fa3d]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40a5a6
push 0x4e6
push 0x4013331
push 6
call fcn.0043e37c
add esp, 0xc
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [0x46fa3d]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40a5df
push 0x509
push 0x4013331
push 6
call fcn.0043e37c
add esp, 0xc
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
jmp 0x40a5f4
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x2c