Function at 0x10149a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
lea rcx, [0x01008890]
call fcn.01012d38
xor ebp, ebp
and dword [rsp + 0x40], ebp
and dword [rsp + 0x44], ebp
lea rcx, [rsp + 0x38]
call fcn.01015594
test eax, eax
jne 0x1014afd
lea rcx, [0x010088e0]
call fcn.01012d38
and qword [rsp + 0x48], rbp
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x01008960]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1014d81
mov ebx, 0x208
mov dword [rsp + 0x30], ebx
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.01035300
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x010089d0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1014a97
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x70]
call fcn.01010b60
mov dword [rsp + 0x30], ebx
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.01035300
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x010089f0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1014ae8
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x70]
call fcn.01010b60
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
jmp 0x1014d86
lea rcx, [0x01008a20]
call fcn.01012d38
lea rcx, [rsp + 0x38]
call fcn.01015324
test eax, eax
je 0x1014d81
lea rcx, [0x01008a90]
call fcn.01012d38
and qword [rsp + 0x58], 0
and dword [rsp + 0x48], 0
xor esi, esi
and dword [rsp + 0x30], esi
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.01020fc4
cmp dword [rsp + 0x30], 5
jbe 0x1014c3c
lea rcx, [0x010093a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1014b7f
lea rdx, [0x010093c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1014b7f
call rax
mov ebx, eax
jmp 0x1014b81
xor ebx, ebx
mov edx, ebx
lea rcx, [0x01008b10]
call fcn.01012d38
lea rdx, [0x01006540]
lea rcx, [rsp + 0x50]
call fcn.010109f8
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1014bc4
lea r9, [rsp + 0x50]
mov r8d, 5
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.01014df8
jmp 0x1014bc6
xor eax, eax
test eax, eax
je 0x1014bd8
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x50]
call fcn.01010aec
lea rdx, [0x01006540]
lea rcx, [rsp + 0x30]
call fcn.010109f8
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1014c0d
lea r9, [rsp + 0x30]
mov r8d, 7
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.01014df8
jmp 0x1014c0f
xor eax, eax
test eax, eax
je 0x1014c22
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x30]
call fcn.01010aec
nop
lea rcx, [rsp + 0x30]
call fcn.01010940
nop
lea rcx, [rsp + 0x50]
call fcn.01010940
jmp 0x1014d6a
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x1014c6b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, 4
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.010156fc
mov r11d, eax
jmp 0x1014c79
mov ecx, 0x2001000a
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r11d, r11d
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1014d6a
test r11d, r11d
je 0x1014c94
cmp dword [rsp + 0x48], esi
jbe 0x1014c94
mov esi, dword [rax]
mov edx, esi
lea rcx, [0x01008ba0]
call fcn.01012d38
test ebx, ebx
je 0x1014cb7
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.01015770
jmp 0x1014cc2
mov ecx, 0x2001000a
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x01006540]
lea rcx, [rsp + 0x30]
call fcn.010109f8
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1014cf7
lea r9, [rsp + 0x30]
mov r8d, 5
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.01014df8
jmp 0x1014cf9
xor eax, eax
test eax, eax
je 0x1014d0b
lea rcx, [rdi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.01010aec
lea rdx, [0x01006540]
lea rcx, [rsp + 0x50]
call fcn.010109f8
nop
lea rax, [rsp + 0x38]
test rax, rax
je 0x1014d40
lea r9, [rsp + 0x50]
mov r8d, 7
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.01014df8
jmp 0x1014d42
xor eax, eax
test eax, eax
je 0x1014d55
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x50]
call fcn.01010aec
nop
lea rcx, [rsp + 0x50]
call fcn.01010940
nop
lea rcx, [rsp + 0x30]
call fcn.01010940
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1014d86
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
jmp 0x1014d86
mov rbx, qword [rsp + 0x38]
mov r8, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x10]
lea rcx, [0x01008c20]
call fcn.01012d38
mov r11, qword [rdi + 0x10]
cmp qword [r11 - 0x10], 0
je 0x1014db6
mov rcx, qword [rdi + 0x18]
mov eax, 1
cmp qword [rcx - 0x10], 0
cmovne ebp, eax
test rbx, rbx
je 0x1014dc4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.01029cb0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret