Function at 0x46f940
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x520a97
mov eax, dword fs:[0]
push eax
sub esp, 0x248
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00473c80
cmp byte [eax + 0x847], 0
je 0x46fc4a
cmp byte [0x5b9f9a], 0
jne 0x46fc4a
mov ecx, esi
call fcn.0046e330
test al, al
jne 0x46fa1c
mov ecx, esi
call fcn.0046e2f0
test al, al
jne 0x46fa1c
cmp byte [esi + 0x11c], al
je 0x46f9b3
add esi, 0xc
jmp 0x46f9b6
mov esi, dword [esi + 8]
lea ecx, [esp + 0xc]
call fcn.0046a650
lea eax, [esi + 4]
lea edx, [esp + 0xc]
call fcn.0046a7f0
lea eax, [esp + 0xc]
push eax
push 0x562cc4
mov ecx, ebx
mov dword [esp + 0x264], 1
call fcn.00470820
mov ecx, eax
call fcn.00471790
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne case.0x46fb64.1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je case.0x46fb64.1
push eax
call fcn.004fdda1
add esp, 4
xor al, al
jmp 0x46fc4c
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x46fa2b
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x26c]
mov ecx, dword [esp + 0x268]
push edx
mov edx, dword [esp + 0x268]
push 0
push ecx
add eax, 4
push eax
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
jg 0x46fc4a
cmp byte [esi + 0x11c], 0
je 0x46fa6d
add esi, 0xc
jmp 0x46fa70
mov esi, dword [esi + 8]
lea ecx, [esp + 0xc]
call fcn.0046a650
lea eax, [esi + 4]
lea edx, [esp + 0xc]
call fcn.0046a7f0
push 0x562cd8
lea ecx, [esp + 0x134]
mov dword [esp + 0x260], 3
call fcn.0046a770
mov esi, eax
push edi
push 0x553b3c
push esi
mov byte [esp + 0x268], 4
call fcn.0046adf0
add esp, 0xc
push 0x554000
push 0x551604
push esi
call fcn.0046adf0
add esp, 0xc
cmp byte [esi + 0x11c], 0
je 0x46fadb
add esi, 0xc
jmp 0x46fade
mov esi, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
add esi, 4
push esi
mov ecx, ebx
call fcn.00470820
mov ecx, eax
call fcn.00471790
cmp byte [esp + 0x24c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x130], esi
jne 0x46fb26
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x13c]
cmp eax, ecx
je 0x46fb26
push eax
call fcn.004fdda1
add esp, 4
mov dword [esp + 0x25c], 0xffffffff
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], esi
jne 0x46fb54
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x46fb54
push eax
call fcn.004fdda1
add esp, 4
cmp edi, 0x20
ja case.0x46fb64.1
movzx eax, byte [edi + 0x46fca0]
jmp dword [eax*4 + 0x46fc68]
push 0x562ce8
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_specified_file_was_not_found.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_specified_path_was_not_found.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_.exe_file_is_invalid__non_Microsoft_Win32_.exe_or_error_in_.exe_image_.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_operating_system_denied_access_to_the_specified_file.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_file_name_association_is_incomplete_or_invalid.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_Dynamic_Data_Exchange__DDE__transaction_could_not_be_completed_because_other_DDE_transactions_were_being_processed.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_DDE_transaction_failed.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_DDE_transaction_could_not_be_completed_because_the_request_timed_out.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.The_specified_dynamic_link_library__DLL__was_not_found.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.There_is_no_application_associated_with_the_given_file_name_extension.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.There_was_not_enough_memory_to_complete_the_operation.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
push str.A_sharing_violation_occurred.
mov ecx, ebx
call fcn.00401000
xor al, al
jmp 0x46fc4c
mov al, 1
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x254
ret 0xc