Function at 0x14000a2b4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
xor ebx, ebx
mov r14d, ebx
mov qword [rax - 0x50], rbx
mov qword [rax - 0x48], rbx
mov qword [rax - 0x40], rbx
mov edi, ebx
mov qword [rax - 0x70], rbx
mov qword [rax + 0x10], rbx
lea rax, [rax + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWbemCIMOM
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000a58b
mov r14, qword [rsp + 0xb8]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0xb8], ebx
lea r9, [rsp + 0xb8]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14000a1fc
test eax, eax
jne 0x14000a58b
mov ecx, dword [rsp + 0xb8]
add rcx, rcx
lea r12d, [rbx + 2]
mov eax, r12d
mul rcx
lea r13, [rbx - 1]
cmovo rax, r13
mov rcx, rax
call fcn.14001a244
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000a57d
lea r9, [rsp + 0xb8]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000a1fc
test eax, eax
jne 0x14000a569
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14000a569
mov eax, r12d
mul rsi
cmovo rax, r13
mov rcx, rax
call fcn.14001a244
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000a569
mov r8d, esi
mov rdx, rax
mov rcx, r15
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov r13d, eax
test eax, eax
je 0x14000a555
cmp dword [rsp + 0xb0], ebx
je 0x14000a4bb
lea rcx, str.Performance_
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
lea esi, [rax + 1]
add esi, r13d
lea eax, [rbx + 2]
mul rsi
lea rcx, [rbx - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.14001a244
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000a555
mov edx, r13d
lea rax, [r13 - 1]
mov ecx, ebx
mov r8d, 0x80070057
cmp rax, 0x7ffffffe
cmova ecx, r8d
mov dword [rsp + 0x30], ecx
test ecx, ecx
js 0x14000a48c
mov r9, r12
mov rcx, rdi
call fcn.14000a170
mov dword [rsp + 0x30], eax
jmp 0x14000a494
test r13d, r13d
je 0x14000a494
mov word [rdi], bx
lea r8, [rsp + 0xc0]
mov rdx, rsi
mov rcx, rdi
call fcn.14000a0fc
test eax, eax
js 0x14000a555
lea r9, str.Performance_
jmp 0x14000a53e
lea esi, [r13 + 2]
mov eax, 2
mul rsi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001a244
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000a555
lea rax, [rsi - 1]
mov ecx, ebx
mov r8d, 0x80070057
cmp rax, 0x7ffffffe
cmova ecx, r8d
mov dword [rsp + 0x34], ecx
test ecx, ecx
js 0x14000a518
mov r9, r12
mov edx, esi
mov rcx, rdi
call fcn.14000a170
mov dword [rsp + 0x34], eax
jmp 0x14000a520
test rsi, rsi
je 0x14000a520
mov word [rdi], bx
lea r8, [rsp + 0xc0]
mov rdx, rsi
mov rcx, rdi
call fcn.14000a0fc
test eax, eax
js 0x14000a555
lea r9, [0x140021b58]
mov rax, qword [rsp + 0xc0]
sub rsi, rax
mov rdx, rsi
lea rcx, [rdi + rax*2]
call fcn.14000a170
mov rcx, r12
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x48], rbx
mov rcx, r15
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
jmp 0x14000a58b
test r14, r14
je 0x14000a5a4
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x58], rbx
mov rax, rdi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret