Function at 0x14019e420
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r9
mov r14, r8
mov rax, rdx
mov rbx, rcx
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x31], r8
mov qword [rbp - 0x29], r9
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14019e466
mov rdx, qword [r8]
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14019e4c5
xor edi, edi
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov r8d, 0xd
lea rdx, str.ERROR_READREG
mov rcx, rbx
call fcn.1400cf720
nop
mov rcx, r14
call fcn.1400c2be0
nop
mov rcx, rsi
call fcn.1400c2be0
jmp 0x14019e653
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14019e4d2
mov rdx, qword [rsi]
lea rax, [rbp - 0x3d]
mov qword [rsp + 0x28], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x41]
xor r8d, r8d
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14019e503
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14019e487
cmp dword [rbp - 0x41], 4
jne 0x14019e4f7
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14019e516
mov rdx, qword [rsi]
lea rax, [rbp - 0x3d]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x41]
xor r8d, r8d
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14019e4f7
lea r9, [rbp + 0x29]
mov r8d, dword [rbp - 0x39]
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x14019e550
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 7
lea rax, [rbp + 0x29]
cmp r9, rax
je 0x14019e5af
lea r8, [rbp + 0x29]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp - 0x21]
call fcn.1400cf720
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14019e5f9
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14019e5f4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019e670
mov rcx, r8
call fcn.1401bfb10
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 7
mov word [r14], di
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14019e644
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14019e63f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14019e676
mov rcx, r8
call fcn.1401bfb10
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401c0070
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3