Function at 0x140016b40
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Create process suspended
Get file attributes
Get file version info
Resume thread
Set console window title

Disassembly:
push r14
mov eax, 0x103b0
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140011620
sub rsp, rax
call fcn.140010550
xor eax, eax
lea rdi, [rsp + 0x1a0]
mov ecx, 0x41
rep stosq qword [rdi], rax
lea rsi, [rsp + 0x1a0]
mov r8d, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140016f04
lea rdx, [rsp + 0x5c]
mov rcx, rsi
mov dword [rsp + 0x5c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test eax, eax
jne 0x140016e67
mov ecx, 0xfffffff5
lea rbx, str..console.exe
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov rdi, qword [sym.imp.SHLWAPI.dll_StrRStrIW]
lea r8, str..console.exe
jmp 0x140016bf1
mov r8, qword [rbx + 8]
add rbx, 8
test r8, r8
je 0x140016e46
xor edx, edx
mov rcx, rsi
call rdi
test rax, rax
je 0x140016be0
movabs rdi, 0x6500780065002e
mov word [rax + 8], 0
mov rcx, rsi
mov qword [rax], rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140016ef0
and eax, 0x10
mov r12d, eax
jne 0x140016ef0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov rbx, rax
test rax, rax
je 0x140016f81
mov r9d, 1
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rbp, rax
test rax, rax
je 0x140016f9a
mov qword [rsp + 0x70], rbx
mov r13, qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
lea r8, [rsp + 0x70]
mov r9d, 0x10
mov qword [rsp + 0x78], rax
mov edx, 7
mov rcx, rbx
call r13
test eax, eax
je 0x140016f4f
lea r8, [rsp + 0x110]
mov ecx, 0x24
add byte [rcx + rcx*4 - 0x20], al
lea rcx, str.Invalid_wrapper_executable_name._n
call fcn.140010450
mov ecx, eax
call sub.msvcrt.dll_malloc
mov rdi, rax
test rax, rax
je 0x140016bac
mov edx, dword [rsp + 0x5c]
mov r9, rax
mov r8d, ebx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140016e9d
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x140016bac
xor r9d, r9d
xor r10d, r10d
lea rdx, str.StringFileInfo040904b0ProductName
mov rcx, rdi
mov qword [rsp + 0x3b0], r9
lea r8, [rsp + 0x3b0]
lea r9, [rsp + 0x110]
mov dword [rsp + 0x110], r10d
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140016e90
cmp dword [rsp + 0x110], 0
je 0x140016e90
mov rcx, qword [rsp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
jmp 0x140016e90
mov rdx, rsi
lea rcx, str.Main_executable__ls_not_found._n
call fcn.140010450
jmp 0x140016e52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetModuleFileName_failed__error__d_n
mov edx, eax
call fcn.140010450
jmp 0x140016e52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetInformationJobObject_AssociateCompletionPortInformation__failed__error__d_n
mov edx, eax
call fcn.140010450
jmp 0x140016e52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateJobObject_failed__error__d_n
mov edx, eax
call fcn.140010450
jmp 0x140016e52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateIoCompletionPort_failed__error__d_n
mov edx, eax
call fcn.140010450
jmp 0x140016e52