Function at 0x4011f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4027bd
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x405004]
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 edx, ecx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401240
sub edx, esi
sar edx, 1
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.004016b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.Input_path_is__s_n
call fcn.00401050
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 0xa
push str.synapse3d:
push 0
call fcn.00401810
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4012ac
push str.Failed_to_find_custom_URL_string_n
call fcn.00401050
add esp, 4
jmp 0x401464
push 0xa
xor eax, eax
mov dword [ebp - 0x40], 0
push str.synapse3d:
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004016b0
xor eax, eax
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push 0x40332c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004016b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
cmp edi, 8
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmovae eax, esi
cmp ebx, 8
push eax
cmovae ecx, dword [ebp - 0x28]
push 0
call fcn.00401810
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x40138f
nop dword [eax]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push eax
call fcn.00401520
push dword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 8
cmovae eax, esi
cmp ebx, 8
push eax
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x48]
push eax
call fcn.00401810
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
jne 0x401340
cmp ebx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Modified_path_is__s_n
call fcn.00401050
mov edx, dword [ebp - 0x44]
add esp, 8
cmp edx, 8
jb 0x4013e1
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4013d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401490
push edx
push ecx
call fcn.00401a5d
add esp, 8
cmp edi, 8
jb 0x401415
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x40140b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401490
push ecx
push esi
call fcn.00401a5d
add esp, 8
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push 0x40332c
push 0x40332c
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cdq
test edx, edx
ja 0x401464
jb 0x401455
cmp eax, 0x20
ja 0x401464
push edx
push eax
push str.ShellExecute___failed__result___I64u_n
call fcn.00401050
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4014a0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401496
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401496
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00401a5d
add esp, 8
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.00401a4f
mov esp, ebp
pop ebp
ret