Function at 0x507380
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x11
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x17c]
push ebx
sub esp, 0x1c4
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x194]
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.0057d960
lea ecx, [ebp - 0x1a0]
lea edx, [ebp - 0x1a4]
xor eax, eax
call fcn.00506600
mov ebx, dword [ebp - 0x1a4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x7b
mov dword [esp], ebx
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
sub esp, 0x10
mov esi, eax
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x20]
lea ebx, [ebp - 0x138]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x194]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], str._s_pipe_exit_process_async__lx__p
mov dword [esp + 8], eax
call fcn.004f5dc0
lea eax, [ebp - 0x18c]
mov dword [esp + 4], ebx
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x17c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5ead94
mov dword [eax + 4], 0x1067
mov eax, dword [edi + 0x34]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5eb051
call fcn.004f6800
mov dword [esp + 4], 0x3e8
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5ead94
mov dword [eax + 4], 0x1069
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], str.wait_timed_out_n
mov dword [esp], eax
call fcn.004f6800
mov eax, dword [ebp - 0x188]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x18c]
sub esp, 4
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x198], 0xdeadbeef
mov dword [ebp - 0x190], 0xdeadbeef
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x198]
mov dword [esp + 8], eax
lea eax, [ebp - 0x190]
mov dword [esp], esi
mov dword [esp + 0x10], 0x3e8
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetQueuedCompletionStatus]
sub esp, 0x14
mov dword [ebp - 0x1a8], eax
call fcn.0057d110
mov dword [eax], 0x5ead94
mov dword [eax + 4], 0x1070
xor eax, eax
mov dword [esp + 4], 0x5eb03f
mov edx, dword [ebp - 0x1a8]
test edx, edx
sete al
mov dword [esp], eax
call fcn.004f6800
call fcn.0057d110
mov dword [eax], 0x5ead94
mov dword [eax + 4], 0x1071
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x5eb051
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 0x3e3
sete al
mov dword [esp], eax
call fcn.004f6800
call fcn.0057d110
mov dword [eax], 0x5ead94
mov dword [eax + 4], 0x1072
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], 0x5edad2
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004f6800
call fcn.0057d110
mov dword [eax], 0x5ead94
mov dword [eax + 4], 0x1073
mov eax, dword [ebp - 0x198]
mov dword [esp + 4], str.got_key__Iu_n
cmp eax, 0x7b
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004f6800
mov dword [esp], esi
call ebx
mov eax, dword [ebp - 0x1a0]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret