Function at 0x14000c13c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xba0]
sub rsp, 0xca0
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rbp + 0xb90], rax
mov rax, qword [rbp + 0xc00]
mov r15, r8
and qword [rsp + 0x38], 0
mov rdi, rcx
mov qword [rsp + 0x60], rax
mov r13d, 1
mov rax, qword [rbp + 0xc08]
mov r12, r9
mov qword [rsp + 0x28], rax
mov ebx, r13d
mov rax, qword [r8]
mov r8, rcx
movsxd r14, edx
lea rcx, [rbp + 0x770]
lea rdx, [0x14000d788]
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x70], rax
call fcn.14000bff4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, 0x400
lea rdx, [0x140031ba0]
lea rcx, [rbp + 0x770]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x3fe
ja 0x14000c256
lea r8, [rsp + 0x38]
lea rdx, [0x14000d790]
lea rcx, [0x140031ba0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x14000c277
mov esi, r13d
mov ecx, 0x100
cmp rsi, rcx
je 0x14000c23e
mov qword [rsp + rsi*8 + 0x70], rax
lea r8, [rsp + 0x38]
lea rdx, [0x14000d790]
xor ecx, ecx
add rsi, r13
add ebx, r13d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x14000c20e
jmp 0x14000c277
mov r9d, ecx
mov r8, rdi
mov edx, 0x4a
mov rcx, rdi
call fcn.14000ad48
jmp 0x14000c368
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x14000c277
lea r8, [rbp + 0x770]
mov edx, 0x48
mov rcx, rdi
call fcn.14000acf0
mov rdx, r13
cmp r14, r13
jle 0x14000c2a6
movsxd rcx, ebx
cmp rcx, 0x100
je 0x14000c33c
mov rax, qword [r15 + rdx*8]
add ebx, r13d
mov qword [rsp + rcx*8 + 0x70], rax
add rdx, r13
add rcx, r13
cmp rdx, r14
jl 0x14000c282
mov r8, rdi
lea rdx, str.__s_
lea rcx, [rbp + 0x980]
call fcn.14000bff4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, 0x400
lea rdx, [0x1400323a0]
lea rcx, [rbp + 0x980]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x3fe
ja 0x14000c347
lea r8, [rsp + 0x38]
lea rdx, [0x14000d790]
lea rcx, [0x1400323a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x14000c368
movsxd rsi, ebx
mov ecx, 0x100
cmp rsi, rcx
je 0x14000c23e
mov qword [rsp + rsi*8 + 0x70], rax
lea r8, [rsp + 0x38]
lea rdx, [0x14000d790]
xor ecx, ecx
add rsi, r13
add ebx, r13d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x14000c308
jmp 0x14000c368
mov r9d, 0x100
jmp 0x14000c241
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x14000c368
lea r8, [rbp + 0x980]
mov edx, 0x48
mov rcx, rdi
call fcn.14000acf0
cmp dword [r12], 5
mov rcx, r12
je 0x14000c37b
add rcx, 0x28
cmp dword [rcx], 5
jne 0x14000c372
sub rcx, r12
movabs rax, 0x6666666666666667
imul rcx
mov r13, rdx
sar r13, 4
mov rax, r13
shr rax, 0x3f
add r13, rax
movsxd rcx, r13d
mov qword [rsp + 0x58], r13
call fcn.14000cbb8
mov r14, rax
mov qword [rsp + 0x48], rax
movsxd r15, ebx
mov rcx, 0xffffffffffffffff
mov eax, 8
mov qword [rsp + 0x50], r15
mul r15
cmovo rax, rcx
mov rcx, rax
call fcn.14000cbb8
mov qword [rsp + 0x30], rax
mov r8, rax
test r14, r14
je 0x14000c3e6
test rax, rax
jne 0x14000c402
mov r8d, 0xbf
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogocommoncmdline.cpp
mov ecx, 2
call fcn.14000a894
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
xor eax, eax
and dword [rdx], 0
test r13, r13
je 0x14000c437
lea rcx, [r12 + 0x20]
mov byte [rax + r14], 0
mov rdx, qword [rcx]
test rdx, rdx
je 0x14000c426
mov byte [rdx], 0
inc rax
add rcx, 0x28
cmp rax, r13
jb 0x14000c416
mov rdx, qword [rsp + 0x28]
xor cl, cl
mov ebx, 1
mov byte [rsp + 0x20], cl
mov r12b, 1
cmp rbx, r15
jge 0x14000c60b
mov r13, qword [rsp + 0x48]
lea r14, [rsp + 0x70]
mov r9d, 0xfffd
mov r15, qword [rsp + rbx*8 + 0x70]
movzx eax, word [r15]
sub ax, 0x2d
test r9w, ax
je 0x14000c47f
movsxd rax, dword [rdx]
mov qword [r8 + rax*8], r15
inc dword [rdx]
jmp 0x14000c5e2
lea rdx, [0x14000d750]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x14000c5d2
lea rdx, str._nologo
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x14000c5d2
mov rcx, qword [rsp + 0x40]
lea rdx, [r15 + 2]
call fcn.14000c694
inc rbx
add r14, 8
mov rsi, rax
test rax, rax
jne 0x14000c4f0
mov r8, r15
lea edx, [rax + 0x3f]
mov rcx, rdi
call fcn.14000a918
mov r8, qword [rsp + 0x30]
xor r12b, r12b
mov rdx, qword [rsp + 0x28]
mov r9d, 0xfffd
jmp 0x14000c5e9
mov rcx, rsi
movabs rax, 0x6666666666666667
sub rcx, qword [rsp + 0x40]
imul rcx
mov r15, rdx
sar r15, 4
mov rax, r15
shr rax, 0x3f
add r15, rax
cmp byte [r15 + r13], 0
je 0x14000c52d
mov r8, qword [r14]
mov edx, 0x43
mov rcx, rdi
call fcn.14000acf0
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14000c539
mov byte [rax], 1
cmp dword [rsi], 0
jne 0x14000c547
mov rax, qword [rsi + 0x18]
mov byte [rax], 1
jmp 0x14000c5b7
cmp dword [rsi], 1
jne 0x14000c55a
mov rax, qword [rsi + 0x18]
mov cl, 1
mov byte [rsp + 0x20], cl
mov byte [rax], cl
jmp 0x14000c5bb
mov rdx, qword [0x140031b90]
test rdx, rdx
je 0x14000c570
mov rcx, rsi
call fcn.14000c0d8
jmp 0x14000c5b7
cmp dword [rsi], 3
je 0x14000c53e
cmp rbx, qword [rsp + 0x50]
je 0x14000c5a3
mov rdx, qword [rsp + rbx*8 + 0x70]
mov ecx, 0xfffd
movzx eax, word [rdx]
sub ax, 0x2d
test cx, ax
je 0x14000c5a3
mov rcx, rsi
call fcn.14000c0d8
inc rbx
add r14, 8
jmp 0x14000c5b7
mov r8, qword [rsi + 8]
mov edx, 0x3d
mov rcx, rdi
call fcn.14000a918
xor r12b, r12b
mov cl, byte [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov r9d, 0xfffd
mov rdx, qword [rsp + 0x28]
mov byte [r15 + r13], 1
jmp 0x14000c5ed
mov r8, qword [rsp + 0x30]
mov r9d, 0xfffd
mov rdx, qword [rsp + 0x28]
inc rbx
add r14, 8
mov cl, byte [rsp + 0x20]
cmp rbx, qword [rsp + 0x50]
jl 0x14000c45e
mov r13, qword [rsp + 0x58]
test cl, cl
jne 0x14000c64d
test r12b, r12b
je 0x14000c64d
mov r14, qword [rsp + 0x48]
xor esi, esi
test r13, r13
je 0x14000c64d
mov rbx, qword [rsp + 0x40]
add rbx, 8
cmp dword [rbx - 8], 0
je 0x14000c641
cmp byte [rbx + 8], 0
je 0x14000c641
cmp byte [rsi + r14], 0
jne 0x14000c641
mov r8, qword [rbx]
mov edx, 0x3e
mov rcx, rdi
call fcn.14000a918
xor r12b, r12b
inc rsi
add rbx, 0x28
cmp rsi, r13
jb 0x14000c61b
mov rcx, qword [rsp + 0x48]
call fcn.1400099cc
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov al, r12b
mov rcx, qword [rbp + 0xb90]
xor rcx, rsp
call fcn.140009970
mov rbx, qword [rsp + 0xce8]
add rsp, 0xca0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret