Function at 0x431050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f51d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
push esi
lea ecx, [ebp - 0x10]
call fcn.004023e0
mov dword [ebp - 4], 0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004023e0
mov byte [ebp - 4], 1
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x43127a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
push 0x5c
push dword [ebp - 0x10]
call fcn.004788ca
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x431114
sub eax, dword [ebp - 0x10]
sar eax, 1
test eax, eax
jle 0x431114
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409830
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push eax
call fcn.00408560
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431111
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x10]
call fcn.0046e320
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xc], 0
je 0x4311e8
cmp dword [ebp - 0x2c], 0
jne 0x4311e8
call fcn.00404130
mov ecx, eax
test ecx, ecx
je 0x431284
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push str.__s___s
push eax
call fcn.00407900
push 0x44
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004792b0
add esp, 0x1c
mov esi, dword [ebp - 0x18]
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
cmp dword [edi - 0xc], ecx
mov eax, edi
cmove eax, ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push eax
push 0
push 0
push 0
push 0
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 6
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4311e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x431203
push eax
call fcn.00480864
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43122c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43124a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x431269
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004022e0
push 0x80004005
call fcn.004022e0
int3