Function at 0x10005ea04
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x380
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rsi, rcx
mov ecx, 0x98
mov rbp, rdx
call fcn.10007faba
xor r15d, r15d
mov r12d, 1
cmp rax, r15
je 0x10005ea62
lea rdx, [0x100029fd0]
mov r9d, r12d
xor r8d, r8d
mov rcx, rax
call fcn.100060c34
jmp 0x10005ea65
mov rax, r15
mov qword [rsi + 0x290], rax
mov qword [rsi + 0x298], rax
cmp rax, r15
jne 0x10005ea82
mov eax, 0x8007000e
jmp 0x10005f01b
mov qword [rax + 0x78], rsi
mov rcx, qword [rsi + 0x290]
mov eax, dword [rsi + 0x28]
mov dword [rcx + 0x74], eax
mov edi, 0x208
lea r8, [rsp + 0x60]
lea rdx, [0x100007934]
mov rcx, rbp
mov r9d, edi
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
mov ebx, eax
jl 0x10005ead6
lea rdx, [0x100029758]
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r15d
je 0x10005efc3
lea r8, [rsp + 0x60]
lea rdx, [0x100024d00]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
mov ebx, eax
jge 0x10005eb16
lea r8, [0x100024d00]
lea rdx, [0x10002c240]
mov ecx, 2
call fcn.1000527f4
jmp 0x10005efc3
mov rcx, qword [rsi + 0x290]
lea rdx, [rsp + 0x60]
add rcx, 0x38
call fcn.100052cbc
lea r8, [rsp + 0x60]
lea rdx, [0x100024ee0]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
mov ebx, eax
jge 0x10005eb57
lea r8, [0x100024ee0]
jmp 0x10005eb00
mov rcx, qword [rsi + 0x290]
lea rdx, [rsp + 0x60]
add rcx, 0x30
call fcn.100052cbc
lea r8, [rsp + 0x60]
mov r9d, edi
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x20], r15d
call fcn.10005992c
cmp eax, r15d
mov ebx, eax
jl 0x10005eba5
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
mov edi, 0x208
not rcx
cmp rcx, r12
jne 0x10005ebc3
lea r8, [rsp + 0x60]
lea rdx, [0x100024d38]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
mov ebx, eax
cmp ebx, r15d
jge 0x10005ebd4
lea r8, [0x100024d20]
jmp 0x10005eb00
mov rcx, qword [rsi + 0x290]
lea rdx, [rsp + 0x60]
add rcx, 0x18
call fcn.100052cbc
lea r8, [rsp + 0x60]
lea rdx, [0x100024d50]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
jl 0x10005ec25
lea rax, [rsp + 0x60]
cmp rax, r15
je 0x10005ec25
mov rcx, qword [rsi + 0x290]
lea rdx, [rsp + 0x60]
call fcn.100061374
lea r8, [rsp + 0x60]
lea rdx, [0x100024de8]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
jl 0x10005ec5f
mov rdi, qword [rsi + 0x290]
lea rcx, [rsp + 0x60]
call fcn.100053148
mov dword [rdi + 0x68], eax
mov edi, 0x208
lea r8, [rsp + 0x60]
lea rdx, [0x100024d80]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
jl 0x10005ec95
mov rcx, qword [rsi + 0x290]
lea rdx, [rsp + 0x60]
add rcx, 0x50
call fcn.100052cbc
lea r8, [rsp + 0x60]
lea rdx, [0x100024da0]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
jl 0x10005eccb
mov rcx, qword [rsi + 0x290]
lea rdx, [rsp + 0x60]
add rcx, 0x48
call fcn.100052cbc
lea r8, [rsp + 0x60]
lea rdx, [0x100024d68]
mov r9d, edi
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
jl 0x10005ed02
mov rdi, qword [rsi + 0x290]
lea rcx, [rsp + 0x60]
call fcn.100053148
mov dword [rdi + 0x64], eax
jmp 0x10005ed10
mov rax, qword [rsi + 0x290]
mov dword [rax + 0x64], 0x63
mov rdi, qword [rsi + 0x290]
cmp rbp, r15
je 0x10005eefd
cmp qword [rdi + 0x80], r15
jne 0x10005ed54
mov ecx, 0x10
call fcn.10007faba
cmp rax, r15
je 0x10005ed41
mov qword [rax], r15
mov qword [rax + 8], r15
jmp 0x10005ed44
mov rax, r15
mov qword [rdi + 0x80], rax
cmp rax, r15
je 0x10005eefd
mov r14, qword [rdi + 0x80]
mov r13d, r15d
mov qword [rsp + 0x48], r15
mov ebx, r15d
mov ecx, ebx
cmp ebx, r15d
je 0x10005eda0
sub ecx, r12d
je 0x10005ed97
sub ecx, r12d
je 0x10005ed8e
cmp ecx, r12d
je 0x10005ed85
lea rdi, [0x100024fa8]
jmp 0x10005eda7
lea rdi, [0x100024f90]
jmp 0x10005eda7
lea rdi, [0x100024f60]
jmp 0x10005eda7
lea rdi, [0x100024f78]
jmp 0x10005eda7
lea rdi, [0x100024fb8]
lea rax, [rsp + 0x48]
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r15d
jne 0x10005eea1
mov dword [rsp + 0x40], 0x80
mov r12d, r15d
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x270]
mov edx, r12d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r15d
jne 0x10005ee90
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x270]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x80
inc r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r15d
jne 0x10005ee90
lea r8, [rsp + 0x270]
lea rdx, [0x10002b5b8]
mov ecx, 4
call fcn.1000527f4
mov rdx, qword [rsp + 0x50]
mov r8, rdi
mov rcx, r14
call fcn.10005ab38
mov rcx, qword [rsp + 0x50]
cmp eax, r15d
mov r13d, eax
jl 0x10005ee8a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10005eddf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, 1
cmp r13d, r15d
jl 0x10005eefd
add ebx, r12d
cmp ebx, 5
jl 0x10005ed66
cmp r13d, r15d
jl 0x10005eefd
mov rdi, qword [rsi + 0x290]
cmp qword [rdi + 0x88], r15
jne 0x10005eeee
mov ecx, 0x10
call fcn.10007faba
cmp rax, r15
je 0x10005eedf
mov qword [rax], r15
mov qword [rax + 8], r15
jmp 0x10005eee2
mov rax, r15
mov qword [rdi + 0x88], rax
cmp rax, r15
je 0x10005eefd
mov rcx, qword [rdi + 0x88]
mov rdx, rbp
call fcn.10005d07c
lea r8, [rsp + 0x60]
lea rdx, [0x100024d38]
mov r9d, 0x208
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.10005992c
cmp eax, r15d
mov ebx, eax
jge 0x10005ef84
mov rcx, qword [rsi + 0x290]
call fcn.100061b6c
mov rdi, rax
cmp rax, r15
jne 0x10005ef43
lea r8, [0x100024d38]
jmp 0x10005eb00
lea rax, [rsp + 0x60]
mov edx, 0x104
lea rcx, [rsp + 0x60]
sub rdi, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, r15
je 0x10005ef77
movzx eax, word [rdi + rcx]
cmp ax, r15w
je 0x10005ef77
mov word [rcx], ax
add rcx, 2
sub rdx, r12
jne 0x10005ef55
cmp rdx, r15
jne 0x10005ef80
sub rcx, 2
mov word [rcx], r15w
lea rax, [rsp + 0x60]
cmp rax, r15
jne 0x10005ef95
mov ebx, 0x80004003
jmp 0x10005efc3
mov rcx, qword [rsi + 0x290]
lea rdx, [rsp + 0x60]
call fcn.100061be4
cmp eax, r15d
mov ebx, eax
jl 0x10005efc3
mov rdx, qword [rsi + 0x290]
mov rcx, rsi
call fcn.10005f7f8
cmp eax, r15d
mov ebx, eax
jge 0x10005f019
mov rdi, qword [rsi + 0x290]
cmp rdi, r15
je 0x10005efe6
mov rcx, rdi
call fcn.100060d20
mov rcx, rdi
call fcn.10007faae
mov qword [rsi + 0x290], r15
cmp ebx, r15d
mov qword [rsi + 0x298], r15
jge 0x10005f008
lea rdx, [0x10002c280]
mov r8d, ebx
mov ecx, 2
call fcn.1000527f4
jmp 0x10005f019
lea rdx, [0x10002c2c8]
mov ecx, 4
call fcn.1000527a0
mov eax, ebx
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.10007fa70
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret