Function at 0x413ca0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e033c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x513200]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x14]
push 1
mov dword [ebp - 0x268], eax
call fcn.004090f0
mov ecx, eax
call fcn.00409330
test al, al
je 0x413d16
mov ecx, dword [ebp - 0x260]
mov al, 1
mov dword [ecx], 0
jmp 0x4140b4
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
mov dword [ebp - 0x25c], 0
jne 0x413d2f
mov eax, dword [ebx + 8]
add eax, 4
mov dword [ebp - 0x274], eax
call fcn.00432730
mov dword [ebp - 0x270], 0xffffffff
mov byte [ebp - 0x26c], 1
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, ebx
call fcn.004139f0
test al, al
jne 0x413d7d
mov edi, dword [ebp - 0x25c]
xor eax, eax
cmp edi, 2
cmove edi, eax
xor bl, bl
jmp 0x414091
test edi, edi
je 0x413dfd
mov ecx, edi
mov eax, 0x4fd220
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413dae
test dx, dx
je 0x413daa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413dae
add eax, 4
add ecx, 4
test dx, dx
jne 0x413d88
xor eax, eax
jmp 0x413db3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413dfd
lea ecx, [ebp - 0x134]
call fcn.0040e5f0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00410b30
cmp dword [ebp - 0x130], 0
jne 0x413de1
xor edi, edi
jmp 0x413dee
lea ecx, [ebp - 0x134]
call fcn.0040eb10
mov edi, eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0
call fcn.0040ea20
cmp byte [ebx + 0x11c], 0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x2a8], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x2b0], 0x3c
mov dword [ebp - 0x2ac], 0x4440
mov dword [ebp - 0x2a4], str.open
jne 0x413e36
mov eax, dword [ebx + 8]
add eax, 4
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 0x290]
xor edi, edi
mov dword [ebp - 0x25c], eax
cmp eax, 0x20
jg 0x414060
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
mov dword [ebp - 0x270], edi
jne 0x413e93
mov eax, dword [ebx + 8]
sub esp, 0x10
lea ecx, [ebp - 0x134]
add eax, 4
push 0
push eax
call fcn.0040e650
push 0x4fd244
lea ecx, [ebp - 0x258]
call fcn.00403600
mov ebx, eax
mov byte [ebp - 4], 3
push dword [ebp - 0x25c]
push 0x4fc45c
push ebx
call fcn.004048f0
push 0x4fd160
push 0x4fc47c
push ebx
call fcn.004048f0
add esp, 0x18
lea eax, [ebx + 0xc]
cmp byte [ebx + 0x11c], 0
jne 0x413ef0
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x134]
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.0040e240
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x413f2e
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x413f2e
push eax
call fcn.00496f41
add esp, 4
mov byte [ebp - 4], 0
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x413f5b
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x413f5b
push eax
call fcn.00496f41
add esp, 4
mov eax, dword [ebp - 0x25c]
cmp eax, 0x20
ja case.0x413f71.1
movzx eax, byte [eax + 0x41410c]
jmp dword [eax*4 + 0x4140d4]
push str.The_operating_system_is_out_of_memory_or_resources.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_specified_file_was_not_found.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_specified_path_was_not_found.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_.exe_file_is_invalid__non_Microsoft_Win32_.exe_or_error_in_.exe_image_.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_operating_system_denied_access_to_the_specified_file.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_file_name_association_is_incomplete_or_invalid.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_Dynamic_Data_Exchange__DDE__transaction_could_not_be_completed_because_other_DDE_transactions_were_being_processed.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_DDE_transaction_failed.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_DDE_transaction_could_not_be_completed_because_the_request_timed_out.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.The_specified_dynamic_link_library__DLL__was_not_found.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.There_is_no_application_associated_with_the_given_file_name_extension.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.There_was_not_enough_memory_to_complete_the_operation.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
push str.A_sharing_violation_occurred.
mov ecx, esi
call fcn.004058b0
xor bl, bl
jmp 0x414091
mov eax, dword [ebp - 0x278]
test eax, eax
jne 0x414074
mov ecx, dword [ebp - 0x260]
mov dword [ecx], edi
jmp 0x41408f
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x260]
push dword [ebp - 0x278]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov dword [ebp - 4], 4
call fcn.00432730
cmp dword [eax + 0x124], 0
je 0x4140b2
mov ecx, dword [ebp - 0x274]
push edi
call fcn.00433030
mov al, bl
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.00489940
mov esp, ebp
pop ebp
ret 0x1c