Function at 0x140009558
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.14003ad30
sub rsp, rax
mov rax, qword [0x14004de00]
xor rax, rsp
mov qword [rsp + 0x2f00], rax
mov r13, rcx
mov edi, 0x2ee0
mov bl, dl
mov rcx, rdi
call fcn.14001b160
lea rdx, [0x14003ee24]
xor r9d, r9d
mov rcx, rax
mov r8b, bl
mov r14, rax
call fcn.14000798c
mov rcx, rdi
call fcn.14001b160
xor r15d, r15d
mov rbp, rax
cmp bl, r15b
je 0x1400095f5
mov ecx, 0x1770
call fcn.14001b160
mov rcx, rax
mov rbx, rax
call fcn.140007710
lea rdx, [0x14003e118]
mov r8, rbx
mov rcx, rbp
call fcn.14001cf68
mov rcx, rbx
call fcn.14001c17c
jmp 0x1400095ff
mov dl, 1
mov rcx, rax
call fcn.140007768
lea rdx, [0x14003f858]
mov r8, r14
mov rcx, r13
call fcn.1400093e8
lea rdx, [0x14003f830]
mov r8, r14
mov rcx, r13
call fcn.1400093e8
lea rsi, [0x14005b470]
lea rdx, [0x14003f810]
mov r8, rsi
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f7e8]
mov r8, rsi
mov rcx, r13
call fcn.14000949c
lea rdi, [0x14003eb88]
lea rdx, [0x14003f7b0]
mov r8, rdi
mov rcx, r13
call fcn.1400093e8
lea rdx, [0x14003f770]
mov r8, rdi
mov rcx, r13
call fcn.1400093e8
lea rbx, [0x140059c10]
lea rdx, [0x14003f748]
mov r8, rbx
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f718]
mov r8, rbx
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f6f8]
mov r8, r14
mov rcx, r13
call fcn.1400093e8
lea rdx, [0x14003f6d0]
mov r8, r14
mov rcx, r13
call fcn.1400093e8
lea rdx, [0x14003f6a8]
mov r8, rsi
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f678]
mov r8, rsi
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f640]
mov r8, rdi
mov rcx, r13
call fcn.1400093e8
lea rdx, [0x14003f600]
mov r8, rdi
mov rcx, r13
call fcn.1400093e8
lea rdx, [0x14003f5d8]
mov r8, rbx
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f5a8]
mov r8, rbx
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f560]
mov r8, r14
mov rcx, r13
call fcn.1400093e8
lea rdx, [0x14003f510]
mov r8, rsi
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f4c0]
mov r8, rdi
mov rcx, r13
call fcn.1400093e8
mov r8, rbx
lea rdx, [0x14003f488]
mov rcx, r13
call fcn.14000949c
lea rdx, [0x14003f458]
mov r8, rbp
mov rcx, r13
call fcn.1400093e8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r12, rax
cmp rax, r15
je 0x14000985a
mov rdi, rax
cmp word [rax], r15w
je 0x14000985a
mov rcx, rdi
call fcn.14001c868
mov rcx, 0xffffffffffffffff
lea r11, [rax + 1]
mov eax, 2
mul r11
cmovo rax, rcx
mov rcx, rax
call fcn.14001b160
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.14001cf4c
mov edx, 0x3d
mov rcx, rsi
call fcn.14001de08
mov rbx, rax
cmp rax, r15
je 0x14000983b
lea rdx, [0x14003f448]
lea rcx, [rsp + 0x20]
mov r8, rsi
mov word [rax], r15w
call fcn.14001cf68
lea r8, [rbx + 2]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.1400093e8
lea rcx, [rsp + 0x20]
call fcn.14001ed48
lea r8, [rbx + 2]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.1400093e8
mov rcx, rdi
call fcn.14001c868
mov rcx, rsi
lea rdi, [rdi + rax*2 + 2]
call fcn.14001c17c
cmp word [rdi], r15w
jne 0x1400097ad
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rcx, r14
call fcn.14001c17c
mov rcx, rbp
call fcn.14001c17c
mov rcx, qword [rsp + 0x2f00]
xor rcx, rsp
call fcn.14001c510
mov rbx, qword [rsp + 0x2f60]
add rsp, 0x2f10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret