Function at 0x109faf8
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, [0x010991f8]
mov ecx, r15d
call fcn.0109c5cc
xor ebp, ebp
lea r8, [rsp + 0x38]
and qword [rsp + 0x38], rbp
and dword [rsp + 0x34], ebp
and dword [rsp + 0x80], ebp
lea rdx, [0x01097528]
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 0x109fbb3
lea rax, [rsp + 0x30]
lea rdx, [0x01098cc0]
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 0x109fba8
mov eax, 0x80070006
jmp 0x109fdbb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.0109fdd8
mov r14d, 0xa
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x109fbed
lea rcx, [0x01099228]
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 0x109fc63
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 0x109fc63
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
lea rdx, [0x01099130]
mov ecx, r15d
call fcn.0109c5cc
mov r11d, dword [rsp + 0x80]
test r11d, r11d
je 0x109fc72
lea r8, [rdi + 0xcc]
mov edx, 1
mov rcx, rdi
mov dword [r8], r11d
call fcn.0109f460
jmp 0x109fc72
lea rdx, [0x01099180]
mov ecx, r15d
call fcn.0109c5cc
test r12d, r12d
mov rcx, rdi
je 0x109fc8b
call fcn.0109f664
mov r8d, dword [rdi + 0xcc]
mov rcx, rdi
jmp 0x109fc8e
xor r8d, r8d
mov r9d, esi
mov rdx, rbp
call fcn.0109f5a4
mov ecx, r14d
mov sil, al
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0xa8]
test rax, rax
je 0x109fcb6
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 0x109fce4
lea rcx, [0x01099238]
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 0x109fd08
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call rax
mov sil, al
test sil, sil
mov ecx, r15d
je 0x109fd52
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
lea rdx, [0x01099130]
call fcn.0109c5cc
mov r11d, dword [rsp + 0x80]
test r11d, r11d
je 0x109fd5e
lea r8, [rdi + 0xcc]
mov edx, 1
mov rcx, rdi
mov dword [r8], r11d
call fcn.0109f460
jmp 0x109fd5e
lea rdx, [0x01099180]
call fcn.0109c5cc
test r12d, r12d
mov rcx, rdi
je 0x109fd77
call fcn.0109f664
mov r8d, dword [rdi + 0xcc]
mov rcx, rdi
jmp 0x109fd7a
xor r8d, r8d
or r9d, 0xffffffff
mov rdx, rbx
call fcn.0109f5a4
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rdi + 0xa8]
test r11, r11
je 0x109fda1
mov rcx, rbx
call r11
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x109fdb9
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