Function at 0x10013dc18
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r15, r8
mov qword [rsp + 0x70], r8
mov r13, rdx
mov qword [rsp + 0x88], rdx
mov r12, rcx
xor ebp, ebp
and qword [r11 - 0x298], rbp
and qword [rsp + 0x58], rbp
and qword [rsp + 0x60], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x100012dc0]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x100016730]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x10013e587
lea r14, [0x1000059c0]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x10013dcd0
lea r8, [0x100005ac0]
mov edx, 0x9a
mov rcx, r14
call fcn.100099ad8
mov rbx, qword [rsp + 0x58]
lea rcx, [0x100014d50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x10013dcf5
mov ecx, 0x8007000e
call fcn.100019658
nop
cmp qword [rsp + 0x60], 0
je 0x10013dd11
lea r8, [0x100005ab8]
mov edx, 0x95
mov rcx, r14
call fcn.100099ad8
mov rax, qword [rbx]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x178]
mov esi, eax
test eax, eax
sets bl
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
jne 0x10013e587
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x10013dd60
lea r8, [0x100005ac0]
mov edx, 0x9a
mov rcx, r14
call fcn.100099ad8
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
call qword [rax + 0xa8]
mov esi, eax
test eax, eax
js 0x10013e587
mov ecx, 0x2000
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x10000f3d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
cmp eax, esi
je 0x10013de0b
lea r14, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013e173
test byte [rcx + 0x1c], 1
je 0x10013e173
cmp byte [rcx + 0x19], 3
jb 0x10013e173
lea edx, [rsi + 0x17]
mov dword [rsp + 0x20], eax
lea r9, [0x10000f3d0]
lea r8, [0x100002e30]
mov rcx, qword [rcx + 0x10]
call fcn.10001daa4
jmp 0x10013e173
mov r15d, esi
lea r14, [0x1001653b8]
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x68], 0x2000
mov qword [rsp + 0x40], rsi
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x68]
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
lea r8, [rsp + 0xc0]
mov edx, r15d
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r13d, eax
inc r15d
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x40]
call fcn.100072310
cmp eax, esi
jge 0x10013deba
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_RaiseException]
cmp r13d, esi
jne 0x10013e08d
cmp dword [rsp + 0x48], 7
jne 0x10013e096
mov rbx, rsi
mov rax, qword [r12 + 8]
cmp rax, rsi
jbe 0x10013dfa3
cmp rbx, rax
jb 0x10013defc
lea r8, [0x100005ac8]
mov edx, 0x2c3
lea rcx, [0x100005a08]
call fcn.100099ad8
cmp rbx, qword [r12 + 8]
jae 0x10013e0fb
mov rdx, qword [r12]
mov rdx, qword [rdx + rbx*8]
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll__wcsicmp
cmp eax, esi
je 0x10013df2c
inc rbx
mov rax, qword [r12 + 8]
cmp rbx, rax
jb 0x10013dedf
jmp 0x10013dfa3
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013df93
test byte [rcx + 0x1c], 1
je 0x10013df93
cmp byte [rcx + 0x19], 4
jb 0x10013df93
cmp rbx, qword [r12 + 8]
jb 0x10013df6a
lea r8, [0x100005ac8]
mov edx, 0x2c3
lea rcx, [0x100005a08]
call fcn.100099ad8
mov rcx, qword [0x1001653b8]
cmp rbx, qword [r12 + 8]
jae 0x10013e0f0
mov rax, qword [r12]
mov edx, 0x18
mov r9, qword [rax + rbx*8]
lea r8, [0x100002e30]
mov rcx, qword [rcx + 0x10]
call fcn.10001da24
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10013de15
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0xa8], esi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.10013e5f8
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
cmp eax, esi
jl 0x10013e059
mov rbx, rsi
cmp rbp, rsi
jbe 0x10013e059
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
jne 0x10013e029
lea r8, [0x100005ac0]
mov edx, 0x9a
lea rcx, [0x1000059c0]
call fcn.100099ad8
mov rcx, qword [rsp + 0x60]
cmp rbx, rbp
jae 0x10013e143
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rdi + rbx*8]
call qword [rax + 0xa8]
mov esi, eax
test eax, eax
js 0x10013e106
inc rbx
cmp rbx, rbp
mov esi, 0
jb 0x10013e002
cmp rdi, rsi
je 0x10013e0d6
mov rbx, rsi
cmp rbp, rsi
jbe 0x10013e07d
mov rcx, qword [rdi + rbx*8]
cmp rcx, rsi
je 0x10013e075
mov rax, qword [rcx]
call qword [rax + 0x10]
inc rbx
cmp rbx, rbp
jb 0x10013e066
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov rdi, qword [rsp + 0x50]
jmp 0x10013e0db
cmp r13d, 0x103
je 0x10013e0db
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013e0db
test byte [rcx + 0x1c], 1
je 0x10013e0db
cmp byte [rcx + 0x19], 3
jb 0x10013e0db
mov edx, 0x19
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r15d
lea r9, [0x10000f3d0]
lea r8, [0x100002e30]
mov rcx, qword [rcx + 0x10]
call fcn.10001dd64
jmp 0x10013e0db
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp r13d, esi
jne 0x10013e166
jmp 0x10013de15
mov ecx, 0x80070057
call fcn.100019658
int3
mov ecx, 0x80070057
call fcn.100019658
int3
test rdi, rdi
je 0x10013e12e
xor ebx, ebx
mov rcx, qword [rdi + rbx*8]
test rcx, rcx
je 0x10013e11c
mov rax, qword [rcx]
call qword [rax + 0x10]
inc rbx
cmp rbx, rbp
jb 0x10013e10d
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
lea r8, [0x100005ac8]
mov edx, 0x2cd
lea rcx, [0x100005a08]
call fcn.100099ad8
mov ecx, 0x80070057
call fcn.100019658
nop
mov r13, qword [rsp + 0x88]
mov r15, qword [rsp + 0x70]
mov r14, qword [r13 + 8]
mov rbp, rsi
cmp r14, rsi
jbe 0x10013e517
mov r12, rsi
mov qword [rsp + 0x48], rsi
cmp rbp, qword [r13 + 8]
jb 0x10013e1a9
lea r8, [0x100005ac8]
mov edx, 0x271
lea rcx, [0x100005a08]
call fcn.100099ad8
cmp rbp, qword [r13 + 8]
jae 0x10013e50c
mov r13, qword [r13]
mov rbx, qword [rsp + 0x58]
cmp rbx, rsi
jne 0x10013e1de
lea r8, [0x100005ac0]
mov edx, 0x9a
lea rcx, [0x1000059c0]
call fcn.100099ad8
mov rbx, qword [rsp + 0x58]
lea rcx, [0x100014d78]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x70], rax
cmp rax, rsi
je 0x10013e501
cmp qword [rsp + 0x48], rsi
je 0x10013e21b
lea r8, [0x100005ab8]
mov edx, 0x95
lea rcx, [0x1000059c0]
call fcn.100099ad8
mov rax, qword [rbx]
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x178]
mov esi, eax
test eax, eax
sets bl
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
jne 0x10013e4e3
lea rcx, [0x100014d88]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x10013e4d8
lea r8, [rsp + 0x70]
lea rdx, [0x100014dc0]
lea rcx, [rsp + 0x48]
call fcn.10013d134
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e4ba
mov rcx, qword [r12 + r13]
test rcx, rcx
jne 0x10013e2a7
xor ebx, ebx
mov qword [rsp + 0x40], rbx
jmp 0x10013e2be
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x10013e4af
lea r8, [rsp + 0x40]
lea rdx, [0x100012b28]
lea rcx, [rsp + 0x48]
call fcn.10013d134
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e491
mov rcx, qword [r12 + r13 + 8]
test rcx, rcx
jne 0x10013e301
xor ebx, ebx
mov qword [rsp + 0x40], rbx
jmp 0x10013e318
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x10013e486
lea r8, [rsp + 0x40]
lea rdx, [0x100014dd0]
lea rcx, [rsp + 0x48]
call fcn.10013d134
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e468
lea rax, [0x10000f1b8]
lea rcx, [0x10000f1c8]
cmp byte [r12 + r13 + 0x10], dil
cmovne rcx, rax
test rcx, rcx
jne 0x10013e36d
xor ebx, ebx
mov qword [rsp + 0x40], rbx
jmp 0x10013e384
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x10013e45d
lea r8, [rsp + 0x40]
lea rdx, [0x100012b58]
lea rcx, [rsp + 0x48]
call fcn.10013d134
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e43f
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x10013e3db
lea r8, [0x100005ac0]
mov edx, 0x9a
lea rcx, [0x1000059c0]
call fcn.100099ad8
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
call qword [rax + 0xa8]
mov esi, eax
test eax, eax
js 0x10013e421
mov rcx, qword [rsp + 0x48]
xor esi, esi
cmp rcx, rsi
je 0x10013e404
mov rax, qword [rcx]
call qword [rax + 0x10]
inc rbp
add r12, 0x18
cmp rbp, r14
mov r13, qword [rsp + 0x88]
jb 0x10013e186
jmp 0x10013e517
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e55f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e566
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov ecx, 0x8007000e
call fcn.100019658
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e56d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov ecx, 0x8007000e
call fcn.100019658
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e574
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov ecx, 0x8007000e
call fcn.100019658
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e57b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov ecx, 0x8007000e
call fcn.100019658
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e582
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov ecx, 0x8007000e
call fcn.100019658
int3
mov ecx, 0x80070057
call fcn.100019658
nop
mov rcx, qword [r15]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r15], rsi
mov rcx, qword [rsp + 0x58]
cmp rcx, rsi
jne 0x10013e54a
lea r8, [0x100005ac0]
mov edx, 0x9a
lea rcx, [0x1000059c0]
call fcn.100099ad8
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x110]
mov esi, eax
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov rbp, qword [rsp + 0x50]
jmp 0x10013e587
mov rbp, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x10013e59a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10013e5b4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10013e5c4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.10014e480
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret