Function at 0x40b6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b82ac
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4eef3c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 4], 0
cmp dword [ecx + 0x10], 0
je 0x40ba56
mov edx, ecx
lea ecx, [ebp - 0x5c]
call fcn.0040b590
push 0x44
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.0048cf40
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 0xc
mov dword [ebp - 0xf8], 0x44
mov dword [ebp - 0xcc], 1
push 0xfffffffffffffff6
call esi
push 0xfffffffffffffff5
mov dword [ebp - 0xc0], eax
call esi
push 0xfffffffffffffff4
mov dword [ebp - 0xbc], eax
call esi
cmp dword [ebp + 8], 0
mov dword [ebp - 0xb8], eax
mov eax, 5
mov dword [ebp - 0xf4], 0
je 0x40b763
mov eax, 7
mov word [ebp - 0xc8], ax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push 1
push ecx
push 0x4dea30
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040bef0
push 1
push ecx
lea ecx, [ebp - 0x5c]
cmp eax, 0xffffffff
je 0x40b80c
push 0x4dea30
call fcn.0040bef0
push eax
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040bb20
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x40b7f1
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40b7d4
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040c2a0
xor eax, eax
mov dword [ebp - 0x18], 7
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.0040c0b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x40b851
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.0040c2a0
jmp 0x40b851
push 0x4dea34
call fcn.0040bef0
cmp eax, 0xffffffff
je 0x40b851
push 1
push ecx
push 0x4dea34
lea ecx, [ebp - 0x5c]
call fcn.0040bef0
push eax
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040bb20
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040bca0
lea ecx, [ebp - 0xa4]
call fcn.0040bc60
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040c6d0
add esp, 4
push 0x4dea38
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040c800
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x40b898
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.0040c2a0
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
cmp dword [edi + 0x10], eax
je 0x40b92e
mov edx, edi
lea ecx, [ebp - 0xa4]
call fcn.0040b590
push eax
mov edx, 0x4dea3c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.0040c7a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.0040c5c0
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x40b8fc
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.0040c2a0
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x40b92e
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.0040c2a0
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0xb4]
push edx
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push eax
cmovae ecx, dword [ebp - 0x44]
push 0
push 8
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40b9ef
push dword [ebp - 0xb4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb0]
call esi
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x40b999
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040c2a0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x40b9c2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040c2a0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40b9eb
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040c2a0
mov al, 1
jmp 0x40ba58
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x40ba04
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040c2a0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x40ba2d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040c2a0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40ba56
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040c2a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488c1c
mov esp, ebp
pop ebp
ret