Function at 0x18006be80
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x1800cd230]
xor rax, rsp
mov qword [rbp - 0x30], rax
lea r15d, [rcx + 0x11]
mov qword [rsp + 0x68], r8
mov dword [rsp + 0x58], ecx
mov rdi, rdx
mov dword [rsp + 0x30], r15d
mov r14d, ecx
cmp ecx, r15d
jae 0x18006c5a7
mov eax, dword [rsp + 0x30]
lea r15d, [rcx - 0xaf]
mov dword [rsp + 0x38], r15d
lea rdx, [0x180000000]
movss xmm8, dword [rsp + 0x38]
movss xmm7, dword [rsp + 0x38]
movss xmm9, dword [rsp + 0x38]
movss xmm10, dword [rsp + 0x38]
nop dword [rax + rax]
cmp r15d, 0x46
ja case.default.0x18006bf3d
movzx eax, byte [rdx + r15 + 0x6c640]
mov ecx, dword [rdx + rax*4 + 0x6c5f8]
add rcx, rdx
jmp rcx
movaps xmm0, xmm8
subss xmm0, xmm7
movss dword [rdi + 8], xmm0
jmp case.0x18006bf3d.17
movss xmm9, dword [rdi + 0x1c]
movaps xmm0, xmm7
subss xmm9, dword [rdi + 0xc]
addss xmm0, xmm8
movss dword [rdi], xmm0
jmp case.0x18006bf3d.17
movss xmm8, dword [rdi + 0x18]
subss xmm8, dword [rdi + 8]
jmp case.0x18006bf3d.17
movsxd rdx, dword [r8]
test edx, edx
jns 0x18006c54f
mov esi, 0x87
nop
mov eax, esi
sub eax, 0x87
je 0x18006bfa4
cmp eax, 1
je 0x18006c5a7
jmp 0x18006bfde
xor ebx, ebx
xorps xmm6, xmm6
cmp dword [rdi + 0x40], ebx
jle 0x18006bfd8
nop
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
mov rdx, rdi
mov ecx, SHTestTokenMembership
call fcn.18006be80
inc ebx
mov qword [rsp + 0x50], rax
addsd xmm6, qword [rsp + 0x50]
cmp ebx, dword [rdi + 0x40]
jl 0x18006bfb0
movsd qword [rsp + 0x50], xmm6
inc esi
cmp esi, 0x89
jb 0x18006bf90
mov r8, qword [rsp + 0x68]
lea rdx, [0x180000000]
jmp case.0x18006bf3d.17
movaps xmm0, xmm7
addss xmm0, xmm8
movss dword [rdi + 0x1c], xmm0
jmp case.0x18006bf3d.17
cmp dword [rdi + 0x30], 0
jne 0x18006c145
mov rax, qword [rdi + 0x10]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [rax + 0x20]
test eax, eax
je 0x18006c145
mov ebx, 0x108
mov eax, ebx
sub eax, 0x108
je 0x18006c098
sub eax, 0x64
je 0x18006c071
cmp eax, 0x64
jne 0x18006c11a
mov rax, qword [rdi + 0x10]
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x30]
movsxd rdx, dword [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov qword [rcx + rdx*8], rax
inc dword [rdi + 0x30]
jmp 0x18006c11a
movsxd rdx, dword [rdi + 0x30]
mov rcx, qword [rdi + 0x18]
mov rax, qword [rsp + 0x60]
mov qword [rcx + rdx*8], rax
movsxd rdx, dword [rdi + 0x30]
mov rcx, qword [rdi + 0x20]
mov rax, qword [rsp + 0x70]
mov qword [rcx + rdx*8], rax
jmp 0x18006c11a
mov eax, dword [rdi + 0x30]
cmp dword [rdi + 0x34], eax
jg 0x18006c11a
mov r9, qword [rdi + 0x18]
add eax, 0xa
movsxd rcx, eax
xor edx, edx
shl rcx, 3
mov r8d, 0xf6
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x48]
mov dword [rdi + 0x34], eax
call fcn.18006b2b0
mov r9, qword [rdi + 0x20]
lea rcx, [rsp + 0x48]
mov qword [rdi + 0x18], rax
xor edx, edx
movsxd rax, dword [rdi + 0x34]
mov r8d, 0xf6
shl rax, 3
mov qword [rsp + 0x48], rax
call fcn.18006b2b0
mov r9, qword [rdi + 0x28]
lea rcx, [rsp + 0x48]
mov qword [rdi + 0x20], rax
xor edx, edx
movsxd rax, dword [rdi + 0x34]
mov r8d, 0xf6
shl rax, 3
mov qword [rsp + 0x48], rax
call fcn.18006b2b0
mov qword [rdi + 0x28], rax
add ebx, 0x64
cmp ebx, 0x234
jb 0x18006c035
mov rax, qword [rdi + 0x10]
lea r8, [rsp + 0x60]
mov ecx, dword [rdi + 0x30]
lea rdx, [rsp + 0x70]
call qword [rax + 0x20]
test eax, eax
jne 0x18006c030
mov r13d, 0x62
nop dword [rax + rax]
cmp r13d, 0x62
je 0x18006c339
cmp r13d, 0x10d8
jne 0x18006c397
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18006c397
mov qword [rsp + 0x28], 0
mov r9d, 0x127
xor r8d, r8d
mov qword [rsp + 0x20], 0
xor edx, edx
mov rcx, rax
call fcn.180018720
mov r12, rax
mov rbx, rax
movzx ecx, byte [rax]
test cl, cl
je 0x18006c324
mov r15, rbx
movzx eax, cl
cmp cl, 0x3a
je 0x18006c1c9
movzx ecx, byte [rbx + 1]
inc rbx
movzx eax, cl
test cl, cl
jne 0x18006c1b3
test al, al
je 0x18006c1d3
mov byte [rbx], 0
inc rbx
movzx eax, byte [rbx]
mov r14, rbx
test al, al
je 0x18006c200
movzx ecx, al
movzx eax, cl
cmp cl, 0x3a
je 0x18006c1f6
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x18006c1e0
test al, al
je 0x18006c200
mov byte [rbx], 0
inc rbx
mov rax, qword [rdi + 0x10]
call qword [rax + 0x18]
mov r8, qword [rdi + 0x10]
mov rdx, r14
mov rcx, rax
mov rsi, rax
call qword [r8 + 0x28]
mov r8, qword [rdi + 0x10]
mov edx, 1
mov rcx, rsi
call qword [r8 + 0x60]
test rax, rax
je 0x18006c23c
mov rdx, qword [rdi + 0x10]
mov rcx, rsi
call qword [rdx + 0x38]
jmp 0x18006c319
mov eax, dword [rdi + 0x30]
cmp dword [rdi + 0x34], eax
jg 0x18006c2c5
mov r9, qword [rdi + 0x18]
add eax, 0xa
movsxd rcx, eax
xor edx, edx
shl rcx, 3
mov r8d, 0xf6
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x48]
mov dword [rdi + 0x34], eax
call fcn.18006b2b0
mov r9, qword [rdi + 0x20]
lea rcx, [rsp + 0x48]
mov qword [rdi + 0x18], rax
xor edx, edx
movsxd rax, dword [rdi + 0x34]
mov r8d, 0xf6
shl rax, 3
mov qword [rsp + 0x48], rax
call fcn.18006b2b0
mov r9, qword [rdi + 0x28]
lea rcx, [rsp + 0x48]
mov qword [rdi + 0x20], rax
xor edx, edx
movsxd rax, dword [rdi + 0x34]
mov r8d, 0xf6
shl rax, 3
mov qword [rsp + 0x48], rax
call fcn.18006b2b0
mov qword [rdi + 0x28], rax
mov eax, dword [rdi + 0x30]
movsxd rdx, eax
xor r14d, r14d
mov rax, qword [rdi + 0x18]
mov r9d, 0x127
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], r14
mov qword [rax + rdx*8], rsi
xor edx, edx
call fcn.180018720
movsxd rdx, dword [rdi + 0x30]
mov rcx, qword [rdi + 0x20]
mov qword [rcx + rdx*8], rax
lea edx, [r14 + 1]
mov rax, qword [rdi + 0x10]
mov rcx, rsi
call qword [rax + 0x30]
movsxd rdx, dword [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov qword [rcx + rdx*8], rax
inc dword [rdi + 0x30]
movzx ecx, byte [rbx]
test cl, cl
jne 0x18006c1b0
xor r9d, r9d
mov r8d, 0x11b
mov rdx, r12
xor ecx, ecx
call fcn.1800251e0
jmp 0x18006c397
mov r8, qword [rdi + 0x10]
lea rdx, str.Prindi_...
lea rcx, [rbp - 0x80]
mov r8, qword [r8]
call fcn.1800a71c0
movzx eax, byte [rbp - 0x80]
xor esi, esi
test al, al
je 0x18006c392
lea rbx, [rbp - 0x80]
nop
movzx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x18006c37d
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbp + rsi - 0x80], al
inc rsi
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x18006c360
cmp rsi, 0x50
jae 0x18006c5f2
mov byte [rbp + rsi - 0x80], 0
add r13d, 0x1076
cmp r13d, 0x20ec
jbe 0x18006c150
mov r14d, dword [rsp + 0x58]
lea rdx, [0x180000000]
mov r15d, dword [rsp + 0x38]
mov r8, qword [rsp + 0x68]
jmp case.0x18006bf3d.17
lea rdx, [rdi + 0x48]
mov r9d, 0x85
xor r8d, r8d
xor ecx, ecx
call fcn.18000fc70
mov r8, qword [rsp + 0x68]
lea rdx, [0x180000000]
jmp case.0x18006bf3d.17
cmp dword [rdi + 8], 0
je 0x18006c3fd
mov eax, dword [rdi + 0x40]
cmp dword [r8], eax
jl case.0x18006bf3d.17
movsd xmm0, qword [0x1800c4928]
movsd qword [rsp + 0x50], xmm0
jmp 0x18006c5a7
movss xmm0, dword [rdi]
movss xmm10, dword [rdi + 0x10]
movaps xmm9, xmm0
addss xmm9, xmm10
subss xmm10, xmm0
movaps xmm0, xmm9
addss xmm0, xmm7
subss xmm7, xmm9
movss dword [rdi + 0x18], xmm0
movss dword [rdi + 0x10], xmm7
movss xmm7, dword [rdi + 0x14]
subss xmm7, dword [rdi + 4]
jmp case.0x18006bf3d.17
movaps xmm0, xmm8
subss xmm0, xmm7
movss dword [rdi + 0x14], xmm0
jmp case.0x18006bf3d.17
cmp dword [rdi + 0x80], 2
jl 0x18006c3fd
jmp case.0x18006bf3d.17
movss xmm8, dword [rdi + 0x1c]
movaps xmm0, xmm10
movss xmm7, dword [rdi + 0x14]
addss xmm0, xmm9
addss xmm8, dword [rdi + 0xc]
addss xmm7, dword [rdi + 4]
movss dword [rdi + 0xc], xmm0
jmp case.0x18006bf3d.17
movaps xmm0, xmm9
subss xmm0, xmm10
movss dword [rdi + 4], xmm0
jmp case.0x18006bf3d.17
movss xmm7, dword [rdi + 0x18]
addss xmm7, dword [rdi + 8]
jmp case.0x18006bf3d.17
cmp byte [rdi + 0x118], 0
jne case.0x18006bf3d.17
mov ecx, 0x10f
mov eax, ecx
sub eax, 0x10f
je 0x18006c521
sub eax, 1
je 0x18006c516
cmp eax, 1
jne 0x18006c526
mov rbx, qword [rsp + 0x78]
xor r8d, r8d
mov rcx, rbx
xor edx, edx
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
je 0x18006c5a7
cmp byte [rsp + 0x40], 0
je 0x18006c5a7
xor edx, edx
mov rcx, rbx
call qword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
mov rcx, rbx
call qword [sym.imp.dbghelp.dll_SymCleanup]
jmp 0x18006c5a7
mov qword [rsp + 0x78], 0xffffffffffffffff
jmp 0x18006c526
mov byte [rsp + 0x40], 1
inc ecx
cmp ecx, 0x112
jb 0x18006c4c4
mov eax, dword [rsp + 0x30]
inc r14d
inc r15d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x38], r15d
cmp r14d, eax
jb 0x18006bf20
jmp 0x18006c5a7
lea eax, [rdx + rdx]
xorps xmm1, xmm1
movsxd rcx, eax
mov rax, qword [rdi + 0x60]
cvtsi2sd xmm1, qword [rax + rcx*8 + 8]
mov rax, qword [rdi + 0x68]
lea rcx, [rdx + rdx*4]
movd xmm0, dword [rax + rcx*8 + 8]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [rsp + 0x50], xmm1
jmp 0x18006c5a7
mov rbx, qword [r8]
xor edx, edx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x18006c59b
sub rax, rdi
jmp 0x18006c5ac
mov rax, rbx
jmp 0x18006c5ac
mov eax, dword [rdi + 0x30]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1800a7b10
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800a77f8
int3