Function at 0x14001a260
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rbx, rdx
mov rsi, rcx
mov rdi, qword [rbp + 0xc0]
add r9, r8
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov word [rbp + 0x30], 0
mov dword [rbp + 0x38], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x20]
call fcn.140019300
mov rax, qword [rbp + 0xc8]
add rax, rdi
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rax
mov word [rbp + 0x30], 0
mov dword [rbp + 0x38], 1
lea rcx, [rbp - 0x18]
lea r14, [rbp + 0x20]
mov rdx, r14
call fcn.140019300
mov rdi, qword [rbp - 0x30]
mov qword [rbp + 0x20], 0
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
je 0x14001a319
mov qword [rsi], 0
jmp 0x14001a44f
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x4c], 0x800
movzx eax, byte [0x1400a31c1]
mov ecx, 0x800
mov edx, 1
call fcn.140007930
test rax, rax
je 0x14001a4ea
mov r14, rax
mov qword [rbp + 0x18], rdi
mov qword [rbp], rax
mov qword [rbp + 8], 0x800
mov qword [rbp + 0x10], 0
mov rbx, qword [rbp - 0x18]
lea r12, [rbp + 0x4c]
lea r15, [rbp + 0x20]
mov rdi, qword [rbp + 8]
mov r13, qword [rbp + 0x10]
sub rdi, r13
nop dword [rax]
mov dword [rbp + 0x20], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rcx, qword [rbp + 0x40]
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14001a3c4
mov r8d, dword [rbp + 0x4c]
cmp rdi, r8
jae 0x14001a380
mov rcx, rbp
mov rdx, r13
call fcn.140072340
mov r14, qword [rbp]
jmp 0x14001a36e
test eax, eax
jne 0x14001a424
mov eax, dword [rbp + 0x4c]
mov qword [rbp + 0x10], rax
and eax, 0xfffffffe
add rax, r14
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], rax
mov word [rbp + 0x30], 0
lea rcx, [rbp - 0x48]
lea rdx, [rbp + 0x20]
call fcn.140019f60
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14001a49b
mov rcx, qword [rbp - 0x48]
mov rdi, qword [rbp + 0x18]
nop word cs:[rax + rax]
cmp byte [rcx + rax - 1], 0
jne 0x14001a4a1
dec rax
jne 0x14001a410
xor eax, eax
jmp 0x14001a4a1
mov qword [rsi], 0
mov rdx, qword [rbp + 8]
test rdx, rdx
mov rdi, qword [rbp + 0x18]
je 0x14001a446
mov r8d, 1
mov rcx, r14
call fcn.140007940
mov rcx, qword [rbp + 0x40]
call sub.ADVAPI32.dll_RegCloseKey
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14001a46a
mov rcx, qword [rbp - 0x18]
add rdx, rdx
mov r8d, 2
call fcn.140007940
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x14001a484
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140007940
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor eax, eax
mov rdi, qword [rbp + 0x18]
mov qword [rbp - 0x38], rax
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x14001a4c7
mov r8d, 1
mov rcx, r14
call fcn.140007940
mov rcx, qword [rbp + 0x40]
call sub.ADVAPI32.dll_RegCloseKey
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14001a46a
add rdx, rdx
mov r8d, 2
mov rcx, rbx
jmp 0x14001a465
mov ecx, 1
mov edx, 0x800
call fcn.140077aa0
ud2