Function at 0x421420
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5251c7
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebp
push esi
push edi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c4]
mov ebp, dword [esp + 0x2c0]
mov esi, ecx
mov dword [esp + 0x1c], eax
mov edi, 0x559058
call fcn.0041e510
mov al, byte [eax + 0x96f]
test al, al
je 0x42148b
cmp al, 1
sete al
test al, al
jne 0x421494
cmp byte [0x588e24], 0
je 0x4214a3
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0
jmp 0x4217db
cmp byte [esi + 0x11c], 0
mov dword [esp + 0x20], 0
lea eax, [esi + 0xc]
jne 0x4214ba
mov eax, dword [esi + 8]
add eax, 4
mov dword [esp + 0x10], eax
call fcn.0042aad0
mov dword [esp + 0x14], 0xffffffff
mov byte [esp + 0x18], 1
lea edx, [esp + 0x20]
push edx
push ebp
mov ecx, esi
mov dword [esp + 0x2c0], 0
call fcn.00422890
test al, al
jne 0x42151d
mov dword [esp + 0x2b8], 0xffffffff
call fcn.0042aad0
cmp dword [eax + 0x124], 0
je 0x421516
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
push eax
call fcn.0042afd0
xor al, al
jmp 0x4217dd
mov ecx, 0x559058
mov eax, ecx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42154a
test dx, dx
je 0x421546
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42154a
add eax, 4
add ecx, 4
test dx, dx
jne 0x421524
xor eax, eax
jmp 0x42154f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42159e
lea ecx, [esp + 0x184]
call fcn.0041ee30
lea ecx, [esp + 0x184]
push ecx
mov ecx, esi
mov byte [esp + 0x2bc], 1
call fcn.00420e50
cmp dword [esp + 0x188], 0
jne 0x421584
xor edi, edi
jmp 0x421592
lea ecx, [esp + 0x184]
call fcn.004191b0
mov edi, eax
lea ecx, [esp + 0x184]
call fcn.00418b30
cmp byte [esi + 0x11c], 0
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x28], 0x4440
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], str.open
lea eax, [esi + 0xc]
jne 0x4215cd
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
add eax, 4
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 5
call dword [0x5313e8]
mov eax, dword [esp + 0x44]
cmp eax, 0x20
mov edi, eax
jg 0x42177f
cmp byte [esi + 0x11c], 0
mov dword [esp + 0x14], 2
je 0x421614
add esi, 0xc
jmp 0x421617
mov esi, dword [esi + 8]
lea ecx, [esp + 0x184]
call fcn.00418990
lea eax, [esi + 4]
lea edx, [esp + 0x184]
call fcn.00418b90
push 0x55f0d8
lea ecx, [esp + 0x64]
call fcn.00418ac0
mov esi, eax
push edi
push 0x559064
mov edx, esi
mov byte [esp + 0x2c0], 4
call fcn.00419360
push 0x55f070
push 0x55e008
mov edx, esi
call fcn.00419360
add esp, 0x10
cmp byte [esi + 0x11c], 0
je 0x421679
add esi, 0xc
jmp 0x42167c
mov esi, dword [esi + 8]
add esi, 4
push esi
mov ecx, ebp
call fcn.00417c00
mov esi, eax
lea eax, [esp + 0x188]
call fcn.004187a0
cmp byte [esp + 0x17c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x60], esi
jne 0x4216bd
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x6c]
cmp eax, ecx
je 0x4216bd
push eax
call fcn.004fe606
add esp, 4
mov byte [esp + 0x2b8], 0
cmp byte [esp + 0x2a0], 0
mov dword [esp + 0x184], esi
jne 0x4216f1
mov eax, dword [esp + 0x18c]
lea edx, [esp + 0x190]
cmp eax, edx
je 0x4216f1
push eax
call fcn.004fe606
add esp, 4
cmp edi, 0x20
ja case.0x4216fd.1
movzx eax, byte [edi + 0x421840]
jmp dword [eax*4 + 0x421808]
push 0x55e990
mov ecx, ebp
call fcn.004014b0
lea eax, [esp + 0x10]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.0042b670
xor al, al
jmp 0x4217dd
push str.The_specified_file_was_not_found.
jmp 0x421709
push str.The_specified_path_was_not_found.
jmp 0x421709
push str.The_.exe_file_is_invalid__non_Microsoft_Win32_.exe_or_error_in_.exe_image_.
jmp 0x421709
push str.The_operating_system_denied_access_to_the_specified_file.
jmp 0x421709
push str.The_file_name_association_is_incomplete_or_invalid.
jmp 0x421709
push str.The_Dynamic_Data_Exchange__DDE__transaction_could_not_be_completed_because_other_DDE_transactions_were_being_processed.
jmp 0x421709
push str.The_DDE_transaction_failed.
jmp 0x421709
push str.The_DDE_transaction_could_not_be_completed_because_the_request_timed_out.
jmp 0x421709
push str.The_specified_dynamic_link_library__DLL__was_not_found.
jmp 0x421709
push str.There_is_no_application_associated_with_the_given_file_name_extension.
jmp 0x421709
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x421709
push str.A_sharing_violation_occurred.
jmp 0x421709
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x421793
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0xffffffff
jmp 0x4217b7
push 0xffffffffffffffff
push eax
call dword [0x5311c0]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
push edx
push eax
call dword [0x5311c8]
mov ecx, dword [esp + 0x5c]
push ecx
call dword [0x531398]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.0042aad0
cmp dword [eax + 0x124], 0
je 0x4217db
mov edi, dword [esp + 0x10]
push 0
call fcn.0042afd0
mov al, 1
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.004fdc2b
add esp, 0x2ac
ret 8