Function at 0x40bca4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x48
call fcn.0040fadd
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.0040fadd
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.004023a5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bd3d
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x41b216
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.00401037
add esp, 8
cmp eax, 0
je 0x40bd91
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013b5
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bd88
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40bdb5
lea eax, [ebp - 4]
push eax
call fcn.004024e9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40bdb1
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 4
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40bde0
mov eax, 0x41b216
push eax
push 3
mov ebx, 0x270
call fcn.00410490
add esp, 0x28
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40be29
lea eax, [ebp - 4]
push eax
call fcn.004024e9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40be20
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40be45
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x278
call fcn.00410570
add esp, 0x10
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
push htons
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40be65
mov eax, 0x41b265
push eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40be79
mov eax, 0x41b216
push eax
push 2
mov ebx, 0x26c
call fcn.00410580
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x40c177
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 9
call fcn.004011b1
push VariantClear
push 0
push 0x41b236
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40bed0
mov eax, 0x41b216
push eax
push 6
mov ebx, 0x180
call fcn.0040fe90
add esp, 0x4c
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40bef9
mov eax, 0x41b216
push eax
push 1
mov ebx, 0x9dc
call fcn.00412ed0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40bf1f
push ebx
call fcn.0040fae3
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jne 0x40bf2f
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push eax
push 0x44
call fcn.0040fadd
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0x20
push 0
push 0
push 0
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40c04d
push 6
call fcn.0040fae9
add esp, 4
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00401411
call fcn.00401411
call fcn.00401411
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40c177
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0x41b294
push dword [ebp - 8]
mov ecx, 3
call fcn.004013b5
add esp, 0xc
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_bind
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40c154
mov eax, 0x41b216
push eax
push 3
mov ebx, 0x2c0
call fcn.00410620
add esp, 0x28
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c177
push ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c187
push ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c197
push ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c1ae
push ebx
call fcn.0040fae3
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c1c2
push ebx
call fcn.0040fae3
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c1d6
push ebx
call fcn.0040fae3
add esp, 4
pop ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.0040fae3
add esp, 4
mov esp, ebp
pop ebp
ret 0x10