Function at 0x40748e
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56c852
call fcn.0055a6a0
mov eax, 0x1488
call fcn.0050b430
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
je 0x407652
cmp word [edi], bx
je 0x407652
push 0x44
pop esi
push esi
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.00507370
add esp, 0xc
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00507370
add esp, 0xc
push 5
pop eax
mov dword [ebp - 0x94], esi
mov word [ebp - 0x64], ax
xor esi, esi
lea eax, [ebp - 0x48]
push edi
inc esi
push eax
mov dword [ebp - 0x68], esi
call fcn.00406d90
mov dword [ebp - 4], 2
push dword [ebp + 8]
lea eax, [ebp - 0x494]
push edi
push str.__s___s
push 0x200
push eax
call fcn.0041f040
add esp, 0x1c
cmp dword [ebp - 0x34], ebx
jne 0x407527
xor eax, eax
jmp 0x407533
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x407533
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x494]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x407589
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x40756a
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x40756f
push dword [ebp - 0x2c]
call edi
push dword [ebp - 0x28]
call edi
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.00403580
mov eax, esi
jmp 0x4076af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push 0x400
push esi
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push edi
push dword [ebp - 0x1c]
push esi
push str.ERROR_EXECUTE_PROCESS
call fcn.004032e1
mov esi, eax
call fcn.0040582a
push eax
push str._s_code_d__msg_s__runAppPath_s_
lea eax, [ebp - 0x1494]
push 0x800
push eax
call fcn.0041f040
add esp, 0x1c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.NOTICE
push ecx
call fcn.004032e1
pop ecx
mov esi, eax
call fcn.0040582a
push eax
lea ecx, [ebp - 0x14]
call fcn.00403311
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1494]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403311
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push 5
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00489b40
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00401017
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401017
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00403580
jmp 0x4076ad
push str.NOTICE
push ecx
call fcn.004032e1
pop ecx
mov esi, eax
call fcn.0040582a
push eax
lea ecx, [ebp - 0x14]
call fcn.00403311
mov dword [ebp - 4], ebx
push str.RUN_PATH_EMPTY
lea ecx, [ebp - 0x18]
call fcn.00403311
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push 5
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00489b40
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00401017
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401017
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret