Function at 0x1400335e0
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
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x40], rcx
lea rax, vtable.CCustomizeGigabyte.0
mov qword [rcx], rax
lea rax, vtable.CCustomizeGigabyte.1.0
mov qword [rcx + 8], rax
xor r12d, r12d
mov qword [rcx + 0x10], r12
cmp dword [0x14013c490], r12d
je 0x14003387b
call fcn.14000b2a0
test dword [rax + 0xc0], 0x200
je 0x14003387b
mov esi, 0x3e7
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r12d
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x38], r12d
mov r15d, 1
mov r9d, r15d
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x30]
call fcn.1400280a0
test eax, eax
je 0x1400336b5
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005b9a0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140033704
jmp 0x1400336fe
mov dword [rbp - 0x18], 4
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x14]
xor r8d, r8d
lea rdx, str.JackImpedance
mov rbx, qword [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400336f6
cmp dword [rbp - 0x14], 4
jne 0x1400336f6
mov esi, dword [rbp - 0x38]
test rbx, rbx
je 0x140033704
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.14000b5c0
mov rcx, rax
call fcn.14008f5a0
call fcn.14000b5c0
cmp dword [rax + 0x140], 0
jne 0x140033757
cmp dword [0x140143c1c], 0
je 0x140033757
cmp dword [0x140143c18], 0
jne 0x14003373e
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x140033757
mov r8d, 0x3e
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14005b9a0
call fcn.14000b5c0
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x140033807
call fcn.14000b5c0
call fcn.14000b5c0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140033763
cmp dword [rcx + 0x1ac], 1
jne 0x140033763
lea rbx, [rcx + 0x10]
mov dword [rbp - 0x38], r12d
xor r9d, r9d
lea r8, [rbp - 0x38]
lea rdx, [0x1400e2118]
mov rcx, rbx
call fcn.140002680
test eax, eax
je 0x1400337b2
cmp dword [rbp - 0x38], esi
je 0x1400337ee
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 0x30], ax
mov dword [rbp - 0x28], esi
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [0x1400e2118]
mov rcx, rbx
call fcn.140003580
mov r15d, eax
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov r9d, esi
mov r8d, r15d
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.14005b9a0
call fcn.14000b5c0
mov rcx, rax
call fcn.14008f620
call fcn.140006290
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.140092f60
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14003385a
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.1400925f0
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.140006360
jmp 0x14003387b
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.14005b9a0
nop
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c17f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret