Function at 0x10a0d04
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
and dword [rax + 0x10], 0
lea r8, [rax + 0x18]
lea rdx, [0x01084640]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10a0d7f
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x70]
lea rdx, [0x010899e0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x0108a418]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov r14, rax
je 0x10a1028
lea rdx, [0x0108a448]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x0108a4b8]
mov rcx, r14
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x0108a4d8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x0108a480]
mov rcx, r14
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x0108a448]
mov rcx, r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x0108a508]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x0108a508]
mov rcx, r14
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x28
mov r13, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
cmp dword [0x010e5334], 6
jne 0x10a0f98
cmp dword [0x010e5338], 3
jne 0x10a0f98
test rsi, rsi
lea ebx, [rdi + 0x1d]
je 0x10a0e6a
lea rcx, [0x0108a2b8]
xor r8d, r8d
xor edx, edx
call rsi
test rax, rax
mov rdi, rax
jne 0x10a0e6a
lea rdx, [0x0108af78]
mov ecx, ebx
call fcn.01091f4c
test r12, r12
je 0x10a0e98
lea r8, [0x0108afb2]
lea rdx, [0x0108afb8]
xor r9d, r9d
mov rcx, rdi
call r12
test al, al
jne 0x10a0e98
lea rdx, [0x0108afe0]
mov ecx, ebx
call fcn.01091f4c
test r13, r13
je 0x10a0ec3
lea r8, [0x0108b030]
lea rdx, [0x0108b038]
mov rcx, rdi
call r13
test al, al
jne 0x10a0ec3
lea rdx, [0x0108b070]
mov ecx, ebx
call fcn.01091f4c
mov rdx, r15
mov rcx, rdi
call fcn.010a08f4
test rbp, rbp
je 0x10a0eea
mov rcx, rdi
call rbp
test al, al
jne 0x10a0eea
lea rdx, [0x0108b0c8]
mov ecx, ebx
call fcn.01091f4c
xor edi, edi
test rsi, rsi
je 0x10a0f15
lea rcx, [0x0108a2c8]
xor r8d, r8d
xor edx, edx
call rsi
test rax, rax
mov rdi, rax
jne 0x10a0f15
lea rdx, [0x0108b100]
mov ecx, ebx
call fcn.01091f4c
test r12, r12
je 0x10a0f43
lea r8, [0x0108afb2]
lea rdx, [0x0108afb8]
xor r9d, r9d
mov rcx, rdi
call r12
test al, al
jne 0x10a0f43
lea rdx, [0x0108b140]
mov ecx, ebx
call fcn.01091f4c
test r13, r13
je 0x10a0f6e
lea r8, [0x0108b190]
lea rdx, [0x0108b198]
mov rcx, rdi
call r13
test al, al
jne 0x10a0f6e
lea rdx, [0x0108b1d0]
mov ecx, ebx
call fcn.01091f4c
mov rdx, r15
mov rcx, rdi
call fcn.010a08f4
test rbp, rbp
je 0x10a101b
mov rcx, rdi
call rbp
test al, al
jne 0x10a101b
lea rdx, [0x0108b0c8]
jmp 0x10a1014
test rsi, rsi
mov ebx, 0x1d
je 0x10a0fc6
lea rcx, [0x01089a08]
xor r8d, r8d
xor edx, edx
call rsi
test rax, rax
mov rdi, rax
jne 0x10a0fc6
lea rdx, [0x0108b228]
mov ecx, ebx
call fcn.01091f4c
test r12, r12
je 0x10a0ff4
lea r8, [0x0108afb2]
lea rdx, [0x0108afb8]
xor r9d, r9d
mov rcx, rdi
call r12
test al, al
jne 0x10a0ff4
lea rdx, [0x0108b270]
mov ecx, ebx
call fcn.01091f4c
mov rdx, r15
mov rcx, rdi
call fcn.010a08f4
test rbp, rbp
je 0x10a101b
mov rcx, rdi
call rbp
test al, al
je 0x10a101b
lea rdx, [0x0108b2b8]
mov ecx, ebx
call fcn.01091f4c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x10a1039
lea rdx, [0x0108a540]
xor ecx, ecx
call fcn.01091f4c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret