Function at 0x407a00
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x424f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x430d5c]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x430d5c]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
xor eax, eax
push 0x44
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
mov ebx, ecx
call fcn.00414650
push 0x208
lea ecx, [esp + 0x78]
push 0
push ecx
mov dword [esp + 0x3c], 0x44
call fcn.00414650
add esp, 0x18
call fcn.004082d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407a91
push 0x80004005
call fcn.004010f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x4264ae
lea ecx, [esp + 0x14]
mov dword [esp + 0x280], 0
call fcn.00401b20
push 0x4281c0
lea ecx, [esp + 0x14]
call fcn.004025a0
mov ecx, dword [0x4340c8]
mov edx, dword [ecx]
test edx, edx
jne 0x407ad8
xor eax, eax
jmp 0x407aef
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407ae0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401e70
push 0x4281c0
lea ecx, [esp + 0x14]
call fcn.004025a0
push 0x4281bc
lea ecx, [esp + 0x14]
call fcn.004025a0
mov esi, 1
cmp dword [0x4340c0], esi
jle 0x407b93
jmp 0x407b30
push 0x4281c0
lea ecx, [esp + 0x14]
call fcn.004025a0
mov edx, dword [0x4340c8]
mov edx, dword [edx + esi*4]
test edx, edx
jne 0x407b4f
xor eax, eax
jmp 0x407b63
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407b54
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401e70
push 0x4281c0
lea ecx, [esp + 0x14]
call fcn.004025a0
push 0x4281bc
lea ecx, [esp + 0x14]
call fcn.004025a0
inc esi
cmp esi, dword [0x4340c0]
jl 0x407b30
mov esi, dword [esp + 0x10]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x407bb9
push edi
lea ecx, [esp + 0x14]
call fcn.00401620
mov esi, dword [esp + 0x10]
push edi
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.00414b1b
mov eax, dword [ebx + 0xa4]
mov ecx, dword [ebx + 0xa8]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x28]
push edx
push eax
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x407c0c
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x14]
push 0x432128
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, ebx
call fcn.00407950
lea eax, [esi - 0x10]
mov dword [esp + 0x27c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0041463c
add esp, 0x270
ret