Function at 0x18002beb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r9
mov rax, r8
mov rbx, rcx
mov qword [rbp - 0x38], rcx
cmp qword [r8 + 0x18], 8
jb 0x18002bee4
mov rax, qword [r8]
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18002bf35
xor esi, esi
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
xor r8d, r8d
lea rdx, [0x180075e60]
mov rcx, rbx
call fcn.1800111b0
jmp 0x18002c0e1
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18002bf42
mov rdx, qword [rdi]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
xor esi, esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18002bf72
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18002bf0c
mov edx, dword [rbp - 0x40]
shr rdx, 1
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], si
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.180011010
nop
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
cmp qword [rdi + 0x18], 8
jb 0x18002bfb1
mov rdi, qword [rdi]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x38]
test eax, eax
je 0x18002c04e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
xor r8d, r8d
lea rdx, [0x180075e60]
mov rcx, rbx
call fcn.1800111b0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18002c0e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c044
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c100
call fcn.180035588
jmp 0x18002c0e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rbp - 0x40]
shr rcx, 1
dec rcx
mov r8, qword [rbp - 0x20]
cmp rcx, r8
ja 0x18002c07e
mov qword [rbp - 0x20], rcx
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov word [rax + rcx*2], si
jmp 0x18002c0d2
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x18002c0c1
mov qword [rbp - 0x20], rcx
lea r9, [rbp - 0x30]
cmp rdi, 8
cmovae r9, qword [rbp - 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x18002c0b6
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], si
jmp 0x18002c0d2
mov word [rsp + 0x20], si
mov r9, rdx
lea rcx, [rbp - 0x30]
call fcn.180031670
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180034f80
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
call fcn.18003ed10
int3