Function at 0x18000f514
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
mov rax, qword [0x1800553b0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rcx
lea rdx, str.miAPCP
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x6a], 0x41575446
mov word [rsp + 0x68], 0x4f53
mov dword [rsp + 0x6e], 0x5c4552
call fcn.18000e920
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
mov r8, rax
call fcn.18000ea9c
lea rcx, [rsp + 0x40]
mov r9d, 0x20019
mov rdx, qword [rax]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or r14d, 0xffffffff
movsxd rbx, eax
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x18000f5cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x50]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x18000f5ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test rbx, rbx
jne 0x18000f75f
lea rcx, [rbp - 0x7f]
xor edx, edx
mov r8d, 0x103
mov byte [rbp - 0x80], bl
call fcn.180011240
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
lea rdx, str.hvals
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000f754
cmp dword [rsp + 0x38], eax
jbe 0x18000f754
mov rax, qword [0x180056858]
lea rcx, [0x180056858]
call qword [rax + 0x18]
lea rdx, [0x180021df4]
lea rcx, [rsp + 0x30]
add rax, 0x18
mov r8, rdi
mov qword [rsp + 0x30], rax
call fcn.18000ee0c
mov rax, qword [0x180056858]
lea rcx, [0x180056858]
call qword [rax + 0x18]
lea r8, [rbp - 0x80]
lea rdx, [0x180020eec]
add rax, 0x18
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.18000ee0c
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
test rdx, rdx
je 0x18000f717
cmp dword [rbx - 0x10], 0
jl 0x18000f717
mov rcx, rbx
call fcn.18001220c
test rax, rax
je 0x18000f717
cmp eax, ebx
js 0x18000f717
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x18000f6f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov ecx, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x18000f712
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rdi
jmp 0x18000f768
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x18000f733
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov eax, r14d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x18000f754
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [0x1800569d0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800108a0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret