Function at 0x1000e55c4
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, [0x100153eb8]
lea r15, [0x10001dc38]
mov rcx, qword [0x100153eb8]
cmp rcx, rbp
je 0x1000e5623
test byte [rcx + 0x1c], 1
je 0x1000e5623
cmp byte [rcx + 0x19], 5
jb 0x1000e5623
mov edx, 0x3f
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100034784
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 [0x100153eb8]
cmp rdi, rbp
je 0x1000e56b4
test byte [rdi + 0x1c], 2
je 0x1000e56b4
cmp byte [rdi + 0x19], 4
jb 0x1000e56b4
lea edx, [r14 + 0x40]
mov r9d, eax
mov r8, r15
mov rcx, qword [rdi + 0x10]
call fcn.100036510
mov rdi, qword [0x100153eb8]
inc dword [rsp + 0xc0]
cmp esi, r14d
jne 0x1000e58b9
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x100153eb8]
cmp rcx, rbp
je 0x1000e570f
test byte [rcx + 0x1c], 2
je 0x1000e570f
cmp byte [rcx + 0x19], 4
jb 0x1000e570f
mov edx, 0x41
mov r9d, dword [rsp + 0xd0]
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036510
mov ebp, r14d
cmp dword [rsp + 0xd0], r14d
jbe 0x1000e587f
cmp esi, r14d
jne 0x1000e587f
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 0x1000e575a
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.100036160
mov rbx, qword [rsp + 0x60]
cmp edi, r14d
jl 0x1000e5874
cmp edi, dword [rbx - 0xc]
jg 0x1000e5874
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 [0x100153eb8]
lea rdi, [0x100153eb8]
cmp rcx, rdi
je 0x1000e57d9
test byte [rcx + 0x1c], 2
je 0x1000e57d9
cmp byte [rcx + 0x19], 4
jb 0x1000e57d9
mov edx, 0x42
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.100036510
mov ecx, r14d
cmp esi, r14d
cmove ecx, dword [rsp + 0xd8]
cmp ecx, 0xffffffff
jne 0x1000e5805
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
lea rdi, [0x100153eb8]
cmp ecx, r14d
jl 0x1000e5869
cmp ecx, dword [rbx - 0xc]
jg 0x1000e5869
mov dword [rbx - 0x10], ecx
movsxd rax, ecx
mov word [rbx + rax*2], r14w
cmp esi, r14d
jne 0x1000e5858
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.10004cfb8
mov rcx, qword [0x100153eb8]
cmp rcx, rdi
je 0x1000e5858
test byte [rcx + 0x1c], 2
je 0x1000e5858
cmp byte [rcx + 0x19], 4
jb 0x1000e5858
mov edx, 0x43
mov r9, rbx
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
inc ebp
cmp ebp, dword [rsp + 0xd0]
jb 0x1000e5720
jmp 0x1000e587f
mov ecx, 0x80070057
call fcn.100036284
int3
mov ecx, 0x80070057
call fcn.100036284
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r14d
jg 0x1000e58ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [0x100153eb8]
lea rbp, [0x100153eb8]
jmp 0x1000e58b9
mov rdi, qword [0x100153eb8]
lea rbp, [0x100153eb8]
cmp rdi, rbp
je 0x1000e58ec
test byte [rdi + 0x1c], 1
je 0x1000e58ec
movzx edx, byte [rdi + 0x19]
mov eax, esi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x1000e58ec
mov edx, 0x44
mov r9d, esi
mov r8, r15
mov rcx, qword [rdi + 0x10]
call fcn.100036510
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