Function at 0x14000f1c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140024020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
xor r12d, r12d
mov qword [rdx + 0x10], r12
mov rax, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000f1fd
mov rax, qword [rdx]
mov word [rax], r12w
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x14001f380]
movdqu xmmword [rbp - 9], xmm1
mov word [rbp - 0x19], r12w
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x21]
call fcn.14000e5b0
cmp dword [0x140025538], 0
je 0x14000f2a5
mov r9, qword [rbp - 0x29]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 7]
call fcn.14000ed60
cmp qword [rax + 0x18], 8
jb 0x14000f253
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.Looking_for_architecture_specific_registry_value_in__s.
call fcn.1400070d0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14000f2a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f2a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f2a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ce0
mov qword [rbp - 0x31], r12
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000f30e
cmp eax, 2
jne 0x14000f2fb
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea rcx, str.The_registry_key___s__does_not_exist.
call fcn.1400070d0
jmp 0x14000f4a7
mov edx, eax
lea rcx, str.Failed_to_open_the_registry_key._Error_code:_0x_X
call fcn.1400070d0
jmp 0x14000f4a7
mov dword [rbp - 0x39], r12d
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 2
mov r8, qword [rbp - 0x29]
xor edx, edx
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000f48f
mov ecx, dword [rbp - 0x39]
test ecx, ecx
je 0x14000f48f
mov edi, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
mov r14, r12
mov qword [rbp + 0x17], r12
cmp rcx, 2
jb 0x14000f3cf
and rdi, 0xfffffffffffffffe
cmp rdi, 0x1000
jb 0x14000f39b
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000f514
call fcn.140013ce8
test rax, rax
je 0x14000f47e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000f3b0
test rdi, rdi
je 0x14000f3ad
mov rcx, rdi
call fcn.140013ce8
mov rbx, rax
jmp 0x14000f3b0
mov rbx, r12
mov qword [rbp + 7], rbx
lea r14, [rdi + rbx]
mov qword [rbp + 0x17], r14
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.140015c50
mov qword [rbp + 0xf], r14
jmp 0x14000f3d3
mov rbx, qword [rbp + 7]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9d, 2
mov r8, qword [rbp - 0x29]
xor edx, edx
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14000f41d
mov edx, eax
lea rcx, str.Failed_to_get_the_value_of_the_install_location_registry_value._Error_code:_0x_X
call fcn.1400070d0
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor dil, dil
jmp 0x14000f44e
mov rdx, rbx
mov rcx, rsi
call fcn.140008700
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsi + 0x18], 8
jb 0x14000f43c
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, str.Found_registered_install_location__s.
call fcn.1400070d0
mov dil, 1
test rbx, rbx
je 0x14000f4aa
sub r14, rbx
sar r14, 1
lea rdx, [r14 + r14]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000f485
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f485
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140013ce0
jmp 0x14000f4aa
mov edx, eax
lea rcx, str.Failed_to_get_the_size_of_the_install_location_registry_value_or_its_empty._Error_code:_0x_X
call fcn.1400070d0
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor dil, dil
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14000f4ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f4e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f4e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ce0
movzx eax, dil
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140013cc0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001410
nop
int3