Function at 0x140024740
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 [0x14005b018]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r12d, r12d
mov r14, rax
test rax, rax
jne 0x1400247b1
lea ecx, [rax + 0x60]
mov qword [rdi], r12
mov qword [rdi + 8], r12
call fcn.1400070c0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
jmp 0x1400249c2
mov esi, 0x60
mov qword [rsp + 0x28], r12
mov ecx, esi
mov rbx, r14
call fcn.1400070c0
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 [rbx + rax*2], r12w
jne 0x1400247df
lea rdx, [0x140053174]
mov rcx, rbx
lea r13, [rbx + rax*2]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14002494c
cmp rax, rbx
je 0x14002494c
lea r15, [rax + 2]
cmp r15, r13
je 0x14002494c
sub rax, rbx
sar rax, 1
cmp rax, 0x61a8
ja 0x14002494c
mov r8, rax
mov qword [rbp - 0x68], r12
mov rdx, rbx
mov qword [rbp - 0x58], r12
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x50], 7
call fcn.14000e828
mov r8d, 0x7530
lea rcx, [rsp + 0x40]
sub r8, qword [rbp - 0x58]
mov rdx, r15
call fcn.140024b20
mov rbx, qword [rsp + 0x40]
jmp 0x14002492e
lea rdx, [rbp - 0x68]
mov qword [rbp - 0x40], r12
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
call fcn.14000dd60
mov rdx, rbx
mov qword [rbp - 0x20], r12
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
call fcn.14000dd60
mov r8, qword [rsp + 0x20]
lea r9, [rbp - 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140023550
mov r15, qword [rsp + 0x38]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
lea r8, [r15 + 0x20]
call fcn.140023d7c
movsd xmm0, qword [rax + 0x10]
movups xmm6, xmmword [rax]
movabs rax, 0x2aaaaaaaaaaaaaa
movsd qword [rsp + 0x70], xmm0
cmp qword [rsp + 0x28], rax
je 0x1400249f7
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], r12
call fcn.140024280
mov r8, r15
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x60], xmm6
call fcn.140025720
lea rcx, [rbp - 0x20]
call fcn.14000ed54
lea rcx, [rbp - 0x40]
call fcn.14000ed54
add rbx, 0x20
cmp rbx, qword [rsp + 0x48]
jne 0x14002486e
lea rcx, [rsp + 0x40]
call fcn.140025920
lea rcx, [rbp - 0x68]
call fcn.14000ed54
lea rbx, [r13 + 2]
cmp word [rbx], r12w
jne 0x1400247db
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rcx, rsi
mov qword [rdi], r12
mov qword [rdi + 8], r12
call fcn.1400070c0
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 [rdi], rcx
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + 0x28]
mov qword [rdi + 8], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov r8, qword [rax + 8]
call fcn.140023cfc
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.140011470
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140011450
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