Function at 0x416be9
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x74
lea ebp, [esp - 4]
mov eax, dword [0x448490]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0xe4
mov eax, 0x434765
call fcn.0041efdd
mov eax, dword [ebp + 0x84]
mov edi, dword [ebp + 0x80]
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.0040925c
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp + 0x20]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040925c
add edi, 0x38
xor ebx, ebx
lea eax, [ebp + 0x58]
push edi
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0040925c
add esp, 0x18
mov eax, dword [ebp + 0x4c]
dec eax
mov byte [ebp - 4], 2
cmp eax, 0x7ffe
ja 0x416def
lea eax, [ebp + 0x10]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x416cb7
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
lea eax, [ebp - 0xac]
push eax
call fcn.00403d9a
pop ecx
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 5
call edi
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push eax
push str.Cannot_launch_process._Cannot_open_process_token._Cannot_create_environment_block.
call fcn.00403a8d
mov ecx, eax
call fcn.0040e3d4
mov byte [ebp - 4], 6
jmp 0x416e11
push esi
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
mov dword [ebp + 0x14], esi
call sub.USERENV.dll_CreateEnvironmentBlock
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
lea eax, [ebp - 0xec]
push esi
push eax
mov dword [ebp - 0xf0], esi
call fcn.0041f260
xor eax, eax
mov dword [ebp], esi
lea edi, [ebp + 4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
cmp dword [ebp + 0x68], esi
jne 0x416d0c
call fcn.0040b79c
push 0xffffffffffffffff
push esi
add eax, 0x38
push eax
lea ecx, [ebp + 0x58]
call fcn.0040728a
cmp dword [ebp + 0x4c], esi
jbe 0x416d21
cmp dword [ebp + 0x50], 8
jb 0x416d1c
mov edx, dword [ebp + 0x3c]
jmp 0x416d23
lea edx, [ebp + 0x3c]
jmp 0x416d23
xor edx, edx
cmp dword [ebp + 0x30], esi
jne 0x416d2c
xor ecx, ecx
jmp 0x416d38
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x20]
jae 0x416d38
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x416d44
lea eax, [ebp + 0x58]
lea edi, [ebp]
push edi
lea edi, [ebp - 0xf0]
push edi
push eax
push dword [ebp + 0x14]
push 0x408
push esi
push esi
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp + 0x14]
mov edi, eax
call sub.USERENV.dll_DestroyEnvironmentBlock
cmp edi, esi
jne 0x416daa
lea eax, [ebp - 0xac]
push eax
call fcn.00403d9a
pop ecx
mov edi, eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x1c]
push eax
push str.Cannot_launch_process.
mov ecx, edi
call fcn.00403a8d
mov ecx, eax
call fcn.0040e3d4
mov byte [ebp - 4], 8
jmp 0x416e11
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push eax
call fcn.00416b81
lea ecx, [ebp + 0x18]
call fcn.00416b6c
push esi
push ebx
lea ecx, [ebp + 0x58]
call fcn.00404a05
push esi
push ebx
lea ecx, [ebp + 0x20]
call fcn.00404a05
push esi
push ebx
lea ecx, [ebp + 0x3c]
call fcn.00404a05
mov al, bl
jmp 0x416e4b
lea eax, [ebp - 0xac]
push eax
call fcn.00403d9a
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [esp], str.Cannot_launch_process._Command_line_exceeds_32768_characters.
call fcn.00403a8d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.00403cc4
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0040382d
push esi
push ebx
lea ecx, [ebp + 0x58]
call fcn.00404a05
push esi
push ebx
lea ecx, [ebp + 0x20]
call fcn.00404a05
push esi
push ebx
lea ecx, [ebp + 0x3c]
call fcn.00404a05
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.0041efce
add ebp, 0x78
leave
ret