Function at 0x109ed0c
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, [0x0108a288]
mov ecx, r15d
call fcn.01091f4c
xor ebp, ebp
lea r8, [rsp + 0x38]
and qword [rsp + 0x38], rbp
and dword [rsp + 0x34], ebp
and dword [rsp + 0x80], ebp
lea rdx, [0x01084640]
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 0x109edc7
lea rax, [rsp + 0x30]
lea rdx, [0x010899e0]
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 0x109edbc
mov eax, 0x80070006
jmp 0x109efd5
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.0109f39c
mov r14d, 0xa
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0xc8]
test rax, rax
je 0x109ee04
lea rcx, [0x0108a2b8]
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 + 0xd8]
test r9, r9
je 0x109ee7a
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 0x109ee7a
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
lea rdx, [0x0108a1c0]
mov ecx, r15d
call fcn.01091f4c
mov r11d, dword [rsp + 0x80]
test r11d, r11d
je 0x109ee89
lea r8, [rdi + 0x124]
mov edx, 1
mov rcx, rdi
mov dword [r8], r11d
call fcn.0109e670
jmp 0x109ee89
lea rdx, [0x0108a210]
mov ecx, r15d
call fcn.01091f4c
test r12d, r12d
mov rcx, rdi
je 0x109eea2
call fcn.0109e874
mov r8d, dword [rdi + 0x124]
mov rcx, rdi
jmp 0x109eea5
xor r8d, r8d
mov r9d, esi
mov rdx, rbp
call fcn.0109e7b4
mov ecx, r14d
mov sil, al
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0xf8]
test rax, rax
je 0x109eecd
mov rcx, rbp
call rax
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0xc8]
xor ebx, ebx
test rax, rax
je 0x109eefe
lea rcx, [0x0108a2c8]
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 + 0xd8]
test rax, rax
je 0x109ef22
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call rax
mov sil, al
test sil, sil
mov ecx, r15d
je 0x109ef6c
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
lea rdx, [0x0108a1c0]
call fcn.01091f4c
mov r11d, dword [rsp + 0x80]
test r11d, r11d
je 0x109ef78
lea r8, [rdi + 0x124]
mov edx, 1
mov rcx, rdi
mov dword [r8], r11d
call fcn.0109e670
jmp 0x109ef78
lea rdx, [0x0108a210]
call fcn.01091f4c
test r12d, r12d
mov rcx, rdi
je 0x109ef91
call fcn.0109e874
mov r8d, dword [rdi + 0x124]
mov rcx, rdi
jmp 0x109ef94
xor r8d, r8d
or r9d, 0xffffffff
mov rdx, rbx
call fcn.0109e7b4
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rdi + 0xf8]
test r11, r11
je 0x109efbb
mov rcx, rbx
call r11
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x109efd3
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