Function at 0x407730
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b2f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x88]
mov eax, dword [edi]
mov edx, dword [esp + 0x84]
mov edx, dword [edx]
mov esi, dword [esp + 0x80]
mov esi, dword [esi]
push eax
push edx
push esi
lea eax, [esp + 0x8c]
push eax
call fcn.004074c0
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x78], ebx
call fcn.0040acf0
add esp, 4
mov byte [esp + 0x74], 1
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x7c], 2
call fcn.0042cdb0
mov edx, dword [esp + 0x88]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x94]
push str._s__C__s
push ecx
mov byte [esp + 0x8c], 3
call fcn.004022f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x74], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40780e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x7c]
test al, al
je 0x40781a
mov eax, edi
jmp 0x407838
mov edi, dword [edi]
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.0040b5d0
add esp, 8
mov ebx, 1
mov byte [esp + 0x74], 4
mov dword [esp + 0x14], ebx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401470
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], ebp
test bl, 1
mov dword [esp + 0x74], 6
je 0x407878
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x84]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x8c]
test cl, cl
setne al
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 1
mov word [esp + 0x58], ax
mov dword [esp + 0x24], ecx
cmp dword [esi - 4], 1
jle 0x4078dc
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x88]
call fcn.004014e0
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
push 0
push 0
push 0
push 0
push 0
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test esi, esi
mov edi, eax
jne 0x40790a
xor eax, eax
jmp 0x40791b
push esi
call fcn.00437a78
add esp, 4
test eax, eax
jl 0x407a5e
cmp eax, dword [esi - 8]
jg 0x407a5e
test edi, edi
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
jne 0x40798f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00402910
mov ecx, dword [eax]
mov edx, dword [esp + 0x90]
push ecx
push ebp
push esi
push edx
push 0xd2
mov byte [esp + 0x90], 7
call fcn.004076d0
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [esp + 0x74], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4079bb
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov al, byte [esp + 0x90]
test al, al
je 0x4079b4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00409890
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call edi
add ebp, 0xfffffff0
mov byte [esp + 0x74], 2
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4079db
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x74], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4079fa
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
mov byte [esp + 0x74], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0x18
push 0x80070057
call fcn.00401250
int3