Function at 0x14000c0dc
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x488
mov r14, rcx
lea rsi, [rsp + 0x88]
mov rcx, rsi
call fcn.14000bc58
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000c2a7
mov qword [rsp + 0x58], r14
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov r8d, 0x200
mov ebp, 2
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x14000c14f
lea r14, [rsp + 0x88]
mov r15d, 0x200
mov r12, r8
jmp 0x14000c215
sub r8, rbx
mov rax, r13
sub rax, rbx
cmp rax, r8
jae 0x14000c1fa
add rbx, r8
jae 0x14000c16d
xor ecx, ecx
jmp 0x14000c1f2
lea rax, [r13*2]
mov rsi, rax
cmp rax, rbx
ja 0x14000c180
mov rsi, rbx
cmp rsi, 5
jae 0x14000c18b
mov esi, 4
xor edx, edx
mov rcx, rsi
shr rcx, 0x3e
sete cl
test r13, r13
je 0x14000c1ad
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rax
mov eax, 2
jmp 0x14000c1af
xor eax, eax
lea r8, [rsi + rsi]
mov dl, cl
add rdx, rdx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x60]
lea r9, [rsp + 0x30]
call fcn.140004dd5
cmp qword [rsp + 0x60], 0
je 0x14000c1e0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
jmp 0x14000c1f2
mov rbp, qword [rsp + 0x68]
mov r13, rsi
movabs rcx, 0x8000000000000001
mov rdx, rbx
call fcn.140004d99
mov eax, 0xffffffff
mov rbx, r13
cmp r13, rax
jb 0x14000c20c
mov ebx, 0xffffffff
mov r14, rbp
mov r15, rbx
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, rdi
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x14000c23c
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000c2bb
mov r8d, esi
cmp r12, r8
jne 0x14000c26e
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000c3c5
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
jb 0x14000c266
mov r12d, 0xffffffff
mov r8, r12
jmp 0x14000c130
jb 0x14000c130
cmp r15, r8
jb 0x14000c3c5
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov rdx, r14
call fcn.14000a6b3
mov bl, byte [rsi + 0x18]
mov rcx, rbp
mov rdx, r13
call fcn.14000a5b8
cmp bl, 2
jne 0x14000c2f3
mov rbx, qword [rsp + 0x30]
jmp 0x14000c2d8
lea rcx, [rsp + 0x88]
call fcn.14000be42
mov byte [rsp + 0x78], 2
jmp 0x14000c325
call fcn.14000a503
mov rbx, rax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x48], 2
mov rcx, rbp
mov rdx, r13
call fcn.14000a5b8
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov byte [rsp + 0x78], 2
mov rcx, rbx
call fcn.1400071b1
mov bl, 2
jmp 0x14000c315
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov bl, byte [rsp + 0x78]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.14000a5b8
cmp bl, 2
jne 0x14000c33e
mov byte [r14 + 0x18], 2
add rsp, 0x488
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x88]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14000c3c9
mov al, byte [rsi + 0x18]
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x30], xmm0
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x40], rcx
cmp al, 2
jne 0x14000c384
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
mov byte [r14 + 0x18], 3
jmp 0x14000c32a
mov ecx, dword [rsp + 0xa1]
mov edx, dword [rsp + 0xa4]
mov dword [rsp + 0x2b], edx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x40]
mov qword [r14 + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
mov byte [r14 + 0x18], al
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [r14 + 0x19], eax
mov dword [r14 + 0x1c], ecx
jmp 0x14000c32a
ud2