Function at 0x140120084
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x30], r13d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r14, rax
test rax, rax
jne 0x140120102
mov qword [rbx], r13
mov qword [rbx + 8], r13
lea ecx, [rax + 0x60]
call fcn.140022350
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
jmp 0x140120303
mov rdi, r14
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], r13
mov esi, 0x60
mov ecx, esi
call fcn.140022350
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x20], rax
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r13w
jne 0x140120135
lea r13, [rdi + rax*2]
lea rdx, [0x1401c84e4]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14012028a
cmp rax, rdi
je 0x14012028a
lea r15, [rax + 2]
cmp r15, r13
je 0x14012028a
mov rcx, rax
sub rcx, rdi
sar rcx, 1
cmp rcx, 0x61a8
ja 0x14012028a
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140007148
nop
mov r8d, 0x7530
sub r8, qword [rbp - 0x58]
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.14012040c
nop
mov rdi, qword [rsp + 0x48]
jmp 0x14012026b
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.140006d50
nop
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140006d50
nop
or r12d, 2
lea r9, [rbp - 0x40]
mov r8, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14011ede4
nop
mov r15, qword [rsp + 0x40]
lea r8, [r15 + 0x20]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.14011f2f0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x70], xmm0
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsp + 0x28], rax
je 0x140120338
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x38]
call fcn.14011f764
movdqu xmmword [rsp + 0x60], xmm6
mov r8, r15
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400f5abc
nop
lea rcx, [rbp - 0x20]
call fcn.1400235d4
lea rcx, [rbp - 0x40]
call fcn.1400235d4
add rdi, 0x20
cmp rdi, qword [rsp + 0x50]
jne 0x1401201ba
lea rcx, [rsp + 0x48]
call fcn.1400565d8
nop
lea rcx, [rbp - 0x68]
call fcn.1400235d4
lea rdi, [r13 + 2]
xor r13d, r13d
cmp word [rdi], r13w
jne 0x140120131
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov rcx, rsi
call fcn.140022350
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov rcx, qword [rsp + 0x20]
mov qword [rbx], rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + 0x28]
mov qword [rbx + 8], rcx
mov qword [rsp + 0x28], rdx
mov r8, qword [rax + 8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14011f270
mov rdx, rsi
mov rcx, qword [rsp + 0x20]
call fcn.14005a620
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14005a600
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3