Function at 0x108aaf8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12d, edx
mov r8d, edx
mov rdi, rcx
mov r15d, 0x1d
lea rdx, [0x010841f8]
mov ecx, r15d
call fcn.010875cc
xor ebp, ebp
lea r8, [rsp + 0x38]
and qword [rsp + 0x38], rbp
and dword [rsp + 0x34], ebp
and dword [rsp + 0x80], ebp
lea rdx, [0x01082528]
or esi, 0xffffffff
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x88], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x108abb3
lea rax, [rsp + 0x30]
lea rdx, [0x01083cc0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x108aba8
mov eax, 0x80070006
jmp 0x108adbb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.0108add8
mov r14d, 0xa
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x108abed
lea rcx, [0x01084228]
xor r8d, r8d
xor edx, edx
call rax
mov ecx, r14d
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9, qword [rdi + 0x88]
test r9, r9
je 0x108ac63
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov rcx, rbp
call r9
mov ecx, r14d
mov bl, al
call qword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
je 0x108ac63
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
lea rdx, [0x01084130]
mov ecx, r15d
call fcn.010875cc
mov r11d, dword [rsp + 0x80]
test r11d, r11d
je 0x108ac72
lea r8, [rdi + 0xcc]
mov edx, 1
mov rcx, rdi
mov dword [r8], r11d
call fcn.0108a460
jmp 0x108ac72
lea rdx, [0x01084180]
mov ecx, r15d
call fcn.010875cc
test r12d, r12d
mov rcx, rdi
je 0x108ac8b
call fcn.0108a664
mov r8d, dword [rdi + 0xcc]
mov rcx, rdi
jmp 0x108ac8e
xor r8d, r8d
mov r9d, esi
mov rdx, rbp
call fcn.0108a5a4
mov ecx, r14d
mov sil, al
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0xa8]
test rax, rax
je 0x108acb6
mov rcx, rbp
call rax
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0x78]
xor ebx, ebx
test rax, rax
je 0x108ace4
lea rcx, [0x01084238]
xor r8d, r8d
xor edx, edx
call rax
mov ecx, r14d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x108ad08
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call rax
mov sil, al
test sil, sil
mov ecx, r15d
je 0x108ad52
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
lea rdx, [0x01084130]
call fcn.010875cc
mov r11d, dword [rsp + 0x80]
test r11d, r11d
je 0x108ad5e
lea r8, [rdi + 0xcc]
mov edx, 1
mov rcx, rdi
mov dword [r8], r11d
call fcn.0108a460
jmp 0x108ad5e
lea rdx, [0x01084180]
call fcn.010875cc
test r12d, r12d
mov rcx, rdi
je 0x108ad77
call fcn.0108a664
mov r8d, dword [rdi + 0xcc]
mov rcx, rdi
jmp 0x108ad7a
xor r8d, r8d
or r9d, 0xffffffff
mov rdx, rbx
call fcn.0108a5a4
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rdi + 0xa8]
test r11, r11
je 0x108ada1
mov rcx, rbx
call r11
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x108adb9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret