Function at 0x18000be24
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180036178]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
mov qword [rbp - 1], rcx
xor r15d, r15d
mov dword [rbp - 0x19], r15d
mov qword [rbp - 9], r15
lea rdx, [0x180038410]
cmp qword [0x180038428], 8
cmovae rdx, qword [0x180038410]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18000bed4
lea edi, [r15 + 7]
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
xor r8d, r8d
lea rdx, [0x18002e2c8]
mov rcx, rbx
call fcn.1800030e4
nop
mov dword [rbp - 0x19], 1
jmp 0x18000c055
mov rsi, qword [rbp - 9]
mov qword [rbp + 7], rsi
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xf], rax
mov dword [rbp - 0x15], r15d
mov dword [rbp - 0x11], r15d
lea r14, [0x1800384f0]
mov rdx, r14
cmp qword [0x180038508], 8
cmovae rdx, qword [0x1800384f0]
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000c01d
cmp dword [rbp - 0x15], r15d
je 0x18000c01d
mov qword [rbp + 0x2f], r15
mov qword [rbp + 0x37], r15
lea edi, [rax + 7]
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x2f], r15
mov word [rbp + 0x1f], r15w
mov edx, dword [rbp - 0x15]
shr rdx, 1
dec rdx
cmp rdx, qword [rbp + 0x2f]
ja 0x18000bf7a
mov qword [rbp + 0x2f], rdx
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rax, qword [rbp + 0x1f]
mov word [rax + rdx*2], r15w
jmp 0x18000bf8a
xor r8d, r8d
sub rdx, qword [rbp + 0x2f]
lea rcx, [rbp + 0x1f]
call fcn.180007460
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rax, qword [rbp + 0x1f]
cmp qword [0x180038508], 8
cmovae r14, qword [0x1800384f0]
lea rcx, [rbp - 0x15]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbx
test eax, eax
je 0x18000c012
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
xor r8d, r8d
lea rdx, [0x18002e2c8]
call fcn.1800030e4
mov dword [rbp - 0x19], 1
cmp qword [rbp + 0x37], 8
jb 0x18000c003
mov rcx, qword [rbp + 0x1f]
call fcn.180012c94
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x2f], r15
mov word [rbp + 0x1f], r15w
jmp 0x18000c047
lea rdx, [rbp + 0x1f]
call fcn.180007d64
jmp 0x18000bfec
mov edi, 7
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
xor r8d, r8d
lea rdx, [0x18002e2c8]
mov rcx, rbx
call fcn.1800030e4
mov dword [rbp - 0x19], 1
test rsi, rsi
je 0x18000c055
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800124c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret