Function at 0x140023254
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, qword [rcx + 0x38]
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov r14, rcx
test r15, r15
jne 0x1400232a8
mov eax, 0x80004005
jmp 0x140023599
mov r13d, 1
cmp dword [rcx + 0x28], r13d
jbe 0x1400232bc
mov ebx, r13d
jmp 0x140023597
cmp byte [0x14005175c], bl
jne 0x1400232ce
call fcn.14003b558
mov rcx, rax
jmp 0x1400232d5
lea rcx, [0x140050340]
movzx eax, word [rcx + 2]
lea r8, str.SoftwareMicrosoftMediaPlayer_lu._luL
movzx r9d, word [rcx]
mov edx, 0x208
lea rcx, [rbp]
mov dword [rsp + 0x20], eax
call fcn.1400017b4
test eax, eax
js 0x140023592
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, [rbp]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 3
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140023592
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x70], 0x80
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.UDBVersion
mov dword [rsp + 0x60], r13d
mov r12, rbx
mov rsi, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140023506
cmp dword [rsp + 0x60], r13d
jne 0x140023506
mov dword [rsp + 0x50], ebx
lea esi, [rax + 0x2e]
mov dword [rsp + 0x54], ebx
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x58], ebx
mov edi, ebx
mov dword [rsp + 0x5c], ebx
jmp 0x1400233b2
add edi, r13d
lea rcx, [rax + 2]
mov edx, esi
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x1400233ab
mov ecx, edi
sub ecx, r13d
je 0x140023496
sub ecx, r13d
je 0x14002346f
cmp ecx, r13d
lea rcx, [rbp - 0x80]
je 0x140023442
test edi, edi
jne 0x140023436
lea esi, [rax + 0x2c]
jmp 0x1400233ec
add edi, r13d
lea rcx, [rax + 2]
mov edx, esi
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x1400233e5
lea rcx, [rbp - 0x80]
sub edi, r13d
je 0x14002342d
sub edi, r13d
je 0x140023424
cmp edi, r13d
je 0x14002341b
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsp + 0x50], eax
jmp 0x1400234b1
lea rdx, str._lu__lu__lu__lu
jmp 0x140023449
lea rdx, str._lu__lu__lu
jmp 0x14002347a
lea rdx, str._lu__lu
jmp 0x1400234a1
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsp + 0x58], eax
jmp 0x1400234b1
lea rdx, str._lu._lu._lu._lu
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_swscanf]
jmp 0x1400234b1
lea rdx, str._lu._lu._lu
lea rcx, [rbp - 0x80]
lea rax, [rsp + 0x58]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
call qword [sym.imp.msvcrt.dll_swscanf]
jmp 0x1400234b1
lea rdx, str._lu._lu
lea rcx, [rbp - 0x80]
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_swscanf]
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x5c]
shl eax, 0x10
add ecx, eax
mov eax, dword [rsp + 0x58]
shl eax, 0x10
add edx, eax
mov esi, ecx
and rsi, 0xffffffffffff0000
movzx eax, cx
or rsi, rax
mov rcx, r15
shl rsi, 0x10
mov eax, edx
shr rax, 0x10
or rsi, rax
movzx eax, dx
shl rsi, 0x10
or rsi, rax
call fcn.140016dcc
cmp rax, rsi
mov ecx, ebx
mov r12, rax
seta cl
jmp 0x140023509
mov ecx, r13d
or rdi, 0xffffffffffffffff
test ecx, ecx
je 0x140023546
mov rax, rdi
inc rax
cmp word [r15 + rax*2], bx
jne 0x140023514
mov rcx, qword [rsp + 0x68]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.UDBVersion
mov r9d, r13d
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp r12, rsi
jb 0x140023585
mov rcx, qword [r14 + 0x40]
test rcx, rcx
je 0x140023585
inc rdi
cmp word [rcx + rdi*2], bx
jne 0x140023554
lea eax, [rdi*2 + 2]
mov r9d, r13d
mov dword [rsp + 0x28], eax
lea rdx, str.UDBRev
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140023597
mov ebx, 0x80004005
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14003c810
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret