Function at 0x10001c2b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, r8
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov r13d, esi
mov dword [rsp + 0x48], esi
mov dword [r11 + 0x20], esi
cmp r8, rsi
je 0x10001c63d
lea rdx, [0x10007d664]
lea ecx, [rsi + 0x18]
call fcn.100068664
mov rbx, rax
mov qword [rsp + 0x60], rax
cmp rax, rsi
je 0x10001c339
mov rcx, rax
call fcn.10002264c
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rsi
jmp 0x10001c33c
mov rbx, rsi
mov qword [rsp + 0x70], rbx
cmp rbx, rsi
jne 0x10001c35d
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r12], rsi
mov rax, r12
jmp 0x10001c64f
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x10001c3ae
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x60], rsi
mov qword [r12], rsi
mov rcx, rbx
call fcn.10001c780
mov rcx, rbx
call sub.msvcrt.dll_free
mov rax, r12
jmp 0x10001c64f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x58], rsi
mov r15d, esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], 0x56
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x44]
lea r8, [rsp + 0xc0]
mov edx, r15d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp eax, esi
jne 0x10001c5a7
mov ecx, 0x268
call fcn.1000671f0
mov r14, rax
mov qword [rsp + 0x60], rax
cmp rax, rsi
je 0x10001c484
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rsi
mov word [rsp + 0x80], si
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xc0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x78]
call fcn.100017078
nop
or r13d, 2
mov dword [rsp + 0x48], r13d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.10001829c
mov rdi, rax
jmp 0x10001c487
mov rdi, rsi
test r13b, 2
je 0x10001c4ca
and r13d, 0xfffffffd
mov dword [rsp + 0x48], r13d
cmp qword [rsp + 0x98], 8
jb 0x10001c4ae
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rsi
mov word [rsp + 0x80], si
mov rcx, qword [rsp + 0x58]
cmp rcx, rsi
je 0x10001c4da
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10001c542
mov dword [rsp + 0x44], esi
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x100004f80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x10001c542
mov dword [rdi + 0x170], 1
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.10001cb80
cmp eax, esi
jge 0x10001c570
cmp dword [rsp + 0x1d8], esi
je 0x10001c570
mov edi, 0x32
jmp 0x10001c5af
jmp 0x10001c59a
inc r15d
mov dword [rsp + 0x40], r15d
jmp 0x10001c3c2
cmp edi, 0x103
je 0x10001c5e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x10001c5c1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbx
call fcn.10001c9ac
cmp rbx, rsi
je 0x10001c5de
mov rcx, rbx
call fcn.10001c780
mov rcx, rbx
call sub.msvcrt.dll_free
mov rbx, rsi
jmp 0x10001c60f
cmp qword [rbx + 0x10], rsi
jne 0x10001c60f
mov rcx, rbx
call fcn.10001c9ac
mov rcx, rbx
call fcn.10001c780
mov rcx, rbx
call sub.msvcrt.dll_free
mov rbx, rsi
mov ecx, 0x490
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x50]
cmp rcx, rsi
je 0x10001c61f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x58]
cmp rcx, rsi
je 0x10001c634
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [r12], rbx
mov rax, r12
jmp 0x10001c64f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r12], rsi
mov rax, r12
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.100068440
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret