Function at 0x14000510c
Capabilities:
Accept command line arguments
Resolve path using msvcrt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov bpl, cl
xor r13d, r13d
xor ecx, ecx
mov byte [0x1401fadc8], r13b
mov r12b, r9b
mov r15b, r8b
mov r14, rdx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea ecx, [r13 + 0x30]
call qword [sym.imp.tbbmalloc.dll_scalable_malloc]
mov rbx, rax
test rax, rax
je 0x140077dee
mov r9, qword [0x1401fa558]
or rdi, 0xffffffffffffffff
mov rax, qword [r9]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x14000516a
add rdi, 3
lea rcx, [rdi + rdi]
call qword [sym.imp.tbbmalloc.dll_scalable_malloc]
mov rsi, rax
test rax, rax
je 0x140077dee
mov r9, qword [0x1401fa558]
lea r8, [0x1401a1388]
mov rdx, rdi
mov rcx, rax
mov r9, qword [r9]
call fcn.140005090
mov qword [rbx], rsi
test bpl, bpl
jne 0x140077d00
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov eax, 0x20
movzx edx, word [rcx]
lea r8d, [rax + 2]
cmp dx, r8w
je 0x140077d33
cmp dx, ax
je 0x1400051e3
add rcx, 2
movzx edx, word [rcx]
jmp 0x1400051d5
cmp dx, r8w
lea rax, [rcx + 2]
cmovne rax, rcx
add rax, 2
mov qword [rbx + 8], rax
test r14, r14
je 0x140077d4c
mov qword [rbx + 0x10], r14
test r15b, r15b
jne 0x140077d3c
mov rax, r13
mov qword [rbx + 0x18], rax
cmp byte [0x1401fcad2], r13b
jne 0x140077d96
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or rdx, 0xffffffffffffffff
mov rcx, rax
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
call fcn.140005adc
test r12b, r12b
jne 0x140005256
cmp byte [0x1401fa4b8], r13b
jne 0x140077dba
call fcn.140005c4c
call fcn.140042888
mov rcx, rax
call fcn.140005f1c
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
test eax, eax
jne 0x1400052d3
mov rdi, qword [rsp + 0x20]
lea rcx, [rsp + 0x88]
mov rdx, rdi
mov r8, rbx
call fcn.1400052dc
cmp byte [rsp + 0x88], r13b
je 0x140077dde
mov rcx, rbx
call qword [sym.imp.tbbmalloc.dll_scalable_free]
mov rcx, rsi
call qword [sym.imp.tbbmalloc.dll_scalable_free]
mov eax, dword [rsp + 0x8c]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ecx, ecx
call fcn.14005e418
int3
mov r8, qword [0x1401fd008]
test r8, r8
je 0x1400051b6
cmp byte [0x1401fcad3], r13b
mov qword [rbx + 8], r8
je 0x1400051f7
mov edx, 0x178b
xor ecx, ecx
call fcn.1400eb834
nop
jmp 0x1400051f7
movzx eax, r8w
jmp 0x1400051da
mov qword [rbx + 0x20], r13
lea rax, str._nologo
jmp 0x140005210
cmp dword [0x1401fa544], 6
lea rax, str._nologo
mov qword [rbx + 0x10], rax
jne 0x140077d8d
test bpl, bpl
lea rcx, str._incremental:no
lea rax, [0x1401cafd0]
cmove rax, rcx
mov qword [rbx + 0x18], rax
lea rax, str._fullbuild
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], r13
jmp 0x140005214
mov qword [rbx + 0x18], r13
jmp 0x140005214
call fcn.14000775c
lea rdx, [0x1401cb028]
mov ecx, 0x2347
call fcn.14000761c
mov rcx, rbx
call fcn.1401320c4
nop
jmp 0x140005221
test bpl, bpl
jne 0x140005256
mov rcx, qword [0x1401fa4f0]
test rcx, rcx
je 0x140005256
call fcn.1400ba5e4
nop
jmp 0x140005256
mov r8, rdi
mov edx, 0x486
xor ecx, ecx
call fcn.14005e3e8
int3
mov edx, 0x44e
xor ecx, ecx
call fcn.14005e3e8
int3