Function at 0x1000e4f6c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r13, rdx
mov r12, rcx
lea rbp, [0x100152eb8]
lea r15, [0x10001dc38]
mov rcx, qword [0x100152eb8]
cmp rcx, rbp
je 0x1000e4fcb
test byte [rcx + 0x1c], 1
je 0x1000e4fcb
cmp byte [rcx + 0x19], 5
jb 0x1000e4fcb
mov edx, 0x3f
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100034764
xor r14d, r14d
mov dword [rsp + 0xd0], r14d
mov dword [rsp + 0xc0], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_RegQueryInfoKeyW]
mov esi, eax
mov rdi, qword [0x100152eb8]
cmp rdi, rbp
je 0x1000e505c
test byte [rdi + 0x1c], 2
je 0x1000e505c
cmp byte [rdi + 0x19], 4
jb 0x1000e505c
lea edx, [r14 + 0x40]
mov r9d, eax
mov r8, r15
mov rcx, qword [rdi + 0x10]
call fcn.100036328
mov rdi, qword [0x100152eb8]
inc dword [rsp + 0xc0]
cmp esi, r14d
jne 0x1000e5261
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x100152eb8]
cmp rcx, rbp
je 0x1000e50b7
test byte [rcx + 0x1c], 2
je 0x1000e50b7
cmp byte [rcx + 0x19], 4
jb 0x1000e50b7
mov edx, 0x41
mov r9d, dword [rsp + 0xd0]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov ebp, r14d
cmp dword [rsp + 0xd0], r14d
jbe 0x1000e5227
cmp esi, r14d
jne 0x1000e5227
movsxd rdi, dword [rsp + 0xc0]
mov dword [rsp + 0xd8], edi
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1000e5102
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.100036140
mov rbx, qword [rsp + 0x60]
cmp edi, r14d
jl 0x1000e521c
cmp edi, dword [rbx - 0xc]
jg 0x1000e521c
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], r14w
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0xd8]
mov r8, rbx
mov edx, ebp
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
mov rcx, qword [0x100152eb8]
lea rdi, [0x100152eb8]
cmp rcx, rdi
je 0x1000e5181
test byte [rcx + 0x1c], 2
je 0x1000e5181
cmp byte [rcx + 0x19], 4
jb 0x1000e5181
mov edx, 0x42
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov ecx, r14d
cmp esi, r14d
cmove ecx, dword [rsp + 0xd8]
cmp ecx, 0xffffffff
jne 0x1000e51ad
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
lea rdi, [0x100152eb8]
cmp ecx, r14d
jl 0x1000e5211
cmp ecx, dword [rbx - 0xc]
jg 0x1000e5211
mov dword [rbx - 0x10], ecx
movsxd rax, ecx
mov word [rbx + rax*2], r14w
cmp esi, r14d
jne 0x1000e5200
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.10004cda8
mov rcx, qword [0x100152eb8]
cmp rcx, rdi
je 0x1000e5200
test byte [rcx + 0x1c], 2
je 0x1000e5200
cmp byte [rcx + 0x19], 4
jb 0x1000e5200
mov edx, 0x43
mov r9, rbx
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100034788
inc ebp
cmp ebp, dword [rsp + 0xd0]
jb 0x1000e50c8
jmp 0x1000e5227
mov ecx, 0x80070057
call fcn.100036264
int3
mov ecx, 0x80070057
call fcn.100036264
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r14d
jg 0x1000e5253
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [0x100152eb8]
lea rbp, [0x100152eb8]
jmp 0x1000e5261
mov rdi, qword [0x100152eb8]
lea rbp, [0x100152eb8]
cmp rdi, rbp
je 0x1000e5294
test byte [rdi + 0x1c], 1
je 0x1000e5294
movzx edx, byte [rdi + 0x19]
mov eax, esi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x1000e5294
mov edx, 0x44
mov r9d, esi
mov r8, r15
mov rcx, qword [rdi + 0x10]
call fcn.100036328
mov eax, esi
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret