Function at 0x18001bf08
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov rax, qword [0x18002c008]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
and dword [rsp + 0x40], 0
and qword [rcx], 0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x40], 1
mov ebx, 0x200
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180004080
mov dword [rsp + 0x30], ebx
xor r14b, r14b
mov edx, 3
lea rcx, [rsp + 0x50]
call fcn.180016b78
cmp qword [rax + 0x18], 0x10
jb 0x18001bf9d
mov rax, qword [rax]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete bl
mov r12d, 0x1000
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18001c004
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x18001bfff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c247
call fcn.180001fe4
mov esi, 4
test bl, bl
je 0x18001c0a4
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.180016b78
cmp qword [rax + 0x18], 0x10
jb 0x18001c027
mov rax, qword [rax]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete r14b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18001c090
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x18001c08b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c24d
call fcn.180001fe4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14b, r14b
jne 0x18001c1c3
mov edx, 3
lea rcx, [rsp + 0x50]
call fcn.180016b78
cmp qword [rax + 0x18], 0x10
jb 0x18001c0bd
mov rax, qword [rax]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18001c11e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x18001c119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c253
call fcn.180001fe4
test bl, bl
je 0x18001c212
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.180016b78
cmp qword [rax + 0x18], 0x10
jb 0x18001c13c
mov rax, qword [rax]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete sil
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18001c1a5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x18001c1a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c241
call fcn.180001fe4
movzx ebx, r14b
test sil, sil
mov eax, 1
cmovne ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x18001c212
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x18001c1cc
cmp rbx, qword [rdi + 0x18]
ja 0x18001c202
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18001c1e8
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1800039d0
mov byte [rsi + rbx], 0
jmp 0x18001c212
lea r9, [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.1800013f4
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180001f90
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
call fcn.180008a6c
int3
call fcn.180008a6c
int3
call fcn.180008a6c
int3
call fcn.180008a6c
int3