Function at 0x6bf7b0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov byte [rbp + 0x37], r8b
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x88], rdx
mov rcx, qword [rbp + 0x88]
call fcn.00414c70
nop
movzx rax, byte [rbp + 0x37]
mov rcx, qword [rbp + 0x28]
mov byte [rcx + 0x38], al
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0x58]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
call qword [rax + 0x18]
mov ecx, eax
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 0x28]
lea r8, [0x006bfa6c]
call fcn.006bf280
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
call qword [rax + 0x20]
mov ecx, eax
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 0x28]
lea r8, [0x006bfad8]
call fcn.006bf280
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0x44]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
call qword [rax + 0x28]
mov ecx, eax
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 0x28]
lea r8, [0x006bfb4c]
call fcn.006bf280
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0x48]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
call qword [rax + 0x30]
mov ecx, eax
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 0x28]
lea r8, [0x006bfbc4]
call fcn.006bf280
mov rax, qword [rbp + 0x28]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x58]
call fcn.00411f80
mov rcx, qword [rbp + 0x58]
call sub.oleaut32.dll_SysFreeString_1
mov rax, qword [rbp + 0x28]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0x50]
call fcn.00411f80
mov rcx, qword [rbp + 0x50]
call sub.oleaut32.dll_SysFreeString_1
mov rax, qword [rbp + 0x28]
lea rcx, [rax + 0x18]
mov rdx, qword [rbp + 0x48]
call fcn.00411f80
mov rcx, qword [rbp + 0x48]
call sub.oleaut32.dll_SysFreeString_1
cmp dword [rbp + 0x44], 0
setne al
mov rcx, qword [rbp + 0x28]
mov byte [rcx + 0x20], al
mov rax, qword [rcx + 8]
xor rcx, rcx
test rax, rax
je 0x6bf90c
mov ecx, dword [rax - 4]
test ecx, ecx
je 0x6bf9ff
mov rax, qword [rbp + 0x28]
lea rcx, [rax + 0x40]
mov edx, 0x104
call fcn.00410b40
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call fcn.004108e0
mov rbx, rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x40]
call fcn.004108e0
mov rcx, rbx
mov rdx, rax
mov r8d, 0x104
call sub.kernel32.dll_ExpandEnvironmentStringsW
cmp eax, 0x104
jle 0x6bf99c
mov rcx, qword [rbp + 0x28]
lea rcx, [rcx + 0x40]
mov edx, eax
call fcn.00410b40
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call fcn.004108e0
mov rbx, rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x40]
call fcn.004108e0
mov rcx, rbx
mov rdx, rax
mov r8d, 0x104
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov rcx, qword [rbp + 0x28]
lea rcx, [rcx + 0x40]
mov edx, eax
sub edx, 1
call fcn.00410b40
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax + 0x40]
call fcn.006bbd00
mov rax, qword [rbp + 0x28]
lea rcx, [rax + 0x40]
mov rdx, qword [rbp + 0x38]
call fcn.0040fb80
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x40]
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 0x48]
call fcn.006bbd70
test al, al
jne 0x6bf9fe
mov rax, qword [rbp + 0x28]
lea rcx, [rax + 0x48]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax + 0x40]
call fcn.0040fb80
nop
lea rcx, [rbp + 0x38]
call fcn.0040f550
lea rcx, [rbp + 0x88]
call fcn.00414b60
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret