Function at 0x507230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5768b5
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5dd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
call fcn.004fa8d0
mov dword [ebp - 4], 0
xor eax, eax
push 1
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x58ced4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407c60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00486d00
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5072bf
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408620
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407f30
push 2
push 0x59e6d4
lea ecx, [ebp - 0x28]
call fcn.00408620
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
push 0x596724
push dword [ebp - 0x60]
call fcn.0042e4e0
mov eax, dword [ebp - 0x60]
push esi
cmp eax, dword [ebp - 0x5c]
je 0x507328
mov ecx, eax
call fcn.00406c50
mov eax, dword [ebp - 0x60]
add eax, 0x18
mov dword [ebp - 0x60], eax
jmp 0x507334
push eax
lea ecx, [ebp - 0x64]
call fcn.00406e00
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x5c]
je 0x50736c
xor ecx, ecx
mov dword [eax + 0x10], 0
push 0xf
mov word [eax], cx
mov ecx, eax
push str.AI_CLEAR_TEMP1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00407c60
mov eax, dword [ebp - 0x60]
add eax, 0x18
mov dword [ebp - 0x60], eax
jmp 0x50737d
push str.AI_CLEAR_TEMP1
push eax
lea ecx, [ebp - 0x64]
call fcn.0042e4e0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x5c]
je 0x5073b0
xor ecx, ecx
mov dword [eax + 0x10], 0
push 3
mov word [eax], cx
mov ecx, eax
push 0x5967c4
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00407c60
add dword [ebp - 0x60], 0x18
jmp 0x5073be
push 0x5967c4
push eax
lea ecx, [ebp - 0x64]
call fcn.0042e4e0
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x40]
call fcn.00495680
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5073d8
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408620
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407f30
push 0x40
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb8], 0x44
push 0
push eax
call fcn.005278d0
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
xorps xmm0, xmm0
lea ecx, [ebp - 0x58]
cmovae esi, dword [ebp - 0x28]
push eax
movups xmmword [ebp - 0x74], xmm0
call fcn.00486d00
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x507435
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407f30
test esi, esi
je 0x507471
push 0xffffffffffffffff
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00406cd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005255bb
mov esp, ebp
pop ebp
ret 4