Function at 0x14023f478
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd8
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x7f]
xor r15d, r15d
mov r13, qword [rbp + 0x6f]
mov rsi, r9
mov qword [rsp + 0x40], rax
mov r12, r8
lea rax, [rsp + 0x50]
mov qword [rbp - 0x79], r15
mov qword [rsp + 0x38], rax
lea r9d, [r15 + 0x20]
lea rax, [rbp - 0x7d]
mov byte [r13], 1
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov eax, dword [rbp + 0x77]
lea rcx, [rbp - 0x79]
mov dword [rsp + 0x28], eax
mov r8, rsi
mov byte [rsp + 0x20], 1
mov rdi, rdx
mov dword [rbp - 0x7d], r15d
mov dword [rsp + 0x50], r15d
call fcn.1400ab80c
test eax, eax
je 0x14023f510
mov rdx, r12
mov rcx, rbx
call fcn.14009ba8c
jmp 0x14023f69f
mov r14d, dword [rsp + 0x50]
lea rcx, [rbp - 0x59]
mov edx, r14d
call fcn.1400ab794
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x14023f52e
mov r8, qword [rdi]
mov rcx, qword [rbp - 0x79]
lea rax, [rbp - 0x7d]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9d, [rdx + 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
je 0x14023f5df
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14023f5cf
cmp qword [rsi + 0x18], 8
mov dword [rsp + 0x50], r15d
jb 0x14023f57b
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 0x41], rsi
jb 0x14023f589
mov rdi, qword [rdi]
lea rcx, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], rcx
lea rdx, [0x14044c7f6]
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001fa0
mov rdx, r12
mov rcx, rbx
call fcn.14009ba8c
jmp 0x14023f696
mov rcx, qword [rbp - 0x59]
xor esi, esi
xor r15d, r15d
mov qword [rbp - 0x61], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
test rcx, rcx
je 0x14023f668
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14023f668
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x29]
add rdx, rsi
call fcn.14008c350
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x71]
call fcn.140072bf4
lea rcx, [rbp - 0x29]
call fcn.14007a7c0
mov rcx, qword [rbp - 0x59]
inc r15
add r15, rdi
lea rsi, [r15 + r15]
add rcx, rsi
jne 0x14023f64d
xor edi, edi
jmp 0x14023f65f
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
nop dword [rax + rax]
mov rdi, rax
test rdi, rdi
jne 0x14023f610
mov rsi, qword [rbp - 0x61]
mov rax, qword [rbp - 0x71]
lea rcx, [rbp - 0x71]
and qword [rbp - 0x61], 0
xorps xmm0, xmm0
mov byte [r13], 0
mov qword [rbx], rax
mov rax, qword [rbp - 0x69]
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rsi
movdqu xmmword [rbp - 0x71], xmm0
call fcn.140079000
lea rcx, [rbp - 0x59]
call fcn.1400f6764
lea rcx, [rbp - 0x79]
call fcn.1400f8348
mov rax, rbx
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140112420
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret