Function at 0x18000936c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, r9
mov rbp, r8
mov rbx, rdx
lea rcx, [0x18010d528]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [0x18010d528]
mov edx, eax
mov rcx, qword [rsp + 0xa0]
call fcn.180003e28
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18000943c
mov rcx, qword [rbp]
add rcx, 0xfffffffffffffff4
lea rdi, [0x18015f758]
or rbx, 0xffffffffffffffff
cmp rcx, rdi
je 0x180009411
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x180009411
mov rcx, qword [rbp]
sub rcx, 0xc
call fcn.1800d1434
nop
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x180009435
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x180009435
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1800d1434
xor eax, eax
jmp 0x1800095f9
mov dword [rsp + 0x30], 0x200
mov ecx, 0x100
mov r12d, 2
mov rax, r12
mul rcx
lea rbx, [r12 - 3]
cmovo rax, rbx
mov rcx, rax
call fcn.1800d04fc
mov rdi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
test eax, eax
je 0x180009563
cmp eax, 0xea
je 0x180009500
mov rcx, rdi
call fcn.1800d1434
nop
mov rcx, qword [rbp]
add rcx, 0xfffffffffffffff4
lea rdi, [0x18015f758]
cmp rcx, rdi
je 0x1800094d5
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x1800094d5
mov rcx, qword [rbp]
sub rcx, 0xc
call fcn.1800d1434
nop
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, rdi
je 0x1800094f9
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x1800094f9
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1800d1434
xor eax, eax
jmp 0x1800095f9
add dword [rsp + 0x30], r12d
mov rcx, rdi
call fcn.1800d1434
mov r11d, dword [rsp + 0x30]
shr r11, 1
mov rax, r12
mul r11
cmovo rax, rbx
mov rcx, rax
call fcn.1800d04fc
mov rdi, rax
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.1800d7640
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
test eax, eax
jne 0x180009587
test rdi, rdi
jne 0x18000956c
xor eax, eax
jmp 0x180009575
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
mov rcx, qword [rsp + 0xa0]
call fcn.180003e28
mov rcx, rdi
call fcn.1800d1434
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r12d, r12d
test r13d, r13d
sete r12b
mov rcx, qword [rbp]
add rcx, 0xfffffffffffffff4
lea rdi, [0x18015f758]
cmp rcx, rdi
je 0x1800095d2
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
test eax, eax
jg 0x1800095d2
mov rcx, qword [rbp]
sub rcx, 0xc
call fcn.1800d1434
nop
mov rax, qword [rsi]
add rax, 0xfffffffffffffff4
cmp rax, rdi
je 0x1800095f6
mov ecx, ebx
lock xadd dword [rax], ecx
add ecx, ebx
test ecx, ecx
jg 0x1800095f6
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1800d1434
mov eax, r12d
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret