Function at 0x4540b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eb40
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4be5b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x45429e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea eax, [esi + 0x34]
push ecx
push eax
call fcn.0040a1b0
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x24]
mov esi, dword [edx]
add esp, 8
sub esi, 0x10
lea edi, [eax - 0x10]
cmp edi, esi
je 0x454169
cmp dword [esi + 0xc], 0
jl 0x45415e
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x45415e
push edi
call fcn.00407840
add esp, 4
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x454153
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
add eax, 0x10
mov dword [esi + 0x24], eax
jmp 0x45416c
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.00416a50
mov esi, dword [ebp - 0x10]
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x4542a8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
cdq
push edx
push eax
push dword [esi + 0x34]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push str.__s____hwnd_llu___fromLDSGameMaster___newtrue___log
push eax
call fcn.00409e30
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
add esp, 0x14
movlpd qword [ebp - 0x68], xmm0
lea eax, [ebp - 0x6c]
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
push eax
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x6c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [ebp - 0x10]
mov eax, 1
mov word [ebp - 0x3c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45423f
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
push 0x1388
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
test eax, eax
push eax
setne cl
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454271
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x45428a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
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.004068b0
push 0x80004005
call fcn.004068b0
int3