Function at 0x14000fa70
Capabilities:
Accept command line arguments
Resolve path using msvcrt
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc8
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r13, rcx
mov qword [rbp - 0x29], rdx
mov r15d, dword [rdx]
xor r12d, r12d
mov dword [rdx], r12d
mov dword [rbp - 0x31], r15d
lea r8, [rbp - 9]
mov rdx, qword [rcx + 8]
mov ecx, r15d
call fcn.1400105bc
lea rax, [rbp - 9]
mov qword [rsp + 0x40], rax
lea edi, [r12 + 1]
mov byte [rsp + 0x38], dil
mov dword [rsp + 0x30], r12d
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [r13 + 8]
mov rdx, qword [r13 + 0x10]
mov rcx, rsi
call fcn.1400104bc
mov qword [rbp - 0x51], rax
cmp byte [rbp - 0x59], r12b
je 0x14007effa
lea rax, [0x1401f79f0]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x51]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 9]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x49]
call fcn.14000fc38
mov dword [rbp - 0x31], r12d
mov dword [rbp - 0x41], r15d
lea rax, [rbp - 0x41]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x59]
mov rdx, r13
mov rcx, rsi
call fcn.1400100ac
mov bl, byte [rbp - 0x59]
test bl, bl
je 0x14000fb9c
cmp dword [0x1401fa544], 6
jne 0x14000fb9c
mov eax, dword [rsi + 0x154]
test al, 0x40
je 0x14007f104
test dword [rsi + 0x154], 0x400
jne 0x14007f3c3
cmp byte [0x1401fabb9], r12b
je 0x14000fc2b
mov dword [rsp + 0x20], r12d
mov r9b, bl
mov r8, qword [rbp - 0x49]
mov rdx, rsi
mov rcx, qword [rbp - 0x51]
call fcn.140030294
test byte [rsi + 0x154], 0x40
jne 0x14000fbe2
mov rdx, rsi
mov rcx, qword [rbp - 0x51]
call fcn.1400311e0
mov rcx, qword [rbp - 0x51]
mov rax, qword [r13 + 0x28]
mov qword [rcx + 0x70], rax
xor edx, edx
mov rcx, qword [rbp - 0x51]
call fcn.140033964
mov rsi, qword [rbp - 0x51]
mov ecx, dword [r14]
test ecx, ecx
jne 0x14007f3df
mov rax, rsi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14005a600
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call fcn.14003fbf8
jmp 0x14000fbb5
cmp byte [0x1401fcb00], r12b
jne 0x14007f012
mov edx, 0xfca
mov rcx, qword [r13 + 8]
call fcn.1400ebbc8
nop
test r15d, r15d
je 0x14007f022
xor edx, edx
mov ecx, r15d
call fcn.140033a30
nop
mov ecx, dword [r14]
test ecx, ecx
je 0x14007f0fd
cmp dword [0x1401fcad8], r12d
je 0x14007f03c
call fcn.1400b9b48
int3
mov edx, ecx
and edx, 0xfffffff
mov rax, qword [0x1401fa3e0]
mov rbx, qword [rax + rdx*8]
shr ecx, 0x1c
shl edi, cl
or edi, dword [rbx + 0x24]
mov dword [rbx + 0x24], edi
test byte [rbx + 0x28], 0x12
jne 0x14007f0c6
cmp edi, 0xffff
jne 0x14007f0fa
mov r8d, dword [0x1401fb524]
inc r8d
mov dword [0x1401fb524], r8d
lea rcx, [rbx + 8]
mov rax, qword [0x1401fb548]
lea rdx, [0x1401fb540]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
mov qword [rax], rcx
mov qword [0x1401fb548], rcx
mov byte [rbx + 0x29], 2
test byte [rbx + 0x28], 4
jne 0x14007f0b6
mov rax, qword [rbx + 0x40]
and dword [rax + 0x14], 0xffffffef
mov qword [rbx + 0x40], r12
cmp r8d, dword [0x1401fb528]
jne 0x14007f0fa
call fcn.1400ba23c
jmp 0x14007f0fa
lea rdx, [rbx + 8]
mov rax, qword [0x1401fb530]
mov qword [rdx], rax
lea rcx, [0x1401fb530]
mov qword [rdx + 8], rcx
mov qword [0x1401fb530], rdx
mov qword [rax + 8], rdx
mov rcx, rbx
call fcn.140005e44
mov rcx, rbx
call fcn.1400229ac
mov dword [r14], r12d
xor eax, eax
jmp 0x14000fc0b
bt eax, 9
jae 0x14007f1fe
mov rax, qword [rbp - 0x51]
or word [rax + 0x128], 0x40
mov rsi, qword [rbp - 0x51]
mov ecx, dword [r14]
test ecx, ecx
je 0x14007f1f9
cmp dword [0x1401fcad8], r12d
je 0x14007f138
call fcn.1400b9b48
int3
mov edx, ecx
and edx, 0xfffffff
mov rax, qword [0x1401fa3e0]
mov rbx, qword [rax + rdx*8]
shr ecx, 0x1c
shl edi, cl
or edi, dword [rbx + 0x24]
mov dword [rbx + 0x24], edi
test byte [rbx + 0x28], 0x12
jne 0x14007f1c2
cmp edi, 0xffff
jne 0x14007f1f6
mov r8d, dword [0x1401fb524]
inc r8d
mov dword [0x1401fb524], r8d
lea rcx, [rbx + 8]
mov rax, qword [0x1401fb548]
lea rdx, [0x1401fb540]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
mov qword [rax], rcx
mov qword [0x1401fb548], rcx
mov byte [rbx + 0x29], 2
test byte [rbx + 0x28], 4
jne 0x14007f1b2
mov rax, qword [rbx + 0x40]
and dword [rax + 0x14], 0xffffffef
mov qword [rbx + 0x40], r12
cmp r8d, dword [0x1401fb528]
jne 0x14007f1f6
call fcn.1400ba23c
jmp 0x14007f1f6
lea r8, [rbx + 8]
mov rdx, qword [0x1401fb530]
mov qword [r8], rdx
lea rcx, [0x1401fb530]
mov qword [r8 + 8], rcx
mov qword [0x1401fb530], r8
mov qword [rdx + 8], r8
mov rcx, rbx
call fcn.140005e44
mov rcx, rbx
call fcn.1400229ac
mov dword [r14], r12d
jmp 0x14000fc08
mov edx, 0x1793
mov rcx, qword [rbp - 0x51]
call fcn.1400583f4
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov cl, dil
call fcn.140005b0c
mov byte [0x1401fadc8], r12b
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 0x30
call qword [sym.imp.tbbmalloc.dll_scalable_malloc]
mov rdi, rax
test rax, rax
je 0x14007f3b6
mov rcx, qword [0x1401fa558]
mov rax, qword [rcx]
or r14, 0xffffffffffffffff
mov rbx, r14
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x14007f255
add rbx, 3
lea rcx, [rbx + rbx]
call qword [sym.imp.tbbmalloc.dll_scalable_malloc]
mov rsi, rax
test rax, rax
je 0x14007f3b6
mov r9, qword [0x1401fa558]
mov r9, qword [r9]
lea r8, [0x1401a1388]
mov rdx, rbx
mov rcx, rax
call fcn.140005090
mov qword [rdi], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov eax, 0x20
movzx edx, word [rcx]
lea r8d, [rax + 2]
cmp dx, r8w
jne 0x14007f2be
movzx eax, r8w
add rcx, 2
movzx edx, word [rcx]
cmp dx, ax
jne 0x14007f2b7
lea rax, [rcx + 2]
cmp dx, r8w
cmovne rax, rcx
add rax, 2
mov qword [rdi + 8], rax
lea rax, str._LTCG
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r12
cmp byte [0x1401fcad2], r12b
je 0x14007f30d
call fcn.14000775c
lea rdx, [0x1401cb028]
mov ecx, 0x2347
call fcn.14000761c
mov rcx, rdi
call fcn.1401320c4
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8, r14
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
call fcn.140005adc
cmp byte [0x1401fa4b8], r12b
je 0x14007f349
mov rcx, qword [0x1401fa4f0]
test rcx, rcx
je 0x14007f349
call fcn.1400ba5e4
call fcn.140005c4c
call fcn.140042888
mov rcx, rax
call fcn.140005f1c
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
test eax, eax
je 0x14007f371
xor ecx, ecx
call fcn.14005e418
int3
mov rbx, qword [rbp - 0x49]
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.1400052dc
cmp byte [rbp - 0x41], r12b
jne 0x14007f39a
mov r8, rbx
mov edx, 0x486
xor ecx, ecx
call fcn.14005e3e8
int3
mov rcx, rdi
call qword [sym.imp.tbbmalloc.dll_scalable_free]
mov rcx, rsi
call qword [sym.imp.tbbmalloc.dll_scalable_free]
mov ecx, dword [rbp - 0x3d]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0x44e
xor ecx, ecx
call fcn.14005e3e8
int3
cmp byte [0x1401fa4fa], r12b
je 0x14000fbac
mov edx, 0x52c
mov rcx, qword [rbp - 0x51]
call fcn.140124a00
nop
cmp dword [0x1401fcad8], r12d
je 0x14007f3ee
call fcn.1400b9b48
int3
mov edx, ecx
and edx, 0xfffffff
mov rax, qword [0x1401fa3e0]
mov rbx, qword [rax + rdx*8]
shr ecx, 0x1c
shl edi, cl
or edi, dword [rbx + 0x24]
mov dword [rbx + 0x24], edi
test byte [rbx + 0x28], 0x12
jne 0x14007f478
cmp edi, 0xffff
jne 0x14007f4ac
mov r8d, dword [0x1401fb524]
inc r8d
mov dword [0x1401fb524], r8d
lea rcx, [rbx + 8]
mov rax, qword [0x1401fb548]
lea rdx, [0x1401fb540]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
mov qword [rax], rcx
mov qword [0x1401fb548], rcx
mov byte [rbx + 0x29], 2
test byte [rbx + 0x28], 4
jne 0x14007f468
mov rax, qword [rbx + 0x40]
and dword [rax + 0x14], 0xffffffef
mov qword [rbx + 0x40], r12
cmp r8d, dword [0x1401fb528]
jne 0x14007f4ac
call fcn.1400ba23c
jmp 0x14007f4ac
lea r8, [rbx + 8]
mov rdx, qword [0x1401fb530]
mov qword [r8], rdx
lea rcx, [0x1401fb530]
mov qword [r8 + 8], rcx
mov qword [0x1401fb530], r8
mov qword [rdx + 8], r8
mov rcx, rbx
call fcn.140005e44
mov rcx, rbx
call fcn.1400229ac
mov dword [r14], r12d
jmp 0x14000fc08