Function at 0x140008919
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2f10
call fcn.140031fcd
sub rsp, rax
mov rax, qword [0x1401279c0]
xor rax, rsp
mov qword [rsp + 0x2f00], rax
mov r13, rcx
mov edi, 0x2ee0
mov bl, dl
mov rcx, rdi
call fcn.140015112
lea rdx, [0x14003d9f8]
xor r9d, r9d
mov rcx, rax
mov r8b, bl
mov r14, rax
call fcn.140006bf7
mov rcx, rdi
call fcn.140015112
xor r15d, r15d
mov rbp, rax
cmp bl, r15b
je 0x1400089bd
mov ecx, 0x1770
call fcn.140015112
mov rcx, rax
mov rbx, rax
call fcn.140006947
lea rdx, [0x14003d068]
mov r8, rbx
mov rcx, rbp
call fcn.140016648
mov rcx, rbx
call fcn.140015678
jmp 0x1400089c7
mov dl, 1
mov rcx, rax
call fcn.1400069b3
lea rdx, [0x14003e278]
mov r8, r14
mov rcx, r13
call fcn.14000879b
lea rdx, [0x14003e250]
mov r8, r14
mov rcx, r13
call fcn.14000879b
lea rsi, [0x140136720]
lea rdx, [0x14003e230]
mov r8, rsi
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003e208]
mov r8, rsi
mov rcx, r13
call fcn.140008856
lea rdi, [0x14003d7c8]
lea rdx, [0x14003e1d0]
mov r8, rdi
mov rcx, r13
call fcn.14000879b
lea rdx, [0x14003e190]
mov r8, rdi
mov rcx, r13
call fcn.14000879b
lea rbx, [0x140134f00]
lea rdx, [0x14003e168]
mov r8, rbx
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003e138]
mov r8, rbx
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003e118]
mov r8, r14
mov rcx, r13
call fcn.14000879b
lea rdx, [0x14003e0f0]
mov r8, r14
mov rcx, r13
call fcn.14000879b
lea rdx, [0x14003e0c8]
mov r8, rsi
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003e098]
mov r8, rsi
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003e060]
mov r8, rdi
mov rcx, r13
call fcn.14000879b
lea rdx, [0x14003e020]
mov r8, rdi
mov rcx, r13
call fcn.14000879b
lea rdx, [0x14003dff8]
mov r8, rbx
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003dfc8]
mov r8, rbx
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003df80]
mov r8, r14
mov rcx, r13
call fcn.14000879b
lea rdx, [0x14003df30]
mov r8, rsi
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003dee0]
mov r8, rdi
mov rcx, r13
call fcn.14000879b
mov r8, rbx
lea rdx, [0x14003dea8]
mov rcx, r13
call fcn.140008856
lea rdx, [0x14003de78]
mov r8, rbp
mov rcx, r13
call fcn.14000879b
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r12, rax
cmp rax, r15
je 0x140008c26
mov rdi, rax
cmp word [rax], r15w
je 0x140008c26
mov rcx, rdi
call fcn.140015e86
mov rcx, 0xffffffffffffffff
lea r11, [rax + 1]
mov eax, 2
mul r11
cmovo rax, rcx
mov rcx, rax
call fcn.140015112
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.140016628
mov edx, 0x3d
mov rcx, rsi
call fcn.140017653
mov rbx, rax
cmp rax, r15
je 0x140008c07
lea rdx, [0x14003de68]
lea rcx, [rsp + 0x20]
mov r8, rsi
mov word [rax], r15w
call fcn.140016648
lea r8, [rbx + 2]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14000879b
lea rcx, [rsp + 0x20]
call fcn.1400182c0
lea r8, [rbx + 2]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14000879b
mov rcx, rdi
call fcn.140015e86
mov rcx, rsi
lea rdi, [rdi + rax*2 + 2]
call fcn.140015678
cmp word [rdi], r15w
jne 0x140008b75
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rcx, r14
call fcn.140015678
mov rcx, rbp
call fcn.140015678
mov rcx, qword [rsp + 0x2f00]
xor rcx, rsp
call fcn.140015ae6
mov rbx, qword [rsp + 0x2f60]
add rsp, 0x2f10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret