Function at 0x100006098
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, edx
lea rax, [0x100014408]
mov rdi, r9
mov esi, r8d
mov r12d, ecx
lea rdx, [0x100001770]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100006142
mov rcx, qword [0x100014408]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, [0x1000017d8]
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100006135
cmp dword [rsp + 0x34], 4
jne 0x100006135
mov ebx, dword [rsp + 0x38]
jmp 0x100006144
mov rcx, qword [0x100014408]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov ecx, 0xe7
call fcn.100008cb8
xor r9d, r9d
mov rcx, rdi
lea r13d, [r9 + 1]
mov rdx, rax
mov r8d, r13d
call fcn.10000a08c
test eax, eax
jne 0x1000061bf
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
bt dword [rcx + 0xbc], 0xe
jb 0x100006185
mov ecx, 0xe9
jmp 0x100006195
btr ebx, 0xe
mov ecx, ebx
call fcn.100006040
mov ecx, 0xe5
call fcn.100008cb8
mov rcx, qword [sym.imp.msvcrt.dll__iob]
add rcx, 0x30
mov rdx, rax
call fcn.10000a170
mov rcx, qword [0x100014408]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10000635f
mov ecx, 0xe6
call fcn.100008cb8
xor r9d, r9d
mov r8d, r13d
mov rdx, rax
mov rcx, rdi
call fcn.10000a08c
test eax, eax
jne 0x10000620b
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
bt dword [rcx + 0xbc], 0xe
jb 0x10000627a
bts ebx, 0xe
mov ecx, ebx
call fcn.100006040
mov ecx, 0xe4
jmp 0x100006195
lea r14, [0x100001638]
test r14, r14
jne 0x10000621b
xor ebx, ebx
jmp 0x100006226
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test rdi, rdi
jne 0x10000622f
xor eax, eax
jmp 0x100006238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r9d, eax
mov r8, rdi
mov edx, r13d
mov ecx, 0x409
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
jne 0x100006284
bt dword [rcx + 0xbc], 0xe
mov ecx, 0xe9
jae 0x100006195
mov ecx, 0xea
jmp 0x100006195
bt dword [rcx + 0xbc], 0xe
mov rcx, qword [0x100014408]
jb 0x1000062f4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0xec
call fcn.100008cb8
mov rcx, qword [sym.imp.msvcrt.dll__iob]
add rcx, 0x30
mov rdx, rax
call fcn.10000a170
mov ecx, 0xed
call fcn.100008cb8
mov rcx, qword [sym.imp.msvcrt.dll__iob]
add rcx, 0x30
mov rdx, rax
call fcn.10000a170
mov ecx, 0xee
call fcn.100008cb8
mov rcx, qword [sym.imp.msvcrt.dll__iob]
add rcx, 0x30
mov rdx, rax
call fcn.10000a170
jmp 0x10000635f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1000143e8], rax
test rax, rax
je 0x100006321
lea rdx, [0x1000143f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
and qword [0x100014910], 0
lea rdx, [0x1000017f0]
lea rcx, [0x100014810]
mov r8d, 0x80
mov byte [0x100013794], 0
call fcn.100009ec8
call fcn.100006388
test eax, eax
je 0x100006362
mov r8d, esi
mov edx, ebp
mov ecx, r12d
call fcn.100006804
mov eax, r13d
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret