Function at 0x4308c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ec91
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x4c2618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x14]
push 0x44
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x118]
push 0
push eax
mov dword [ebp - 0x14c], 0
call fcn.0046d1b0
mov eax, dword [ebp - 0x12c]
add esp, 0xc
or dword [ebp - 0xec], 0x100
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x118], 0x44
mov eax, dword [eax + 4]
push 0xb0
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.0046d1b0
add esp, 4
lea ecx, [ebp - 0xd0]
call fcn.00403750
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x124], eax
jb 0x43099a
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
cmp dword [esi + 0x14], 0x10
jb 0x4309a8
mov esi, dword [esi]
mov dword [ebp - 0x128], esi
cmp byte [ebp - 0x130], 0
lea ecx, [ebp - 0xc0]
mov eax, 0x4b058c
mov esi, 0x4b0588
mov edx, 0x4b0590
cmove esi, eax
call fcn.00408070
mov edx, dword [ebp - 0x128]
mov ecx, eax
call fcn.00407bd0
mov edx, 0x4ae1e8
mov ecx, eax
call fcn.00408070
mov edx, dword [ebp - 0x124]
mov ecx, eax
call fcn.00407bd0
mov edx, 0x4ae1e8
mov ecx, eax
call fcn.00408070
mov edx, dword [ebp - 0x120]
mov ecx, eax
call fcn.00407bd0
mov edx, 0x4ae1e8
mov ecx, eax
call fcn.00408070
mov edx, str.GlobalF938DA6C_08D0_44A0_93B3_6A4803394449
mov ecx, eax
call fcn.00408070
mov edx, 0x4ae1e8
mov ecx, eax
call fcn.00408070
mov edx, str.Global353E7D9D_D578_475E_9582_13300421E8F2
mov ecx, eax
call fcn.00408070
mov edx, 0x4ae1e8
mov ecx, eax
call fcn.00408070
mov edx, esi
mov ecx, eax
call fcn.00408070
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403880
mov esi, eax
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.00403750
mov dword [ebp - 0x158], 0x10
mov dword [ebp - 0x154], str.ui_login::create_uiprocess
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1f8]
call fcn.00408350
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 1
call fcn.00402230
mov byte [ebp - 4], 0
cmp dword [ebp - 0x134], 8
jb 0x430ac5
push dword [ebp - 0x148]
call fcn.00466e37
add esp, 4
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403880
cmp dword [eax + 0x14], 8
jb 0x430adf
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
sete al
cmp dword [ebp - 0x134], 8
mov byte [ebp - 0x119], al
jb 0x430b27
push dword [ebp - 0x148]
call fcn.00466e37
mov al, byte [ebp - 0x119]
add esp, 4
test al, al
je 0x430b4c
mov edx, str.CreateProcess_failed
lea ecx, [ebp - 0x144]
call fcn.0044f2b0
push 0x4c0834
lea eax, [ebp - 0x144]
push eax
call fcn.0046b2bb
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0xffffffff
cmp eax, 0xffffffff
je 0x430b68
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.00428e50
mov eax, dword [ebp - 0x1c]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [edi + 4]
call fcn.00428e50
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x68]
mov dword [edi + 8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00403800
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::ios_base.0
push eax
call fcn.00451cf2
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466e3c
mov esp, ebp
pop ebp
ret 0x10