Function at 0x446140
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bd516
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a8]
mov ebp, dword [esp + 0x1a4]
mov esi, ecx
mov ebx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x4dd96c
call fcn.0044c840
mov al, byte [eax + 0x977]
test al, al
je 0x4461b1
cmp al, 1
sete al
test al, al
je 0x4461ba
cmp byte [0x4fe13a], 0
je 0x4461c5
mov dword [ebx], 0
jmp 0x4464a4
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4461d4
mov eax, dword [esi + 8]
lea edi, [eax + 4]
mov dword [esp + 0x14], edi
call fcn.00451780
mov dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x1c], 1
lea ecx, [esp + 0x28]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x1a4], 0
call fcn.00447330
test al, al
jne 0x446244
mov eax, dword [esp + 0x28]
mov esi, eax
sub esi, 2
neg esi
sbb esi, esi
and esi, eax
mov dword [ebx], 0xff
mov dword [esp + 0x19c], 0xffffffff
call fcn.00451780
cmp dword [eax + 0x124], 0
je 0x44623d
push esi
call fcn.00454d30
xor al, al
jmp 0x4464a6
mov ecx, 0x4dd96c
mov eax, ecx
jmp 0x446250
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446276
test dx, dx
je 0x446272
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446276
add eax, 4
add ecx, 4
test dx, dx
jne 0x446250
xor eax, eax
jmp 0x44627b
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
jne 0x4462c8
lea ecx, [esp + 0x68]
call fcn.00443d50
lea edx, [esp + 0x68]
push edx
mov ecx, esi
mov byte [esp + 0x1a0], 1
call fcn.00445ae0
cmp dword [esp + 0x6c], edi
jne 0x4462aa
mov dword [esp + 0x20], edi
jmp 0x4462b7
lea ecx, [esp + 0x68]
call fcn.004445b0
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 0
call fcn.004444f0
cmp byte [esi + 0x11c], 0
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0x4440
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], str.open
lea eax, [esi + 0xc]
jne 0x4462f3
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1ac]
add eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x4c]
cmp eax, 0x20
mov edi, eax
jg 0x44644c
mov ecx, 0xfe
sub ecx, eax
mov dword [ebx], ecx
cmp byte [esi + 0x11c], 0
mov dword [esp + 0x18], 0
lea ebx, [esi + 0xc]
jne 0x44634f
mov ebx, dword [esi + 8]
mov ecx, ebp
call fcn.00447720
mov esi, eax
push 0x4e2afc
push 0x4d65ac
mov edx, esi
call fcn.00448ff0
push edi
push 0x4e34e4
mov edx, esi
call fcn.00448ff0
push 0x4e30ec
push 0x4d65ac
mov edx, esi
call fcn.00448ff0
add ebx, 4
push ebx
push 0x4d65ac
mov edx, esi
call fcn.00448ff0
add esp, 0x20
cmp edi, 0x20
ja case.0x4463aa.1
movzx edx, byte [edi + 0x446508]
jmp dword [edx*4 + 0x4464d0]
push str.The_operating_system_is_out_of_memory_or_resources.
mov ecx, ebp
call fcn.004032e0
lea eax, [esp + 0x14]
mov dword [esp + 0x19c], 0xffffffff
call fcn.004553d0
xor al, al
jmp 0x4464a6
push str.The_specified_file_was_not_found.
jmp 0x4463b6
push str.The_specified_path_was_not_found.
jmp 0x4463b6
push str.The_.exe_file_is_invalid__non_Microsoft_Win32_.exe_or_error_in_.exe_image_.
jmp 0x4463b6
push str.The_operating_system_denied_access_to_the_specified_file.
jmp 0x4463b6
push str.The_file_name_association_is_incomplete_or_invalid.
jmp 0x4463b6
push str.The_Dynamic_Data_Exchange__DDE__transaction_could_not_be_completed_because_other_DDE_transactions_were_being_processed.
jmp 0x4463b6
push str.The_DDE_transaction_failed.
jmp 0x4463b6
push str.The_DDE_transaction_could_not_be_completed_because_the_request_timed_out.
jmp 0x4463b6
push str.The_specified_dynamic_link_library__DLL__was_not_found.
jmp 0x4463b6
push str.There_is_no_application_associated_with_the_given_file_name_extension._This_error_will_also_be_returned_if_you_attempt_to_print_a_file_that_is_not_printable.
jmp 0x4463b6
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x4463b6
push str.A_sharing_violation_occurred.
jmp 0x4463b6
mov ecx, ebp
call fcn.00447720
push str.Some_other_error.
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
jmp 0x4463bd
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x446460
cmp dword [ebx], eax
jne 0x446480
mov dword [ebx], 0xfe
jmp 0x446480
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x64]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00451780
cmp dword [eax + 0x124], 0
je 0x4464a4
mov edi, dword [esp + 0x14]
push 0
call fcn.00454d30
mov al, 1
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.00497c58
add esp, 0x18c
ret 0xc