Function at 0x14005ddf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp qword [rdx + 0x18], 8
mov esi, r8d
mov dword [rbp - 0x25], r8d
mov rdi, rdx
mov qword [rbp - 0x11], rdx
mov rbx, rcx
mov qword [rbp - 0x19], rcx
jb 0x14005de31
mov rdx, qword [rdx]
call fcn.14005dd80
test eax, eax
jne 0x14005de41
xor eax, eax
jmp 0x14005e14f
xor eax, eax
cmp qword [rdi + 0x18], 8
mov qword [rbp - 0x21], rax
jb 0x14005de53
mov rdx, qword [rdi]
jmp 0x14005de56
mov rdx, rdi
mov r9d, esi
lea rax, [rbp - 0x21]
or r9d, 8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x14005de3a
test eax, eax
jne 0x14005e14f
xor ebx, ebx
mov qword [rbp + 0x2f], 7
or r9, 0xffffffffffffffff
mov qword [rbp + 0x27], rbx
xor r8d, r8d
mov word [rbp + 0x17], bx
mov rdx, rdi
lea rcx, [rbp + 0x17]
call fcn.140029d5c
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14005ded7
cmp qword [rbp + 0x2f], 8
lea rax, [rbp + 0x17]
cmovae rax, qword [rbp + 0x17]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x14005ded7
lea r8d, [rbx + 1]
lea rdx, [0x14014ba54]
lea rcx, [rbp + 0x17]
call fcn.140029e90
mov rsi, qword [rbp + 0x27]
mov ecx, 7
mov rdi, qword [rbp - 0x19]
xor eax, eax
mov qword [rbp + 0xf], rcx
mov word [rbp - 9], ax
mov qword [rbp + 7], rbx
nop dword [rax]
nop word [rax + rax]
mov dword [rbp - 0x29], 0x104
cmp rbx, 0x104
ja 0x14005df4f
cmp rcx, 0x104
je 0x14005df4f
jae 0x14005df30
mov r8, rbx
lea rcx, [rbp - 9]
mov edx, 0x104
call fcn.14002b780
mov rcx, qword [rbp + 0xf]
cmp rcx, 8
mov qword [rbp + 7], rbx
lea rax, [rbp - 9]
cmovae rax, qword [rbp - 9]
xor ecx, ecx
mov word [rax + rbx*2], cx
mov rcx, qword [rbp + 0xf]
mov rbx, qword [rbp + 7]
cmp rbx, 0x103
jb 0x14005df78
cmp rcx, 8
mov qword [rbp + 7], 0x103
lea rax, [rbp - 9]
cmovae rax, qword [rbp - 9]
xor ebx, ebx
mov word [rax + 0x206], bx
jmp 0x14005df8e
mov edx, 0x103
lea rcx, [rbp - 9]
sub rdx, rbx
xor r8d, r8d
call fcn.140030b20
xor ebx, ebx
cmp qword [rbp + 0xf], 8
lea r8, [rbp - 9]
mov rcx, qword [rbp - 0x21]
lea r9, [rbp - 0x29]
cmovae r8, qword [rbp - 9]
xor edx, edx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14005e065
mov edx, dword [rbp - 0x29]
mov rax, qword [rbp + 7]
cmp rdx, rax
ja 0x14005dfec
cmp qword [rbp + 0xf], 8
lea rax, [rbp - 9]
mov qword [rbp + 7], rdx
cmovae rax, qword [rbp - 9]
mov word [rax + rdx*2], bx
jmp 0x14005dffb
xor r8d, r8d
lea rcx, [rbp - 9]
sub rdx, rax
call fcn.140030b20
mov rax, qword [rbp + 0x27]
cmp rsi, rax
ja 0x14005e01c
cmp qword [rbp + 0x2f], 8
lea rax, [rbp + 0x17]
mov qword [rbp + 0x27], rsi
cmovae rax, qword [rbp + 0x17]
mov word [rax + rsi*2], bx
jmp 0x14005e02e
mov rdx, rsi
lea rcx, [rbp + 0x17]
sub rdx, rax
xor r8d, r8d
call fcn.140030b20
or r9, 0xffffffffffffffff
lea rdx, [rbp - 9]
xor r8d, r8d
lea rcx, [rbp + 0x17]
call fcn.14002b2fc
mov ebx, dword [rbp - 0x25]
lea rdx, [rbp + 0x17]
mov r8d, ebx
mov rcx, rdi
call fcn.14005ddf0
test eax, eax
jne 0x14005e068
mov rcx, qword [rbp + 0xf]
mov rbx, qword [rbp + 7]
jmp 0x14005df00
mov ebx, dword [rbp - 0x25]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x11]
cmp qword [rdi + 0x18], 8
jb 0x14005e080
mov rdi, qword [rdi]
mov rcx, qword [rbp - 0x19]
mov r8d, ebx
mov rdx, rdi
call fcn.14005dd80
mov ebx, eax
movabs rdi, 0x7fffffffffffffff
mov rax, qword [rbp + 0xf]
cmp rax, 8
jb 0x14005e0f5
mov rcx, qword [rbp - 9]
inc rax
cmp rax, rdi
ja 0x14005e16e
add rax, rax
cmp rax, 0x1000
jb 0x14005e0f0
test cl, 0x1f
jne 0x14005e174
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14005e17a
sub rcx, rax
cmp rcx, 8
jb 0x14005e180
cmp rcx, 0x27
ja 0x14005e186
mov rcx, rax
call fcn.140111e78
xor eax, eax
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rax
mov word [rbp - 9], ax
mov rax, qword [rbp + 0x2f]
cmp rax, 8
jb 0x14005e14d
mov rcx, qword [rbp + 0x17]
inc rax
cmp rax, rdi
ja 0x14005e18c
add rax, rax
cmp rax, 0x1000
jb 0x14005e148
test cl, 0x1f
jne 0x14005e192
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14005e198
sub rcx, rax
cmp rcx, 8
jb 0x14005e19e
cmp rcx, 0x27
ja 0x14005e1a4
mov rcx, rax
call fcn.140111e78
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3