Function at 0x416dfe
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a504
mov eax, dword fs:[0]
push eax
mov eax, 0x127c
call fcn.004fa0f0
mov eax, dword [0x5937d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebp - 4], 2
mov eax, dword [esi]
call dword [eax + 0x40]
test eax, eax
jne 0x416e4c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
xor ebx, ebx
cmp dword [esi + 0x24], ebx
je 0x416eda
push 1
push 0x2d
push ecx
mov ecx, esp
mov dword [ebp - 0x1224], esp
push str.CCoreProcess::Run
call fcn.00401769
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1228], esp
push str.Process_is_already_running_
call fcn.00401769
mov byte [ebp - 4], 4
mov eax, dword [esi]
push 0xaa
mov byte [ebp - 4], 2
mov ecx, esi
call dword [eax + 0x10]
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2b62
leave
ret 0x10
push 0x44
lea eax, [ebp - 0x1288]
push ebx
push eax
call fcn.004f3c10
add esp, 0xc
push 0x44
pop eax
mov dword [ebp - 0x1288], eax
cmp edi, ebx
je 0x416f0a
push eax
lea eax, [ebp - 0x1288]
push edi
push eax
call fcn.004f4410
add esp, 0xc
push 0x10
lea eax, [ebp - 0x123c]
push ebx
push eax
call fcn.004f3c10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1224], ebx
mov dword [ebp - 0x122c], ebx
mov dword [ebp - 0x1228], ebx
mov edi, 0x104
jle 0x416f5a
push ecx
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004f39e5
lea eax, [ebp - 0x118]
add esp, 0xc
mov dword [ebp - 0x1224], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], ebx
jle 0x416f83
push eax
lea eax, [ebp - 0x1220]
push 0x1000
push eax
call fcn.004f39e5
lea eax, [ebp - 0x1220]
add esp, 0xc
mov dword [ebp - 0x122c], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jle 0x416fa8
push eax
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.004f39e5
lea eax, [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x1228], eax
lea eax, [ebp - 0x123c]
push eax
lea eax, [ebp - 0x1288]
push eax
push dword [ebp - 0x1228]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x122c]
push dword [ebp - 0x1224]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x417074
push 1
push 0x59
push ecx
mov ecx, esp
mov dword [ebp - 0x1228], esp
push str.CCoreProcess::Run
call fcn.00401769
mov byte [ebp - 4], 5
push dword [ebp - 0x122c]
lea ecx, [ebp - 0x1224]
call fcn.00401769
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x122c], esp
push eax
push str.CreateProcess_failed_on
push ecx
call fcn.00404205
add esp, 0xc
mov byte [ebp - 4], 7
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 8
mov ecx, esi
call dword [edi + 0x10]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1224]
call fcn.00401898
xor esi, esi
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
mov eax, esi
jmp 0x416ebe
mov eax, dword [ebp - 0x123c]
push dword [ebp - 0x1238]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x1234]
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x41704a