Function at 0x140008b0c
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.140030d40
sub rsp, rax
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x2f00], rax
mov r13, rcx
mov edi, 0x2ee0
mov bl, dl
mov rcx, rdi
call fcn.140016208
lea rdx, [0x140034cb8]
xor r9d, r9d
mov rcx, rax
mov r8b, bl
mov r14, rax
call fcn.140006dac
mov rcx, rdi
call fcn.140016208
xor r15d, r15d
mov rbp, rax
cmp bl, r15b
je 0x140008ba9
mov ecx, 0x1770
call fcn.140016208
mov rcx, rax
mov rbx, rax
call fcn.140006b30
lea rdx, [0x1400340a8]
mov r8, rbx
mov rcx, rbp
call fcn.1400174a8
mov rcx, rbx
call fcn.1400166c0
jmp 0x140008bb3
mov dl, 1
mov rcx, rax
call fcn.140006b8c
lea rdx, [0x140035718]
mov r8, r14
mov rcx, r13
call fcn.14000899c
lea rdx, [0x1400356f0]
mov r8, r14
mov rcx, r13
call fcn.14000899c
lea rsi, [0x14004e000]
lea rdx, [0x1400356d0]
mov r8, rsi
mov rcx, r13
call fcn.140008a50
lea rdx, [0x1400356a8]
mov r8, rsi
mov rcx, r13
call fcn.140008a50
lea rdi, [0x140034a88]
lea rdx, [0x140035670]
mov r8, rdi
mov rcx, r13
call fcn.14000899c
lea rdx, [0x140035630]
mov r8, rdi
mov rcx, r13
call fcn.14000899c
lea rbx, [0x14004c7a0]
lea rdx, [0x140035608]
mov r8, rbx
mov rcx, r13
call fcn.140008a50
lea rdx, [0x1400355d8]
mov r8, rbx
mov rcx, r13
call fcn.140008a50
lea rdx, [0x1400355b8]
mov r8, r14
mov rcx, r13
call fcn.14000899c
lea rdx, [0x140035590]
mov r8, r14
mov rcx, r13
call fcn.14000899c
lea rdx, [0x140035568]
mov r8, rsi
mov rcx, r13
call fcn.140008a50
lea rdx, [0x140035538]
mov r8, rsi
mov rcx, r13
call fcn.140008a50
lea rdx, [0x140035500]
mov r8, rdi
mov rcx, r13
call fcn.14000899c
lea rdx, [0x1400354c0]
mov r8, rdi
mov rcx, r13
call fcn.14000899c
lea rdx, [0x140035498]
mov r8, rbx
mov rcx, r13
call fcn.140008a50
lea rdx, [0x140035468]
mov r8, rbx
mov rcx, r13
call fcn.140008a50
lea rdx, [0x140035420]
mov r8, r14
mov rcx, r13
call fcn.14000899c
lea rdx, [0x1400353d0]
mov r8, rsi
mov rcx, r13
call fcn.140008a50
lea rdx, [0x140035380]
mov r8, rdi
mov rcx, r13
call fcn.14000899c
mov r8, rbx
lea rdx, [0x140035348]
mov rcx, r13
call fcn.140008a50
lea rdx, [0x140035318]
mov r8, rbp
mov rcx, r13
call fcn.14000899c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r12, rax
cmp rax, r15
je 0x140008e0e
mov rdi, rax
cmp word [rax], r15w
je 0x140008e0e
mov rcx, rdi
call fcn.140016da8
mov rcx, 0xffffffffffffffff
lea r11, [rax + 1]
mov eax, 2
mul r11
cmovo rax, rcx
mov rcx, rax
call fcn.140016208
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.14001748c
mov edx, 0x3d
mov rcx, rsi
call fcn.140018294
mov rbx, rax
cmp rax, r15
je 0x140008def
lea rdx, [0x140035308]
lea rcx, [rsp + 0x20]
mov r8, rsi
mov word [rax], r15w
call fcn.1400174a8
lea r8, [rbx + 2]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14000899c
lea rcx, [rsp + 0x20]
call fcn.14001915c
lea r8, [rbx + 2]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14000899c
mov rcx, rdi
call fcn.140016da8
mov rcx, rsi
lea rdi, [rdi + rax*2 + 2]
call fcn.1400166c0
cmp word [rdi], r15w
jne 0x140008d61
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rcx, r14
call fcn.1400166c0
mov rcx, rbp
call fcn.1400166c0
mov rcx, qword [rsp + 0x2f00]
xor rcx, rsp
call fcn.140016a50
mov rbx, qword [rsp + 0x2f60]
add rsp, 0x2f10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret