Function at 0x1600cbdb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x3a0
mov qword [r11 - 0x328], 0xfffffffffffffffe
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov rax, qword [0x160270bd8]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rdi, rcx
mov r9, rcx
lea r8, str.SYSTEMCurrentControlSetServices_sPerformance
mov edx, 0x100
lea rcx, [r11 - 0x228]
call fcn.160059e34
xor r12d, r12d
mov word [rsp + 0x38e], r12w
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, [rsp + 0x190]
mov rcx, 0xffffffff80000002
call fcn.16005ab8c
test eax, eax
je 0x1600cbe3e
xor eax, eax
jmp 0x1600cc285
mov esi, 4
mov dword [rsp + 0x40], esi
lea rax, [rdi + 0xcc]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.First_Counter
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x1600cbe8d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
jmp 0x1600cc285
mov dword [rsp + 0x40], esi
lea rax, [rdi + 0xc8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.First_Help
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x1600cbed7
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
jmp 0x1600cc285
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x38]
call fcn.1600cca5c
nop
lea rcx, [rsp + 0xa0]
call fcn.1600cba70
nop
lea rcx, [rsp + 0xa0]
call fcn.1600d38f8
lea rcx, [rsp + 0x58]
call fcn.16006035c
nop
lea rcx, [rsp + 0x50]
call fcn.160060330
nop
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x48], 0xc0100000
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1600d26a0
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x48], 0xc0100000
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1600d26a0
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.1600d4484
mov dword [rsp + 0x78], SafeArrayPutElement
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], r12d
lea rax, [rsp + 0x108]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], 0x41
mov word [rsp + 0x108], r12w
lea rax, fcn.160040970
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0xf0]
mov rcx, rdi
call fcn.1600cc944
test eax, eax
jns 0x1600cc063
lea rcx, [rsp + 0xf0]
call fcn.160040b2c
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1600cc034
call fcn.160031c48
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1600cc044
call fcn.160031c48
nop
lea rcx, [rsp + 0xa0]
call fcn.1600cbc58
nop
mov rcx, qword [rsp + 0x38]
call fcn.160031c48
xor eax, eax
jmp 0x1600cc285
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x204
xor r9d, r9d
mov r8d, esi
lea rdx, [rsp + 0x78]
or rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_CreateFileMappingW]
mov qword [rdi + 0xa8], rax
test rax, rax
jne 0x1600cc0e6
lea rcx, [rsp + 0xf0]
call fcn.160040b2c
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1600cc0b7
call fcn.160031c48
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1600cc0c7
call fcn.160031c48
nop
lea rcx, [rsp + 0xa0]
call fcn.1600cbc58
nop
mov rcx, qword [rsp + 0x38]
call fcn.160031c48
xor eax, eax
jmp 0x1600cc285
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [rdi + 0xa8]
cmp eax, 0xb7
jne 0x1600cc154
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rdi + 0xa8], r12
lea rcx, [rsp + 0xf0]
call fcn.160040b2c
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1600cc125
call fcn.160031c48
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1600cc135
call fcn.160031c48
nop
lea rcx, [rsp + 0xa0]
call fcn.1600cbc58
nop
mov rcx, qword [rsp + 0x38]
call fcn.160031c48
xor eax, eax
jmp 0x1600cc285
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov rcx, rax
mov qword [rdi + 0xb0], rax
test rax, rax
jne 0x1600cc1d9
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rdi + 0xa8], r12
lea rcx, [rsp + 0xf0]
call fcn.160040b2c
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1600cc1aa
call fcn.160031c48
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1600cc1ba
call fcn.160031c48
nop
lea rcx, [rsp + 0xa0]
call fcn.1600cbc58
nop
mov rcx, qword [rsp + 0x38]
call fcn.160031c48
xor eax, eax
jmp 0x1600cc285
mov qword [rdi + 0xb8], rcx
add rax, 4
mov qword [rdi + 0xc0], rax
mov eax, dword [rdi + 0xa0]
mov dword [rcx], eax
mov esi, r12d
cmp esi, dword [rdi + 0xa0]
jae 0x1600cc235
mov r14d, esi
lea r15, [rdi + r14*8]
mov rdx, rdi
mov rcx, qword [r15 + 0x20]
call fcn.1600cc318
test eax, eax
je 0x1600cc231
shl r14, 5
add r14, qword [rdi + 0xc0]
mov r8, qword [r15 + 0x20]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, r14
call fcn.1600b2fdc
inc esi
jmp 0x1600cc1f6
lea rcx, [rsp + 0xf0]
call fcn.160040b2c
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1600cc253
call fcn.160031c48
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1600cc263
call fcn.160031c48
nop
lea rcx, [rsp + 0xa0]
call fcn.1600cbc58
nop
mov rcx, qword [rsp + 0x38]
call fcn.160031c48
nop
mov eax, 1
jmp 0x1600cc285
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.16006e590
lea r11, [rsp + 0x3a0]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret