Function at 0x140044390
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 [0x1401aa010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x40], rcx
lea rax, vtable.CCustomizeGigabyte.1.0
mov qword [rcx], rax
lea rax, vtable.CCustomizeGigabyte.0
mov qword [rcx + 8], rax
xor r12d, r12d
mov qword [rcx + 0x10], r12
cmp dword [0x1401aa4a0], r12d
je 0x14004462b
call fcn.140014310
test dword [rax + 0xc0], 0x200
je 0x14004462b
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.140035040
test eax, eax
je 0x140044465
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400444b4
jmp 0x1400444ae
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 0x1400444a6
cmp dword [rbp - 0x14], 4
jne 0x1400444a6
mov esi, dword [rbp - 0x38]
test rbx, rbx
je 0x1400444b4
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.140014660
mov rcx, rax
call fcn.1400aa410
call fcn.140014660
cmp dword [rax + 0x140], 0
jne 0x140044507
cmp dword [0x1401b2668], 0
je 0x140044507
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x1400444ee
cmp dword [0x1401b266c], 0
je 0x140044507
mov r8d, 0x49
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140075db0
call fcn.140014660
mov rbx, qword [rax + 0xe0]
test rbx, rbx
je 0x1400445b7
call fcn.140014660
call fcn.140014660
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x140044513
cmp dword [rcx + 0x1b4], 1
jne 0x140044513
lea rbx, [rcx + 0x10]
mov dword [rbp - 0x38], r12d
xor r9d, r9d
lea r8, [rbp - 0x38]
lea rdx, [0x140119b60]
mov rcx, rbx
call fcn.14000ab50
test eax, eax
je 0x140044562
cmp dword [rbp - 0x38], esi
je 0x14004459e
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, [0x140119b60]
mov rcx, rbx
call fcn.14000bae0
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.140075db0
call fcn.140014660
mov rcx, rax
call fcn.1400aa490
call fcn.14000ea20
mov rcx, rax
lea r8, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
call fcn.1400ae520
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14004460a
lea rdx, str.JackImpedance
mov rcx, rax
call fcn.1400adba0
mov rcx, qword [rdi + 0x10]
add rcx, 0x20
lea rdx, [rdi + 8]
call fcn.14000eaf0
jmp 0x14004462b
lea r9, str.SOFTWARESAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov r8d, 0x30
lea rdx, str.CCustomizeGigabyte::CCustomizeGigabyte
lea rcx, str._s__d___RegKeyNotify_fail__path___s
call fcn.140075db0
nop
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f4410
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