Function at 0x417f80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f3117
mov eax, dword fs:[0]
push eax
sub esp, 0x288
push ebp
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2a8]
mov esi, ecx
call fcn.00415530
cmp byte [eax + 0x96a], 0
je 0x417fcc
cmp byte [0x54d2fa], 0
je 0x417fd7
mov dword [ebx], 0
jmp 0x4182ee
mov ecx, esi
call fcn.00416540
test al, al
jne 0x418067
mov ecx, esi
call fcn.00416500
test al, al
jne 0x418067
cmp byte [esi + 0x11c], al
je 0x417ffe
add esi, 0xc
jmp 0x418001
mov esi, dword [esi + 8]
lea ecx, [esp + 0x50]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x50]
call fcn.00410e40
lea eax, [esp + 0x50]
push eax
push 0x52b660
mov ecx, ebp
mov dword [esp + 0x2a8], 1
call fcn.0040fa50
mov ecx, eax
call fcn.00410a10
cmp byte [esp + 0x16c], 0
mov dword [esp + 0x50], vtable.t_str.0
jne case.0x4181cf.1
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je case.0x4181cf.1
push eax
call fcn.004d1d15
add esp, 4
xor al, al
jmp 0x4182f0
xor ecx, ecx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x4440
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], str.open
lea eax, [esi + 0xc]
cmp byte [esi + 0x11c], cl
jne 0x418093
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x2ac]
add eax, 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x34]
cmp eax, 0x20
mov edi, eax
jg 0x4182be
cmp byte [esi + 0x11c], 0
je 0x4180d9
add esi, 0xc
jmp 0x4180dc
mov esi, dword [esi + 8]
lea ecx, [esp + 0x50]
call fcn.00410c10
lea eax, [esi + 4]
lea edx, [esp + 0x50]
call fcn.00410e40
push 0x52b680
lea ecx, [esp + 0x178]
mov dword [esp + 0x2a4], 3
call fcn.00410d40
mov esi, eax
push edi
push 0x51a920
mov edx, esi
mov byte [esp + 0x2a8], 4
call fcn.004114a0
push 0x52b608
push 0x52a3bc
mov edx, esi
call fcn.004114a0
add esp, 0x10
cmp byte [esi + 0x11c], 0
je 0x418146
add esi, 0xc
jmp 0x418149
mov esi, dword [esi + 8]
lea ecx, [esp + 0x50]
push ecx
add esi, 4
push esi
mov ecx, ebp
call fcn.0040fa50
mov ecx, eax
call fcn.00410a10
cmp byte [esp + 0x290], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x174], esi
jne 0x418191
mov eax, dword [esp + 0x17c]
lea edx, [esp + 0x180]
cmp eax, edx
je 0x418191
push eax
call fcn.004d1d15
add esp, 4
mov dword [esp + 0x2a0], 0xffffffff
cmp byte [esp + 0x16c], 0
mov dword [esp + 0x50], esi
jne 0x4181bf
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x4181bf
push eax
call fcn.004d1d15
add esp, 4
cmp edi, 0x20
ja case.0x4181cf.1
movzx edx, byte [edi + 0x418344]
jmp dword [edx*4 + 0x41830c]
push 0x52b690
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_specified_file_was_not_found.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_specified_path_was_not_found.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_.exe_file_is_invalid__non_Microsoft_Win32_.exe_or_error_in_.exe_image_.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_operating_system_denied_access_to_the_specified_file.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_file_name_association_is_incomplete_or_invalid.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_Dynamic_Data_Exchange__DDE__transaction_could_not_be_completed_because_other_DDE_transactions_were_being_processed.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_DDE_transaction_failed.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_DDE_transaction_could_not_be_completed_because_the_request_timed_out.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.The_specified_dynamic_link_library__DLL__was_not_found.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.There_is_no_application_associated_with_the_given_file_name_extension.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.There_was_not_enough_memory_to_complete_the_operation.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
push str.A_sharing_violation_occurred.
mov ecx, ebp
call fcn.00401490
xor al, al
jmp 0x4182f0
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4182ce
mov dword [ebx], 0xffffffff
jmp 0x4182ee
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x4c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x294
ret 8