Function at 0x436ab7
Capabilities:
Accept command line arguments
Check if file exists
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Get file attributes

Disassembly:
push 0x6b8
mov eax, 0x44c6f4
call fcn.004386f7
mov ebx, dword [ebp + 8]
push 7
xor edi, edi
pop ecx
xor eax, eax
mov esi, edi
mov dword [ebp - 0x638], ecx
mov dword [ebp - 0x63c], edi
mov word [ebp - 0x64c], ax
or dword [ebp - 0x66c], 0xffffffff
mov dword [ebp - 4], edi
mov dword [ebp - 0x650], ecx
mov dword [ebp - 0x654], edi
mov word [ebp - 0x664], ax
push str.______________________IN_n
push str.Win64PathThrough
push 5
mov byte [ebp - 4], 1
call fcn.00405a24
add esp, 0xc
cmp dword [0x468eac], edi
je 0x436df9
push 0x105
lea eax, [ebp - 0x634]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
cmp ax, word [ebp - 0x634]
je 0x436e31
lea eax, [ebp - 0x634]
push eax
call fcn.0043860f
pop ecx
push eax
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x664]
call fcn.00401db2
cmp dword [ebp - 0x650], 8
push edi
push edi
push 0x101
lea ecx, [ebp - 0x21c]
push ecx
push 0x105
lea ecx, [ebp - 0x428]
push ecx
push 4
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x664]
cmovae eax, dword [ebp - 0x664]
push ecx
push eax
call fcn.0043967a
add esp, 0x24
cmp word [ebp - 0x18], di
jne 0x436baf
mov eax, edi
jmp 0x436bb9
lea eax, [ebp - 0x18]
push eax
call fcn.0043860f
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64c]
call fcn.00401db2
cmp word [ebp - 0x428], 0
jne 0x436bd7
mov eax, edi
jmp 0x436be4
lea eax, [ebp - 0x428]
push eax
call fcn.0043860f
pop ecx
push eax
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x64c]
call fcn.004053dd
cmp word [ebp - 0x21c], 0
jne 0x436c05
mov eax, edi
jmp 0x436c12
lea eax, [ebp - 0x21c]
push eax
call fcn.0043860f
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x64c]
call fcn.004053dd
cmp dword [0x468ebc], 0
je 0x436c35
mov edi, str.64.EXE
jmp 0x436c43
cmp dword [0x468ec0], 0
je 0x436c59
mov edi, str.IA64.EXE
push edi
call fcn.0043860f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64c]
call fcn.004053dd
xor edi, edi
cmp dword [ebp - 0x638], 8
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
push eax
push str.strWin64Exe.data__
push str.Win64PathThrough
push 4
call fcn.00405a06
add esp, 0x10
cmp dword [ebp - 0x638], 8
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436df9
push 0x4676b0
lea ecx, [ebp - 0x668]
call fcn.0040620b
cmp dword [ebp - 0x638], 8
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
push eax
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 2
call fcn.00409f9c
push 0x44dcac
lea ecx, [ebp - 0x668]
call fcn.00406767
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
inc esi
mov edi, eax
cmp dword [ebp - 0x670], esi
jle 0x436d32
push dword [edi + esi*4]
lea ecx, [ebp - 0x668]
call fcn.00406767
push 0x44dcac
lea ecx, [ebp - 0x668]
call fcn.00406767
inc esi
cmp esi, dword [ebp - 0x670]
jl 0x436d0b
lea ecx, [ebp - 0x668]
call fcn.00436a4d
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x668]
push str.strCmdLine
push str.Win64PathThrough
push 4
call fcn.00405a06
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x6c4]
push edi
push eax
call fcn.00438dc0
add esp, 0x1c
lea ecx, [ebp - 0x668]
push 1
mov dword [ebp - 0x6c4], esi
call fcn.00409996
lea ecx, [ebp - 0x680]
push ecx
lea ecx, [ebp - 0x6c4]
push ecx
push edi
push edi
push 0x20
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x436ddc
push dword [ebp - 0x67c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x680]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x680]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x680]
call esi
mov ecx, dword [ebp - 0x668]
mov eax, dword [ebp - 0x66c]
xor esi, esi
lea ecx, [ecx - 0x10]
mov dword [ebx], eax
inc esi
mov byte [ebp - 4], 1
call fcn.00409a06
push str.______________________OUT_n
push str.Win64PathThrough
push 5
call fcn.00405a24
add esp, 0xc
push edi
push 1
lea ecx, [ebp - 0x664]
call fcn.00401ba5
push edi
push 1
lea ecx, [ebp - 0x64c]
call fcn.00401ba5
mov eax, esi
call fcn.004386a6
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed.__0x_1_x___n
push str.Win64PathThrough
push 2
call fcn.00405a24
add esp, 0x10
mov esi, edi
jmp 0x436e0d