Function at 0x140033a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, r8
mov rbx, rdx
cmp dword [0x14013c490], 0
je 0x140033c84
call fcn.14000b2a0
test dword [rax + 0xc0], 0x200
je 0x140033c84
lea rdx, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
jne 0x140033c84
lea rdx, str.JackImpedance
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
jne 0x140033c84
mov edi, 0x3e7
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x18], r14
mov dword [rbp - 0x30], r14d
mov esi, 1
mov r9d, esi
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.1400280a0
test eax, eax
je 0x140033b26
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 - 0x28]
test rcx, rcx
je 0x140033b75
jmp 0x140033b6f
mov dword [rbp - 0x10], 4
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0xc]
xor r8d, r8d
lea rdx, str.JackImpedance
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140033b67
cmp dword [rbp - 0xc], 4
jne 0x140033b67
mov edi, dword [rbp - 0x30]
test rbx, rbx
je 0x140033b75
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 0x140033bc8
cmp dword [0x140143c1c], 0
je 0x140033bc8
cmp dword [0x140143c18], 0
jne 0x140033baf
mov rax, qword [0x14013d2a0]
test byte [rax + 0x1c], 1
je 0x140033bc8
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 0x140033c77
call fcn.14000b5c0
call fcn.14000b5c0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140033bd4
cmp dword [rcx + 0x1ac], 1
jne 0x140033bd4
lea rbx, [rcx + 0x10]
mov dword [rbp - 0x30], r14d
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [0x1400e2118]
mov rcx, rbx
call fcn.140002680
test eax, eax
je 0x140033c23
cmp dword [rbp - 0x30], edi
je 0x140033c5e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 0x28], ax
mov dword [rbp - 0x20], edi
xor r9d, r9d
lea r8, [rbp - 0x28]
lea rdx, [0x1400e2118]
mov rcx, rbx
call fcn.140003580
mov esi, eax
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov r9d, edi
mov r8d, esi
lea rdx, str.CCustomizeGigabyte::OnRegKeyChanged
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.14005b9a0
call fcn.14000b5c0
mov rcx, rax
call fcn.14008f620
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c17f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret