Function at 0x410490
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x523d97
mov eax, dword fs:[0]
push eax
sub esp, 0x288
push ebp
push esi
push edi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2a8]
mov esi, ecx
call fcn.0040db40
cmp byte [eax + 0x96a], 0
je 0x4104dc
cmp byte [0x58e9a4], 0
je 0x4104e7
mov dword [ebx], 0
jmp 0x4107fc
mov ecx, esi
call fcn.0040eb00
test al, al
jne 0x410576
mov ecx, esi
call fcn.0040eac0
test al, al
jne 0x410576
cmp byte [esi + 0x11c], al
je 0x41050e
add esi, 0xc
jmp 0x410511
mov esi, dword [esi + 8]
lea ecx, [esp + 0x50]
call fcn.004114e0
lea eax, [esi + 4]
lea edx, [esp + 0x50]
call fcn.00411710
push 0x55d46c
mov ecx, ebp
mov dword [esp + 0x2a4], 1
call fcn.00409990
mov esi, eax
lea eax, [esp + 0x54]
call fcn.0040a800
cmp byte [esp + 0x16c], 0
mov dword [esp + 0x50], vtable.t_str.0
jne case.0x4106dd.1
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je case.0x4106dd.1
push eax
call fcn.004faac5
add esp, 4
xor al, al
jmp 0x4107fe
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 0x4105a2
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 0x4107cc
cmp byte [esi + 0x11c], 0
je 0x4105e8
add esi, 0xc
jmp 0x4105eb
mov esi, dword [esi + 8]
lea ecx, [esp + 0x50]
call fcn.004114e0
lea eax, [esi + 4]
lea edx, [esp + 0x50]
call fcn.00411710
push 0x55d48c
lea ecx, [esp + 0x178]
mov dword [esp + 0x2a4], 3
call fcn.00411610
mov esi, eax
push edi
push 0x55db50
mov edx, esi
mov byte [esp + 0x2a8], 4
call fcn.00411e80
push 0x5595d4
push 0x55d15c
mov edx, esi
call fcn.00411e80
add esp, 0x10
cmp byte [esi + 0x11c], 0
je 0x410655
add esi, 0xc
jmp 0x410658
mov esi, dword [esi + 8]
add esi, 4
push esi
mov ecx, ebp
call fcn.00409990
mov esi, eax
lea eax, [esp + 0x54]
call fcn.0040a800
cmp byte [esp + 0x290], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x174], esi
jne 0x41069f
mov eax, dword [esp + 0x17c]
lea ecx, [esp + 0x180]
cmp eax, ecx
je 0x41069f
push eax
call fcn.004faac5
add esp, 4
mov dword [esp + 0x2a0], 0xffffffff
cmp byte [esp + 0x16c], 0
mov dword [esp + 0x50], esi
jne 0x4106cd
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
cmp eax, edx
je 0x4106cd
push eax
call fcn.004faac5
add esp, 4
cmp edi, 0x20
ja case.0x4106dd.1
movzx eax, byte [edi + 0x410854]
jmp dword [eax*4 + 0x41081c]
push str.The_operating_system_is_out_of_memory_or_resources.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_specified_file_was_not_found.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_specified_path_was_not_found.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_.exe_file_is_invalid__non_Microsoft_Win32_.exe_or_error_in_.exe_image_.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_operating_system_denied_access_to_the_specified_file.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_file_name_association_is_incomplete_or_invalid.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_Dynamic_Data_Exchange__DDE__transaction_could_not_be_completed_because_other_DDE_transactions_were_being_processed.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_DDE_transaction_failed.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_DDE_transaction_could_not_be_completed_because_the_request_timed_out.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.The_specified_dynamic_link_library__DLL__was_not_found.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.There_is_no_application_associated_with_the_given_file_name_extension.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.There_was_not_enough_memory_to_complete_the_operation.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
push str.A_sharing_violation_occurred.
mov ecx, ebp
call fcn.00402ea0
xor al, al
jmp 0x4107fe
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4107dc
mov dword [ebx], 0xffffffff
jmp 0x4107fc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x4c]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x4c]
push edx
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