Function at 0x1400d20f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rsi, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp], eax
mov r9, 0xffffffffffffffff
lea r8, str.CMainDialog::_UpdateCobrandingDisplay
mov edx, 0x102
lea rcx, [rbp + 4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.CMainDialog::_UpdateCobrandingDisplay
mov edx, 0x104
lea rcx, [rbp + 0x20c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
xor r12d, r12d
add ecx, eax
je 0x1400d223c
mov dword [rsp + 0x50], r12d
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400d21c5
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x58], 0x20
mov edx, 1
lea rax, [rbp + 4]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x58]
movsx edx, dx
call fcn.140004c90
nop
mov qword [rsp + 0x48], r12
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x1400d2237
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x1400d2222
lock inc dword [rsp + 0x50]
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0x68], r12
call fcn.140008c80
lea rdx, [rsp + 0x68]
mov rcx, rbx
mov rax, qword [rax + 0x108]
call qword [case.0x140077645.0]
mov rbx, qword [rsp + 0x68]
call fcn.140008c80
mov rcx, rbx
mov rax, qword [rax + 0xf8]
call qword [case.0x140077645.0]
mov rcx, r12
test eax, eax
cmove rcx, rbx
mov qword [rsp + 0x70], rcx
lea r8, str.idCobrandingLogo
lea rdx, str._id_S_
lea rcx, [rsp + 0x70]
call fcn.140029210
mov rdi, rax
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400d22c2
call fcn.140008c80
mov rcx, rbx
mov rax, qword [rax + 0x100]
call qword [case.0x140077645.0]
nop
call fcn.140008c80
mov rcx, rdi
mov rax, qword [rax + 0xf8]
call qword [case.0x140077645.0]
mov rbx, r12
test eax, eax
cmove rbx, rdi
mov qword [rbp - 0x70], rbx
test rbx, rbx
je 0x1400d25e8
mov r15, r12
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140171ee8]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d2339
mov r15, qword [rsp + 0x78]
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x5c], 4
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.cobranding
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d25d9
cmp dword [rsp + 0x60], 4
jne 0x1400d25d9
cmp dword [rsp + 0x40], eax
je 0x1400d25d9
mov rdi, qword [rsi + 0x30]
mov qword [rbp - 0x80], r12
call fcn.140008c80
lea rdx, [rbp - 0x80]
mov rcx, rdi
mov rax, qword [rax + 0x108]
call qword [case.0x140077645.0]
mov rdi, qword [rbp - 0x80]
call fcn.140008c80
mov rcx, rdi
mov rax, qword [rax + 0xf8]
call qword [case.0x140077645.0]
mov rcx, r12
test eax, eax
cmove rcx, rdi
mov qword [rbp - 0x78], rcx
lea r8, str.idLogoNumber
lea rdx, str._id_S_
lea rcx, [rbp - 0x78]
call fcn.140029210
mov rsi, rax
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400d240f
call fcn.140008c80
mov rcx, rdi
mov rax, qword [rax + 0x100]
call qword [case.0x140077645.0]
nop
call fcn.140008c80
mov rcx, rsi
mov rax, qword [rax + 0xf8]
call qword [case.0x140077645.0]
mov rdi, r12
test eax, eax
cmove rdi, rsi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov r8d, 9
lea rdx, str.oem_logo_
lea rcx, [rbp - 0x48]
call fcn.140002f20
nop
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.14000b600
mov r9, rax
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400d247b
mov r9, qword [rax]
mov rcx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x30]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400d24ba
lea r14, [rcx + rdx]
mov qword [rbp - 0x38], r14
lea rsi, [rbp - 0x48]
cmp r8, 8
cmovae rsi, qword [rbp - 0x48]
lea rcx, [rsi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsi + r14*2], r12w
jmp 0x1400d24da
lfence
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rbp - 0x48]
call fcn.140003a40
mov rbx, qword [rbp - 0x70]
mov r15, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400d251d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rsi, qword [rbp - 0x48]
call fcn.140008c80
mov r8, rsi
lea rdx, [0x14016b274]
mov rcx, rdi
mov rax, qword [rax + 0x170]
call qword [case.0x140077645.0]
call fcn.140008c80
xor r8d, r8d
lea rdx, [0x14016c224]
mov rcx, rbx
mov rax, qword [rax + 0x170]
call qword [case.0x140077645.0]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400d25ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d25a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d25a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
test rdi, rdi
je 0x1400d25d9
call fcn.140008c80
mov rcx, rdi
mov rax, qword [rax + 0x100]
call qword [case.0x140077645.0]
nop
test r15, r15
je 0x1400d25e8
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x1400d2603
call fcn.140008c80
mov rcx, rbx
mov rax, qword [rax + 0x100]
call qword [case.0x140077645.0]
nop
lea rcx, [rbp]
call fcn.140004e30
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret