Function at 0x1000eb7b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r12, r8
mov rdi, rdx
mov rbp, rcx
lea r15, [0x100152eb8]
mov rcx, qword [0x100152eb8]
cmp rcx, r15
je 0x1000eb816
test byte [rcx + 0x1c], 1
je 0x1000eb816
cmp byte [rcx + 0x19], 5
jb 0x1000eb816
mov edx, 0x42
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
mov rdx, rdi
mov rcx, rbp
call fcn.1000e9d54
mov esi, eax
mov rcx, qword [0x100152eb8]
cmp rcx, r15
je 0x1000eb857
test byte [rcx + 0x1c], 2
je 0x1000eb857
cmp byte [rcx + 0x19], 5
jb 0x1000eb857
mov edx, 0x43
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
xor ebx, ebx
mov eax, 0x490
test esi, esi
cmove ebx, eax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.100035d98
nop
lea rcx, [rsp + 0x38]
call fcn.100069790
xor edi, edi
mov qword [rsp + 0x48], rdi
and qword [rsp + 0x50], rdi
and qword [rsp + 0x58], rdi
lea esi, [rdi + 4]
test ebx, ebx
jne 0x1000eb8df
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.1000ee744
mov ebx, eax
mov rcx, qword [0x100152eb8]
cmp rcx, r15
je 0x1000eb8da
test byte [rcx + 0x1c], 2
je 0x1000eb8da
cmp byte [rcx + 0x19], sil
jb 0x1000eb8da
lea edx, [rdi + 0x44]
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rdi, qword [rsp + 0x48]
jmp 0x1000eb8df
mov rdi, qword [rsp + 0x48]
and dword [r12], 0
and dword [rsp + 0xa0], 0
test ebx, ebx
jne 0x1000eba07
mov dword [rsp + 0xa8], esi
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1000eb93e
mov eax, dword [rsp + 0x30]
sub eax, esi
neg eax
sbb ebx, ebx
and ebx, 0xd
mov rcx, qword [0x100152eb8]
cmp rcx, r15
je 0x1000eb986
test byte [rcx + 0x1c], 2
je 0x1000eb986
cmp byte [rcx + 0x19], sil
jb 0x1000eb986
mov edx, 0x45
mov dword [rsp + 0x28], ebx
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.1000e9924
mov rcx, qword [0x100152eb8]
cmp ebx, 2
jne 0x1000eb9be
xor ebx, ebx
cmp rcx, r15
je 0x1000eba48
test byte [rcx + 0x1c], 2
je 0x1000eba0e
cmp byte [rcx + 0x19], sil
jb 0x1000eba0e
lea edx, [rbx + 0x46]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rcx, qword [0x100152eb8]
jmp 0x1000eba0e
test ebx, ebx
jne 0x1000eba0e
cmp dword [rsp + 0xa0], ebx
je 0x1000eba0e
mov dword [r12], 1
mov rcx, qword [0x100152eb8]
cmp rcx, r15
je 0x1000eba48
test byte [rcx + 0x1c], 2
je 0x1000eba0e
cmp byte [rcx + 0x19], sil
jb 0x1000eba0e
lea edx, [rbx + 0x47]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rcx, qword [0x100152eb8]
jmp 0x1000eba0e
mov rcx, qword [0x100152eb8]
cmp rcx, r15
je 0x1000eba48
test byte [rcx + 0x1c], 1
je 0x1000eba48
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jl 0x1000eba48
mov edx, 0x48
mov r9d, ebx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
test rdi, rdi
je 0x1000eba57
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1000eba77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret