Function at 0x1400c3ea0
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 [0x140191010]
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, [0x14016059c]
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 [0x1401993f8]
mov eax, dword [0x1401993fc]
xor r12d, r12d
add ecx, eax
je 0x1400c3fec
mov dword [rsp + 0x50], r12d
call fcn.1400057e0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400c3f75
call fcn.1400057e0
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.140004bd0
nop
mov qword [rsp + 0x48], r12
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x1400c3fe7
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x1400c3fd2
lock inc dword [rsp + 0x50]
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0x68], r12
call fcn.140009d20
lea rdx, [rsp + 0x68]
mov rcx, rbx
mov rax, qword [rax + 0x108]
call qword [case.0x14006aed5.0]
mov rbx, qword [rsp + 0x68]
call fcn.140009d20
mov rcx, rbx
mov rax, qword [rax + 0xf8]
call qword [case.0x14006aed5.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.14000a0f0
mov rdi, rax
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400c4072
call fcn.140009d20
mov rcx, rbx
mov rax, qword [rax + 0x100]
call qword [case.0x14006aed5.0]
nop
call fcn.140009d20
mov rcx, rdi
mov rax, qword [rax + 0xf8]
call qword [case.0x14006aed5.0]
mov rbx, r12
test eax, eax
cmove rbx, rdi
mov qword [rbp - 0x70], rbx
test rbx, rbx
je 0x1400c4398
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, [0x140150c78]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c40e9
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 0x1400c4389
cmp dword [rsp + 0x60], 4
jne 0x1400c4389
cmp dword [rsp + 0x40], eax
je 0x1400c4389
mov rdi, qword [rsi + 0x30]
mov qword [rbp - 0x80], r12
call fcn.140009d20
lea rdx, [rbp - 0x80]
mov rcx, rdi
mov rax, qword [rax + 0x108]
call qword [case.0x14006aed5.0]
mov rdi, qword [rbp - 0x80]
call fcn.140009d20
mov rcx, rdi
mov rax, qword [rax + 0xf8]
call qword [case.0x14006aed5.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.14000a0f0
mov rsi, rax
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400c41bf
call fcn.140009d20
mov rcx, rdi
mov rax, qword [rax + 0x100]
call qword [case.0x14006aed5.0]
nop
call fcn.140009d20
mov rcx, rsi
mov rax, qword [rax + 0xf8]
call qword [case.0x14006aed5.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.140002ed0
nop
mov edx, dword [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.14002b500
mov r9, rax
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400c422b
mov r9, qword [rax]
mov rcx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x30]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400c426a
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 0x1400c428a
lfence
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rbp - 0x48]
call fcn.1400039f0
mov rbx, qword [rbp - 0x70]
mov r15, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400c42cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c42c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c42c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rsi, qword [rbp - 0x48]
call fcn.140009d20
mov r8, rsi
lea rdx, [0x140142544]
mov rcx, rdi
mov rax, qword [rax + 0x170]
call qword [case.0x14006aed5.0]
call fcn.140009d20
xor r8d, r8d
lea rdx, [0x140142464]
mov rcx, rbx
mov rax, qword [rax + 0x170]
call qword [case.0x14006aed5.0]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400c435d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4358
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
test rdi, rdi
je 0x1400c4389
call fcn.140009d20
mov rcx, rdi
mov rax, qword [rax + 0x100]
call qword [case.0x14006aed5.0]
nop
test r15, r15
je 0x1400c4398
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x1400c43b3
call fcn.140009d20
mov rcx, rbx
mov rax, qword [rax + 0x100]
call qword [case.0x14006aed5.0]
nop
lea rcx, [rbp]
call fcn.1400091b0
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140071e30
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