Function at 0x1400063d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
xor ebx, ebx
mov r13d, ebx
mov dword [rsp + 0x50], ebx
mov r8d, 0xeb
lea rdx, str.CAppInfo::IsFirstTimeExecute
lea rcx, [0x140114db0]
call fcn.140064950
lea esi, [rbx + 1]
cmp dword [0x1401a5f44], ebx
jne 0x140006615
cmp dword [0x1401a5f40], ebx
jne 0x140006615
cmp dword [0x1401a5f48], ebx
jne 0x140006615
xor r9d, r9d
lea r8, str.InitFirstTime
lea rdx, str.General
lea rcx, [0x1401a5f30]
call fcn.140005c30
mov ebx, eax
mov r8d, 0xf0
lea rdx, str.CAppInfo::IsFirstTimeExecute
lea rcx, [0x140114db0]
call fcn.140064950
test ebx, ebx
je 0x140006613
mov r8d, 0xf4
lea rdx, str.CAppInfo::IsFirstTimeExecute
lea rcx, [0x140114db0]
call fcn.140064950
xor ebx, ebx
mov edi, ebx
mov dword [rsp + 0x44], ebx
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], ebx
mov qword [rbp - 0x80], rbx
mov dword [rsp + 0x60], ebx
mov r9d, esi
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.1400298b0
test eax, eax
je 0x140006521
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140064950
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140006592
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140006592
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.dchServKeepSettings
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140006582
cmp dword [rsp + 0x68], 4
jne 0x140006582
mov edi, dword [rsp + 0x60]
mov dword [rsp + 0x44], edi
test rbx, rbx
je 0x14000657b
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r9d, esi
xor ebx, ebx
jmp 0x140006595
test rbx, rbx
je 0x140006590
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor ebx, ebx
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov r8d, 0xf8
lea rdx, str.CAppInfo::IsFirstTimeExecute
lea rcx, str._s__d_Open_Registry__Success__d__dwDchServKeepSettings__d_
call fcn.140064950
cmp edi, 1
jne 0x140006615
mov r8d, 0xfd
lea rdx, str.CAppInfo::IsFirstTimeExecute
lea rcx, str._s__d_dwDchServKeepSettings
call fcn.140064950
xor r9d, r9d
lea r8, str.dchServKeepSettings
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.140085620
mov dword [rsp + 0x20], esi
mov r9d, eax
mov r8d, 0x101
lea rdx, str.CAppInfo::IsFirstTimeExecute
lea rcx, str._s__d_DeleteRegKey__d_
call fcn.140064950
mov dword [rsp + 0x50], esi
jmp 0x140006615
xor ebx, ebx
xor r9d, r9d
lea r8, str.InstallPathChanged
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov rax, qword [0x1401a5f30]
call qword [rax + 0x20]
mov r12d, eax
mov dword [rsp + 0x40], eax
xor r9d, r9d
lea r8, str.InstallPathChanged
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov r10, qword [0x1401a5f30]
call qword [r10 + 0x28]
mov qword [rsp + 0x58], rbx
mov r15d, ebx
mov r14d, ebx
mov r9d, 2
xor r8d, r8d
xor edx, edx
lea rcx, [0x14014e000]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140006aa8
mov dword [rbp - 0x60], 0x20
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov r12, 0xffffffffffffffff
test eax, eax
je 0x140006869
jmp 0x1400066c2
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x200
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
lea rdx, [rbp - 0x40]
mov rcx, rbx
lea r8, str.IntcAzAudAddService
nop word [rax + rax]
movzx eax, word [r8 + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x140006724
movzx eax, word [r8 + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x140006724
add rcx, 2
cmp rcx, 0x14
jne 0x140006700
jmp 0x140006754
lea rdx, [rbp - 0x40]
mov rax, rbx
lea r8, str.HdAudAddService
movzx ecx, word [r8 + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x140006756
movzx ecx, word [r8 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x140006756
add rax, 2
cmp rax, 0x10
jne 0x140006732
mov ebx, esi
lea rdx, [rbp - 0x40]
xor ecx, ecx
lea r9, str.RTKSdWHwCodec
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [r9 + rcx*2]
movzx eax, word [rdx + rcx*2]
sub r8d, eax
jne 0x140006798
movzx r8d, word [r9 + rcx*2 + 2]
movzx eax, word [rdx + rcx*2 + 2]
sub r8d, eax
jne 0x140006798
add rcx, 2
cmp rcx, 0xe
jne 0x140006770
lea r9, [rbp - 0x40]
mov rcx, r12
lea r10, str.RtkUsbAD
nop word [rax + rax]
movzx edx, word [r10 + rcx*2 + 2]
movzx eax, word [r9 + rcx*2 + 2]
sub edx, eax
jne 0x1400067d8
add rcx, 2
cmp rcx, 9
je 0x1400067d8
movzx edx, word [r10 + rcx*2]
movzx eax, word [r9 + rcx*2]
sub edx, eax
je 0x1400067b0
test ebx, ebx
jne 0x1400067e5
test edx, edx
je 0x1400067e5
test r8d, r8d
jne 0x14000684e
mov dword [rsp + 0x38], 0
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
lea r8, [0x140117088]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDevicePropertyW]
test eax, eax
je 0x140006835
cmp dword [rsp + 0x6c], 0x10
jne 0x140006835
mov r15d, esi
test ebx, ebx
jne 0x140006869
jmp 0x14000684e
mov r8d, 0x287
lea rdx, str.CDriverPropertyClient::GetInstallData
lea rcx, str._s__d_DEVPKEY_Device_InstallDate__ERROR_NOT_FOUND
call fcn.140064950
inc r14d
lea r8, [rbp - 0x60]
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x1400066c0
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
test r15d, r15d
je 0x140006aae
xor r9d, r9d
lea r8, str.InstallDate_Low
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov rax, qword [0x1401a5f30]
call qword [rax + 0x20]
mov ebx, eax
xor r9d, r9d
lea r8, str.InstallDate_High
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov r10, qword [0x1401a5f30]
call qword [r10 + 0x20]
mov edi, eax
xor r9d, r9d
lea r8, str.InitFirstTime
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov r10, qword [0x1401a5f30]
call qword [r10 + 0x20]
mov rcx, qword [rsp + 0x58]
cmp ecx, ebx
jne 0x1400068fe
cmp dword [rsp + 0x5c], edi
jne 0x1400068fe
test eax, eax
jne 0x140006aae
mov r9d, ecx
lea r8, str.InstallDate_Low
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov rax, qword [0x1401a5f30]
call qword [rax + 0x28]
mov r9d, dword [rsp + 0x5c]
lea r8, str.InstallDate_High
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov rax, qword [0x1401a5f30]
call qword [rax + 0x28]
mov edi, dword [rsp + 0x50]
test edi, edi
jne 0x14000696e
xor r9d, r9d
lea r8, str.InitFirstTime
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov rax, qword [0x1401a5f30]
call qword [rax + 0x28]
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x3c0]
call fcn.1400d54b0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x1c0]
call fcn.1400d54b0
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x140006af9
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FileTimeToLocalFileTime]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_FileTimeToSystemTime]
mov dword [rsp + 0x28], 0xff
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x70]
lea edx, [r9 + 2]
mov ecx, 0x400
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetDateFormatW]
mov dword [rsp + 0x28], 0xff
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x70]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetTimeFormatW]
lea r9, [rbp + 0x1c0]
lea r8, [rbp + 0x3c0]
lea rdx, str._s__s
lea rcx, [rsp + 0x50]
call fcn.1400071a0
mov rbx, qword [rsp + 0x50]
mov r9, rbx
lea r8, str.InstallTime
lea rdx, str.General
lea rcx, [0x1401a5f30]
mov rax, qword [0x1401a5f30]
call qword [rax + 0x38]
mov r9, rbx
mov r8d, 0x14b
lea rdx, str.CAppInfo::IsFirstTimeExecute
lea rcx, str._s__d_sDriverInstallTime_s
call fcn.140064950
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x140006aa3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r13d, esi
jmp 0x140006ab2
mov edi, dword [rsp + 0x50]
jmp 0x140006ab7
mov edi, dword [rsp + 0x50]
mov r12d, dword [rsp + 0x40]
test edi, edi
jne 0x140006ac5
test r12d, r12d
jne 0x140006ac7
test r13d, r13d
jne 0x140006ac7
xor esi, esi
mov eax, esi
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.1400ce210
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005560
int3