Function at 0x1801c67c0
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 [0x1804e1080]
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 0x1801c6801
lea rcx, [rbp + 0x17]
call fcn.1800080b0
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.1801c6c50
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1801c685d
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c6858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801c6a6f
call fcn.18027ee90
movdqa xmm0, xmmword [0x180309720]
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 0x1801c6a19
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.1801c14e0
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 0x1801c69c0
mov ecx, eax
mov r8, qword [rbp - 0x19]
cmp rcx, r8
jae 0x1801c69c0
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.1801c6ea0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x1801c694e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c6949
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801c6a75
call fcn.18027ee90
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], si
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1801c699e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c6999
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801c6a7b
call fcn.18027ee90
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18027f9e0
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 0x1801c694e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c6949
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801c6a75
jmp 0x1801c6949
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 0x1801c699e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c6999
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801c6a7b
jmp 0x1801c6999
call fcn.1802a2050
int3
call fcn.1802a2050
nop
call fcn.1802a2050
int3