Function at 0x140006728
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
xor r15d, r15d
mov rbx, rcx
cmp qword [rcx + 0x800], r15
je 0x14000674e
mov al, 1
jmp 0x1400069f8
mov r8d, 9
mov dword [rcx + 0x80c], r15d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionPerflib_03X
call fcn.140004760
lea rax, [rbp + 0x48]
mov qword [rbp + 0x48], r15
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140006798
xor al, al
jmp 0x1400069f8
mov rcx, qword [rbp + 0x48]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], r15
lea rdx, str.Counters
mov word [rbx], r15w
mov dword [rbp + 0x40], r15d
mov dword [rbp + 0x38], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000690b
mov eax, dword [rbp + 0x38]
test eax, eax
je 0x14000690b
mov ecx, eax
add rcx, rcx
call fcn.140113e8c
mov rsi, rax
test rax, rax
je 0x14000690b
mov rcx, qword [rbp + 0x48]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, str.Counters
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006903
mov r14d, dword [rbp + 0x38]
mov rdi, rsi
add r14, rsi
cmp rsi, r14
jae 0x140006903
cmp word [rdi], r15w
je 0x140006903
lea rdx, str.Process
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140006896
lea rcx, [rdi - 4]
jmp 0x140006862
cmp ax, 0x39
ja 0x14000686b
sub rcx, 2
movzx eax, word [rcx]
cmp ax, 0x30
jae 0x140006858
add rcx, 2
mov qword [rbp + 0x50], r15
mov r8d, 0xa
lea rdx, [rbp + 0x50]
call fcn.1401358a4
mov r8d, eax
lea rdx, [0x140176f30]
mov rcx, rbx
call fcn.140004760
jmp 0x1400068e9
cmp dword [rbx + 0x80c], r15d
jne 0x1400068e9
lea rdx, str.ID_Process
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400068e9
lea rcx, [rdi - 4]
jmp 0x1400068c3
cmp ax, 0x39
ja 0x1400068cc
sub rcx, 2
movzx eax, word [rcx]
cmp ax, 0x30
jae 0x1400068b9
add rcx, 2
mov qword [rbp - 0x18], r15
mov r8d, 0xa
lea rdx, [rbp - 0x18]
call fcn.1401358a4
mov dword [rbx + 0x80c], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rdi, [rdi + rax*2]
cmp rdi, r14
jb 0x140006834
mov rcx, rsi
call fcn.140113e18
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbx], r15w
je 0x1400069ee
cmp qword [rbx + 0x800], r15
jne 0x14000693f
mov ecx, 0x7d000
mov dword [rbx + 0x808], ecx
call fcn.140113e8c
mov qword [rbx + 0x800], rax
mov eax, dword [rbx + 0x808]
mov dword [rbp + 0x38], eax
lea rax, [rbp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x40]
mov rax, qword [rbx + 0x800]
mov rdx, rbx
mov rcx, 0xffffffff80000004
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xa7
je 0x140006948
test eax, eax
jne 0x140006995
mov rcx, qword [rbx + 0x800]
movabs rdx, 0x46005200450050
cmp qword [rcx], rdx
je 0x1400069ee
cmp eax, 0xea
jne 0x1400069c8
mov eax, dword [rbp + 0x38]
add eax, 0x3e800
mov ecx, eax
mov dword [rbp + 0x38], eax
call fcn.140113e8c
test rax, rax
je 0x1400069d6
mov qword [rbx + 0x800], rax
mov eax, dword [rbp + 0x38]
mov dword [rbx + 0x808], eax
jmp 0x14000693f
cmp eax, 0x100000
jge 0x14000693f
lfence
mov rcx, qword [rbx + 0x800]
call fcn.140113e18
mov qword [rbx + 0x800], r15
jmp 0x140006791
cmp qword [rbx + 0x800], r15
setne al
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret