Function at 0x140001d10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14008f840]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp], rdx
xor r15d, r15d
mov dword [rbp - 0x10], 0x100
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x140001d60
mov rdx, qword [rcx]
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001f48
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140001d94
mov rdx, qword [rdi]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test eax, eax
jne 0x140001ec3
mov eax, dword [rbp - 0x10]
cmp eax, 0x100
jbe 0x140001e5f
mov ecx, eax
call fcn.14006e994
mov r14, rax
mov qword [rbp], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140001de5
mov rdx, qword [rdi]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test eax, eax
jne 0x140001eba
mov r8d, dword [rbp - 0x10]
dec r8d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov rdx, r14
mov rcx, rbx
call fcn.14000a050
nop
mov rcx, r14
call fcn.14006e640
mov rax, rbx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14006e620
mov rbx, qword [rsp + 0x268]
add rsp, 0x220
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140001e6c
mov rdx, qword [rdi]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test eax, eax
jne 0x140001ec3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov r8d, dword [rbp - 0x10]
dec r8d
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.14000a050
jmp 0x140001e36
lea rcx, [rbp]
call fcn.140008aa0
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.1400013c0
mov rbx, rax
mov r8, rdi
lea rdx, str.Registry_value_could_not_be_read:
lea rcx, [rsp + 0x70]
call fcn.140009520
nop
lea r8, str.__Error_Code:
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400099f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140009a60
nop
lea r8, [0x140082a24]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400099f0
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001250
lea rdx, [0x14008b788]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400013c0
mov rbx, rax
mov r8, rsi
lea rdx, str.Registry_key_could_not_be_opened:
lea rcx, [rbp - 0x50]
call fcn.140009520
nop
lea r8, str.__Error_Code:
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400099f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140009a60
nop
lea r8, [0x140082a24]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400099f0
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001250
lea rdx, [0x14008b788]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3