Function at 0x10013dd70
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, [0x100012d90]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x1000167a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x10013e6df
lea r14, [0x100005960]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x10013de28
lea r8, [0x100005a50]
mov edx, 0x9a
mov rcx, r14
call fcn.10009a050
mov rbx, qword [rsp + 0x58]
lea rcx, [0x100014dc0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x10013de4d
mov ecx, 0x8007000e
call fcn.1000196c8
nop
cmp qword [rsp + 0x60], 0
je 0x10013de69
lea r8, [0x100005a48]
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov rcx, r14
call fcn.10009a050
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 0x10013e6df
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x10013deb8
lea r8, [0x100005a50]
mov edx, 0x9a
mov rcx, r14
call fcn.10009a050
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 0x10013e6df
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, [0x10000f3b0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
cmp eax, esi
je 0x10013df63
lea r14, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013e2cb
test byte [rcx + 0x1c], 1
je 0x10013e2cb
cmp byte [rcx + 0x19], 3
jb 0x10013e2cb
lea edx, [rsi + 0x17]
mov dword [rsp + 0x20], eax
lea r9, [0x10000f3b0]
lea r8, [0x100002df0]
mov rcx, qword [rcx + 0x10]
call fcn.10001ddb0
jmp 0x10013e2cb
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.100072810
cmp eax, esi
jge 0x10013e012
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_RaiseException]
cmp r13d, esi
jne 0x10013e1e5
cmp dword [rsp + 0x48], 7
jne 0x10013e1ee
mov rbx, rsi
mov rax, qword [r12 + 8]
cmp rax, rsi
jbe 0x10013e0fb
cmp rbx, rax
jb 0x10013e054
lea r8, [0x100005a58]
mov edx, 0x2c3
lea rcx, [0x1000059a0]
call fcn.10009a050
cmp rbx, qword [r12 + 8]
jae 0x10013e253
mov rdx, qword [r12]
mov rdx, qword [rdx + rbx*8]
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll__wcsicmp
cmp eax, esi
je 0x10013e084
inc rbx
mov rax, qword [r12 + 8]
cmp rbx, rax
jb 0x10013e037
jmp 0x10013e0fb
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013e0eb
test byte [rcx + 0x1c], 1
je 0x10013e0eb
cmp byte [rcx + 0x19], 4
jb 0x10013e0eb
cmp rbx, qword [r12 + 8]
jb 0x10013e0c2
lea r8, [0x100005a58]
mov edx, 0x2c3
lea rcx, [0x1000059a0]
call fcn.10009a050
mov rcx, qword [0x1001653b8]
cmp rbx, qword [r12 + 8]
jae 0x10013e248
mov rax, qword [r12]
mov edx, 0x18
mov r9, qword [rax + rbx*8]
lea r8, [0x100002df0]
mov rcx, qword [rcx + 0x10]
call fcn.10001db08
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10013df6d
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.10013e750
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
cmp eax, esi
jl 0x10013e1b1
mov rbx, rsi
cmp rbp, rsi
jbe 0x10013e1b1
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
jne 0x10013e181
lea r8, [0x100005a50]
mov edx, 0x9a
lea rcx, [0x100005960]
call fcn.10009a050
mov rcx, qword [rsp + 0x60]
cmp rbx, rbp
jae 0x10013e29b
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rdi + rbx*8]
call qword [rax + 0xa8]
mov esi, eax
test eax, eax
js 0x10013e25e
inc rbx
cmp rbx, rbp
mov esi, 0
jb 0x10013e15a
cmp rdi, rsi
je 0x10013e22e
mov rbx, rsi
cmp rbp, rsi
jbe 0x10013e1d5
mov rcx, qword [rdi + rbx*8]
cmp rcx, rsi
je 0x10013e1cd
mov rax, qword [rcx]
call qword [rax + 0x10]
inc rbx
cmp rbx, rbp
jb 0x10013e1be
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov rdi, qword [rsp + 0x50]
jmp 0x10013e233
cmp r13d, 0x103
je 0x10013e233
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x10013e233
test byte [rcx + 0x1c], 1
je 0x10013e233
cmp byte [rcx + 0x19], 3
jb 0x10013e233
mov edx, 0x19
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r15d
lea r9, [0x10000f3b0]
lea r8, [0x100002df0]
mov rcx, qword [rcx + 0x10]
call fcn.10001e4b0
jmp 0x10013e233
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp r13d, esi
jne 0x10013e2be
jmp 0x10013df6d
mov ecx, 0x80070057
call fcn.1000196c8
int3
mov ecx, 0x80070057
call fcn.1000196c8
int3
test rdi, rdi
je 0x10013e286
xor ebx, ebx
mov rcx, qword [rdi + rbx*8]
test rcx, rcx
je 0x10013e274
mov rax, qword [rcx]
call qword [rax + 0x10]
inc rbx
cmp rbx, rbp
jb 0x10013e265
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 0x10013e6df
lea r8, [0x100005a58]
mov edx, 0x2cd
lea rcx, [0x1000059a0]
call fcn.10009a050
mov ecx, 0x80070057
call fcn.1000196c8
nop
mov r13, qword [rsp + 0x88]
mov r15, qword [rsp + 0x70]
mov r14, qword [r13 + 8]
mov rbp, rsi
cmp r14, rsi
jbe 0x10013e66f
mov r12, rsi
mov qword [rsp + 0x48], rsi
cmp rbp, qword [r13 + 8]
jb 0x10013e301
lea r8, [0x100005a58]
mov edx, 0x271
lea rcx, [0x1000059a0]
call fcn.10009a050
cmp rbp, qword [r13 + 8]
jae 0x10013e664
mov r13, qword [r13]
mov rbx, qword [rsp + 0x58]
cmp rbx, rsi
jne 0x10013e336
lea r8, [0x100005a50]
mov edx, 0x9a
lea rcx, [0x100005960]
call fcn.10009a050
mov rbx, qword [rsp + 0x58]
lea rcx, [0x100014de8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x70], rax
cmp rax, rsi
je 0x10013e659
cmp qword [rsp + 0x48], rsi
je 0x10013e373
lea r8, [0x100005a48]
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
lea rcx, [0x100005960]
call fcn.10009a050
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 0x10013e63b
lea rcx, [0x100014df8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x10013e630
lea r8, [rsp + 0x70]
lea rdx, [0x100014e30]
lea rcx, [rsp + 0x48]
call fcn.10013d28c
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e612
mov rcx, qword [r12 + r13]
test rcx, rcx
jne 0x10013e3ff
xor ebx, ebx
mov qword [rsp + 0x40], rbx
jmp 0x10013e416
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x10013e607
lea r8, [rsp + 0x40]
lea rdx, [0x100012af8]
lea rcx, [rsp + 0x48]
call fcn.10013d28c
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e5e9
mov rcx, qword [r12 + r13 + 8]
test rcx, rcx
jne 0x10013e459
xor ebx, ebx
mov qword [rsp + 0x40], rbx
jmp 0x10013e470
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x10013e5de
lea r8, [rsp + 0x40]
lea rdx, [0x100014e40]
lea rcx, [rsp + 0x48]
call fcn.10013d28c
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e5c0
lea rax, [0x10000f198]
lea rcx, [0x10000f1a8]
cmp byte [r12 + r13 + 0x10], dil
cmovne rcx, rax
test rcx, rcx
jne 0x10013e4c5
xor ebx, ebx
mov qword [rsp + 0x40], rbx
jmp 0x10013e4dc
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x10013e5b5
lea r8, [rsp + 0x40]
lea rdx, [0x100012b28]
lea rcx, [rsp + 0x48]
call fcn.10013d28c
mov esi, eax
test eax, eax
sets dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x10013e597
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x10013e533
lea r8, [0x100005a50]
mov edx, 0x9a
lea rcx, [0x100005960]
call fcn.10009a050
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 0x10013e579
mov rcx, qword [rsp + 0x48]
xor esi, esi
cmp rcx, rsi
je 0x10013e55c
mov rax, qword [rcx]
call qword [rax + 0x10]
inc rbp
add r12, 0x18
cmp rbp, r14
mov r13, qword [rsp + 0x88]
jb 0x10013e2de
jmp 0x10013e66f
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e6b7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e6be
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov ecx, 0x8007000e
call fcn.1000196c8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e6c5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov ecx, 0x8007000e
call fcn.1000196c8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e6cc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov ecx, 0x8007000e
call fcn.1000196c8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e6d3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov ecx, 0x8007000e
call fcn.1000196c8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x10013e6da
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov ecx, 0x8007000e
call fcn.1000196c8
int3
mov ecx, 0x80070057
call fcn.1000196c8
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 0x10013e6a2
lea r8, [0x100005a50]
mov edx, 0x9a
lea rcx, [0x100005960]
call fcn.10009a050
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + VarUI4FromDisp]
mov esi, eax
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov rbp, qword [rsp + 0x50]
jmp 0x10013e6df
mov rbp, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x10013e6f2
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 0x10013e70c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10013e71c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.10014e600
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret