Function at 0x1000e1f48
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov qword [rax + 0x20], r12
mov esi, r12d
mov dword [rax + 0x10], r12d
mov dword [rax + 0x18], 4
mov dword [rax + 8], 4
mov qword [rax - 0x68], r12
mov dword [rax - 0x60], r12d
mov dword [rax - 0x5c], r12d
cmp rcx, r12
jne 0x1000e208f
mov rbx, r12
mov qword [rax - 0x58], rbx
mov qword [rax - 0x50], r12
mov qword [rax - 0x48], r12
mov qword [rax - 0x80], r12
lea rax, [rax - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1000264c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, r12d
jne 0x1000e1fe8
mov edi, r12d
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rbx
lea r13, [0x100152eb8]
mov ebp, 2
lea r14d, [rbp + 3]
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x1000e2031
test byte [rcx + 0x1c], bpl
je 0x1000e2031
mov edx, ebp
cmp edi, r12d
cmove edx, r14d
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1000e2031
lea edx, [rbp + 0x27]
mov r9d, edi
lea r8, [0x10001dc58]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
cmp edi, r12d
jne 0x1000e207f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1000e4f6c
mov r9d, eax
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x1000e207f
test byte [rcx + 0x1c], bpl
je 0x1000e207f
movzx eax, byte [rcx + 0x19]
cmp r9d, r12d
cmove ebp, r14d
cmp eax, ebp
jl 0x1000e207f
mov edx, 0x2a
lea r8, [0x10001dc58]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
cmp rbx, r12
je 0x1000e20ce
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000e20ce
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.100035d98
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.10004cda8
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r12d
jg 0x1000e20ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r13d, 0x20019
mov r9d, r13d
xor r8d, r8d
lea rdx, [0x1000264c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1000e21eb
mov edi, r12d
mov rbx, r12
mov ebp, 1
cmp edi, dword [rsp + 0x58]
jge 0x1000e21db
cmp rbx, r12
jl 0x1000e21c7
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0x20], rcx
mov r9d, r13d
xor r8d, r8d
mov rdx, qword [rbx + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1000e21b6
mov dword [rsp + 0xc0], 4
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, [0x100026520]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x1000e21a0
cmp dword [rsp + 0xc8], r12d
cmovne esi, ebp
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0xd8], r12
add edi, ebp
add rbx, 8
cmp esi, r12d
je 0x1000e210c
jmp 0x1000e21db
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x50]
call fcn.10004ce40
mov eax, esi
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret