Function at 0x14013ad90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x79], rdx
lea rdx, [rbp - 0x29]
call fcn.14013b1f4
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x71], xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rax
xor esi, esi
mov byte [rbp - 0x71], sil
mov byte [rbp - 0x51], sil
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14013baec
nop
cmp byte [rbp - 0x51], sil
je 0x14013ae0a
lea rcx, [rbp - 0x71]
call fcn.14000f680
mov dword [rbp - 0x41], esi
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov ebx, 2
mov r9d, ebx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, ebx
jne 0x14013aead
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi + 0x20], rax
mov byte [rdi], sil
mov byte [rdi + 0x20], sil
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14013ae79
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 9]
call fcn.14000f680
lea rcx, [rbp - 0x29]
call fcn.14000f680
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140154030
mov rbx, qword [rsp + 0x138]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
cmp eax, 0xea
je 0x14013aec0
mov rcx, qword [rbp + 0x5f]
test eax, eax
jne 0x14013afb4
mov eax, dword [rbp - 0x41]
test eax, eax
je 0x14013af99
test al, 1
jne 0x14013af99
shr eax, 1
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x17], si
mov r8d, eax
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x79]
call fcn.140039048
mov rcx, qword [rax]
cmp qword [rcx + 0x18], 8
jb 0x14013af03
mov rcx, qword [rcx]
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
lea rcx, [rbp - 0x79]
call fcn.140036b24
mov rcx, qword [rbp + 0x5f]
test ebx, ebx
jne 0x14013af84
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x17], si
mov byte [rdi + 0x20], 1
lea rcx, [rbp + 0x17]
call fcn.14000f680
jmp 0x14013ae69
mov r9d, ebx
lea r8, str.amcore_smartscreencommonwindows_src_registry.cpp
mov edx, 0x88
call fcn.1400a0e64
nop
mov rcx, qword [rbp + 0x5f]
mov r9d, ntohs
lea r8, str.amcore_smartscreencommonwindows_src_registry.cpp
lea edx, [r9 + 0x75]
call fcn.1400a0e64
int3
mov r9d, eax
lea r8, str.amcore_smartscreencommonwindows_src_registry.cpp
mov edx, 0x7d
call fcn.1400a0e64
int3