Function at 0x14000a964
Capabilities:
Resolve path using msvcrt
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8d0
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov r14, rdx
mov edi, ecx
mov r12d, 1
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor edx, edx
mov r8d, 0x98
lea rcx, [rsp + 0x610]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rsp + 0x140]
call sub.VCRUNTIME140.dll_memset
nop
lea rdx, str..ACP
lea ecx, [r12 + 1]
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
call fcn.14000c3d0
lea rcx, [fcn.14000a80c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
mov ebx, r12d
xor r13d, r13d
mov dword [rsp + 0x100], ebx
cmp ebx, edi
jge 0x14000ab41
movsxd rcx, ebx
lea r15, [r14 + rcx*8]
mov rdx, qword [r15]
movzx eax, word [rdx]
sub ax, 0x2d
mov r8d, 0xfffd
test r8w, ax
je 0x14000aa2a
jmp 0x14000ab39
lea rsi, [r14 + rcx*8]
lea rcx, [rdx + 2]
lea rdx, str.errorreport:none
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000aa80
xor ecx, ecx
call fcn.14000a810
mov eax, edi
sub eax, ebx
sub eax, r12d
movsxd r8, eax
lea eax, [rbx + 1]
movsxd rcx, eax
lea rdx, [r14 + rcx*8]
mov rcx, rsi
shl r8, 3
call sub.VCRUNTIME140.dll_memmove
sub edi, r12d
mov dword [rsp + 0x108], edi
sub ebx, r12d
mov dword [rsp + 0x100], ebx
jmp 0x14000aa25
mov rcx, qword [rsi]
add rcx, 2
lea rdx, str.errorreport:prompt
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000aa9d
mov ecx, r12d
jmp 0x14000aa45
mov rcx, qword [rsi]
add rcx, 2
lea rdx, str.errorreport:queue
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000aaba
lea ecx, [rax + 2]
jmp 0x14000aa45
mov rcx, qword [rsi]
add rcx, 2
lea rdx, str.errorreport:send
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000aada
lea ecx, [rax + 3]
jmp 0x14000aa45
mov rcx, qword [rsi]
add rcx, 2
lea rdx, str.errorreport:test
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000aafe
mov byte [0x140037cef], r12b
jmp 0x14000aa4a
mov rcx, qword [rsi]
add rcx, 2
lea rdx, str.errorreport:internal
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000ab39
mov byte [0x140037cee], r12b
mov eax, edi
sub eax, ebx
sub eax, r12d
movsxd r8, eax
lea eax, [rbx + 1]
movsxd rcx, eax
lea rdx, [r14 + rcx*8]
mov rcx, r15
jmp 0x14000aa61
add ebx, r12d
jmp 0x14000a9f9
cmp byte [0x140037cef], r13b
je 0x14000ab53
mov word [0], r13w
call fcn.14000a000
cmp qword [0x140027498], r13
jne 0x14000abf3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
mov r15, qword [rax]
mov edx, 0x20
mov rcx, r15
call sub.VCRUNTIME140.dll_wcschr
test rax, rax
je 0x14000abe4
or rcx, 0xffffffffffffffff
mov rsi, rcx
inc rsi
cmp word [r15 + rsi*2], r13w
jne 0x14000ab87
add rsi, 3
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.140002060
mov rbx, rax
lea r8, [0x1400125e4]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x1400125e4]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r15, rbx
mov rcx, r15
call fcn.14000e208
mov qword [0x140027498], rax
lea rdx, [0x14000c040]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
lea rdx, [0x14000c040]
mov ecx, 0xf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
mov rdx, r14
mov ecx, edi
call fcn.14000b0c4
mov ebx, eax
call fcn.14000c110
cmp byte [0x140016040], r13b
cmove ebx, r12d
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov r9, qword [rsp + 0x620]
mov r8d, dword [rsp + 0x614]
mov edx, dword [rsp + 0x610]
lea rcx, str._n__Version_14.29.30148.0_n_n__ExceptionCode______________08X_n__ExceptionFlags_____________08X_n__ExceptionAddress___________p
call fcn.14000c568
mov r8d, 0x30
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x620]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000acbc
mov r8d, 0x104
lea rdx, [rsp + 0x6b0]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000acbc
lea r8, [rsp + 0x6b0]
mov rdx, qword [rsp + 0x118]
lea rcx, str.___p____s_
call fcn.14000c568
mov edx, dword [rsp + 0x628]
lea rcx, str._n__NumberParameters___________08X_n
call fcn.14000c568
mov edi, dword [rsp + 0x628]
xor ebx, ebx
test rdi, rdi
je 0x14000acfc
mov r8, qword [rsp + rbx*8 + 0x630]
mov rdx, rbx
lea rcx, str.__ExceptionInformation__2u____p_n
call fcn.14000c568
inc rbx
cmp rbx, rdi
jb 0x14000acdd
movzx ebx, word [rsp + 0x180]
movzx r11d, word [rsp + 0x17e]
movzx r10d, word [rsp + 0x17c]
movzx r9d, word [rsp + 0x182]
movzx r8d, word [rsp + 0x17a]
movzx edx, word [rsp + 0x178]
mov ecx, dword [rsp + 0x184]
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xb8], r11
mov qword [rsp + 0xb0], r10
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x1b8]
lea rcx, str._nCONTEXT:_n__Rax______p__R8_______p_n__Rbx______p__R9_______p_n__Rcx______p__R10______p_n__Rdx______p__R11______p_n__Rsp______p__R12______p_n__Rbp______p__E13______p_n__Rsi______p__R14______p_n__Rdi______p__R15______p_n__Rip______p__EFlags___p_n__SegCs____p__SegDs____p_n__SegSs____p__SegEs____p_n__SegFs____p__SegGs____p_n__Dr0______p__Dr3______p_n__Dr1______p__Dr6______p_n__Dr2______p__Dr7______p_n
call fcn.14000c568
call fcn.14000c538
nop
mov eax, 0x40e
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1400106c0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret