Function at 0x1801b9720
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 [0x1804c4e78]
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 0x1801b9761
lea rcx, [rbp + 0x17]
call fcn.1800087a0
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.1801b9ba0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1801b97bd
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801b97b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801b99c3
call fcn.18026a1a0
movdqa xmm0, xmmword [0x1802f2720]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, 2
jb 0x1801b996a
xor r8d, r8d
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.1801b4bc0
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
mov r8d, dword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1801b9911
mov ecx, eax
mov r8, qword [rbp - 0x19]
cmp rcx, r8
jae 0x1801b9911
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 0x19], rcx
mov word [rax + rcx*2], si
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1801b9df0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1801b989f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801b989a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801b99c9
call fcn.18026a1a0
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], si
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1801b98ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801b98ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801b99cf
call fcn.18026a1a0
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18026ad00
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, 8
jb 0x1801b989f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801b989a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801b99c9
jmp 0x1801b989a
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 + 0xf]
cmp rdx, 8
jb 0x1801b98ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801b98ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801b99cf
jmp 0x1801b98ea
call fcn.18028cdc8
int3
call fcn.18028cdc8
nop
call fcn.18028cdc8
int3