Function at 0x14000bef4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x228]
sub rsp, 0x320
mov rax, qword [0x1400592a0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, qword [0x14005a748]
lea rax, [rsp + 0x40]
xor esi, esi
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov qword [rsp + 0x40], rsi
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferences
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c11d
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp]
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MigrationSchema
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x34], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c0ed
cmp dword [rsp + 0x30], 1
jne 0x14000c0ed
movups xmm0, xmmword [0x14004a3d8]
lea rdx, [rsp + 0x48]
mov edi, esi
movups xmm1, xmmword [0x14004a1f0]
lea rcx, [rbp]
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x14004a0e8]
movdqu xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x14004a128]
movdqu xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x14004a3b8]
movdqu xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x14004a178]
movdqu xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x14004a0f8]
movdqu xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x14004a2e8]
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x14004a188]
movdqu xmmword [rbp - 0x30], xmm1
movups xmm1, xmmword [0x14004a408]
movdqu xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x10], xmm1
call qword [sym.imp.ole32.dll_CLSIDFromString]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x50]
mov eax, esi
mov r8, qword [rsp + 0x48]
movsxd rcx, eax
add rcx, rcx
cmp qword [rsp + rcx*8 + 0x60], r8
jne 0x14000c071
cmp qword [rsp + rcx*8 + 0x68], rdx
je 0x14000c07a
inc eax
cmp eax, 0xa
jae 0x14000c07c
jmp 0x14000c05d
mov edi, eax
lea ecx, [rdi + 1]
call fcn.140018f5c
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov edi, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MigrationPercentage
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c10c
cmp dword [rsp + 0x30], edi
jne 0x14000c10c
mov ecx, dword [rsp + 0x38]
call fcn.140019120
mov r8d, dword [rsp + 0x38]
lea rdx, str.__Migration_progress:__lu__._r_n
mov ecx, edi
call fcn.140019b1c
jmp 0x14000c10c
mov ecx, dword [0x140059c08]
call fcn.140019120
mov eax, dword [0x140059c08]
inc eax
cmp eax, 0x1e
cmova eax, esi
mov dword [0x140059c08], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [0x140059d70], esi
je 0x14000c171
mov rcx, qword [0x14005a748]
test rcx, rcx
je 0x14000c141
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
jne 0x14000c16a
mov rcx, rbx
mov qword [0x14005a748], rbx
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
jne 0x14000c16a
lea rdx, str.ERROR:_Window_handle_has_become_invalid._r_n
lea ecx, [rax + 2]
call fcn.140019ae0
xor ecx, ecx
call fcn.140018de4
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400017f0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret