Function at 0x140013a18
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x740]
sub rsp, 0x840
mov rax, qword [0x140026730]
xor rax, rsp
mov qword [rbp + 0x730], rax
mov rcx, qword [0x140027450]
lea rax, str.RegistryMachineSOFTWAREMicrosoftWindows_NTCurrentVersion
mov qword [rsp + 0x50], rax
lea r9, [rbp - 0x60]
lea rax, str.InstallDate
mov dword [rsp + 0x48], 0x7e007c
mov qword [rsp + 0x60], rax
lea rdx, [0x140019c60]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x58], 0x180016
mov qword [rsp + 0x28], rax
mov ebx, 0x3cc
mov r8d, 4
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
test eax, eax
js 0x140013b4f
cmp dword [rbp - 0x60], 3
jne 0x140013b4f
cmp dword [rbp - 0x5c], 0x3c4
jne 0x140013b4f
cmp dword [rbp - 0x58], 0
je 0x140013b4f
mov edx, 7
lea rcx, [0x1400274b0]
lea rax, [rbp - 0x58]
lea r8d, [rdx + 0x79]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140013adf
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
mov eax, dword [rax + 0x40]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
mov dword [rcx + 0x40], eax
jmp 0x140013b56
and dword [0x1400274b0], 0
and qword [rsp + 0x70], 0
lea rax, [rsp + 0x48]
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
mov edi, 0x30
mov dword [rbp - 0x80], 0x40
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], edi
mov edx, 0x20019
lea rcx, [rsp + 0x38]
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
nop dword [rax + rax]
test eax, eax
js 0x140013c1a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x60]
lea r8d, [rdi - 0x2c]
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test ebx, ebx
js 0x140013c1a
cmp dword [rbp - 0x60], 4
jne 0x140013c1a
mov ebx, 0x7ffe0014
lea rdx, [rsp + 0x40]
mov rbx, qword [rbx]
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.ntdll.dll_RtlSecondsSince1970ToTime]
nop dword [rax + rax]
sub rbx, qword [rsp + 0x40]
lea ecx, [rdi - 0x28]
movabs rax, 0x649534e0000
cmp rbx, rax
cmovae edi, ecx
mov ebx, dword [0x1400274b0]
cmp ebx, edi
jae 0x140013c2d
mov rax, qword [0x140027478]
jmp 0x140013ca8
mov eax, 0xf0
cmp ebx, eax
jae 0x140013c3f
test ebx, ebx
jne 0x140013c41
mov rdi, rbx
jmp 0x140013c5d
mov ebx, eax
mov r8d, ebx
lea rdx, [0x1400274b4]
shl r8, 2
lea rcx, [rbp + 0x370]
mov edi, ebx
call sub.ntdll.dll_memcpy
lea r9, [0x140014510]
mov r8d, 4
mov rdx, rdi
lea rcx, [rbp + 0x370]
call qword [sym.imp.ntdll.dll_qsort]
nop dword [rax + rax]
lea ecx, [rbx + rbx*8]
mov eax, 0xcccccccd
mul ecx
mov eax, dword [0x140027388]
shr edx, 3
mov ecx, dword [rbp + rdx*4 + 0x370]
imul rcx, rax
mov rax, rcx
shr rax, 4
add rax, rcx
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.140010a60
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret