Function at 0x1801cab50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov qword [rbp - 0x31], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x1801cab91
lea rcx, [rbp + 0x17]
call fcn.1800083d0
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.1801cafe0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1801cabed
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cabe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cadff
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5620]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xorps xmm0, xmm0
cmp eax, 2
jb 0x1801cada9
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
mov r8d, eax
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.1801c5870
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rdx, qword [rbp - 0x29]
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
mov r8d, dword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1801cad50
mov ecx, eax
mov r8, qword [rbp - 0x19]
cmp rcx, r8
jae 0x1801cad50
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rax, qword [rbp - 0x29]
mov qword [rbp - 0x19], rcx
mov word [rax + rcx*2], si
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1801cb230
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x1801cacde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cacd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cae05
call fcn.180286270
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], si
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1801cad2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cad29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cae0b
call fcn.180286270
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180286db0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x1801cacde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cacd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cae05
jmp 0x1801cacd9
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1801cad2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cad29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cae0b
jmp 0x1801cad29
call fcn.18028ddc0
int3
call fcn.18028ddc0
nop
call fcn.18028ddc0
int3