Function at 0x1400e7d50
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov r8, rcx
cmp edx, 0x26010011
ja 0x1400e7e84
je 0x1400e7dc8
sub edx, 0x26001510
je 0x1400e7da2
cmp edx, 1
jne case.0x1400e7eae.637599764
add rcx, 0xffffffffffffff18
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
jmp 0x1400eb350
mov rax, qword [rcx + 0x90]
mov eax, dword [rax + 0xa0]
shr eax, 9
and eax, 1
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
mov rax, qword [rcx + 0x90]
add rcx, 0xffffffffffffff18
mov ebx, dword [rax + 0x80]
call fcn.1400e9310
mov ecx, eax
test bl, 1
je 0x1400e7f59
movzx edi, cx
mov ebx, eax
shr ebx, 0x10
mov eax, 4
cmp ebx, 2
mov edx, ecx
lea rcx, str.CVenderSpecSetting::GetAsusRogAmpLevelMode_nAmpLevlVal___x__nRearLevelMode___d__nFrontLevelMode___d
cmova ebx, eax
cmp edi, 2
mov r9d, ebx
cmova edi, eax
mov r8d, edi
call fcn.140052e90
mov rcx, qword [0x1403db8b0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x23000211
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
je 0x1400e7e69
mov rcx, qword [0x1403db8b0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x21ff0309
mov r10, qword [rcx]
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 3
cmove edi, ebx
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
cmp ebx, 4
cmove ebx, edi
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
add edx, 0xd9feffee
cmp edx, 0x62
ja case.0x1400e7eae.637599764
mov eax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0xe840c]
mov ecx, dword [rdx + rax*4 + 0xe83cc]
add rcx, rdx
jmp rcx
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x1400e7ed9
cmp dword [rax], 0
jne 0x1400e7ef0
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x197
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
xor ebx, ebx
lea r8, [rbp + 0x18]
mov edx, 0x1306a002
mov dword [rbp + 0x18], ebx
call fcn.1400107a0
mov ebx, dword [rbp + 0x18]
jmp 0x1400e7edb
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x1400e7ed9
mov ebx, dword [rax + 0x10]
jmp 0x1400e7edb
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x1400e7ed9
test byte [rax + 0x18], 0x11
mov ebx, 0
sete bl
jmp 0x1400e7edb
mov rax, qword [r8 + 0x90]
test rax, rax
jne 0x1400e7f6c
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_venderspecsetting.cpp
mov edx, 0x111
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
mov eax, dword [rax + 0x1a8]
shr eax, 0x16
and eax, 1
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
cmp qword [r8 + 0xb8], 0
je 0x1400e7fc7
mov r9d, 5
lea r8, str.AsusSoundStageProfileIndex
lea rdx, str.DevRestore
lea rcx, [0x1403dd120]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
jmp fcn.140102880
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x1400e7ed9
cmp dword [rax], 0
jne 0x1400e8005
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x26d
jmp 0x1400e7ecd
movzx ebx, byte [rax + 0x20]
shr ebx, 4
and ebx, 7
jmp 0x1400e7edb
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x1400e7ed9
cmp dword [rax], 0
jne 0x1400e803a
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x299
jmp 0x1400e7ecd
movzx ebx, byte [rax + 0x24]
and ebx, 7
jmp 0x1400e7edb
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x1400e7ed9
cmp dword [rax], 0
jne 0x1400e806c
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x2af
jmp 0x1400e7ecd
movzx ebx, byte [rax + 0x1c]
and ebx, 7
jmp 0x1400e7edb
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x1400e7ed9
cmp dword [rax], 0
jne 0x1400e809e
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x284
jmp 0x1400e7ecd
movzx ebx, byte [rax + 0x28]
and ebx, 0xf
jmp 0x1400e7edb
mov rcx, qword [r8 + 0xb8]
test rcx, rcx
je 0x1400e7ed9
call fcn.140010aa0
mov ebx, eax
jmp 0x1400e7edb
mov rax, qword [r8 + 0x90]
lea rdi, [r8 - 0xe8]
xor ebx, ebx
mov dword [rbp + 0x18], ebx
mov ecx, dword [rax + 0x1b0]
bt ecx, 9
jae 0x1400e8128
cmp dword [rdi + 0x190], ebx
je 0x1400e8121
xor r9d, r9d
lea r8, str.ASUSDTSAPO3HpMode
lea rdx, [0x140328e58]
lea rcx, [0x1403dd120]
call fcn.140102880
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
call fcn.1400709e0
jmp 0x1400e810a
bt ecx, 0xb
jae 0x1400e810c
mov rax, qword [0x1403bee48]
mov dword [rbp - 0x20], ebx
test eax, eax
jg 0x1400e8156
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidriverpropertyclient.cpp
mov edx, 0x61
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400e819f
movups xmm0, xmmword [0x140325db0]
movaps xmmword [rbp - 0x10], xmm0
test rax, rax
jle 0x1400e83b7
mov rcx, qword [0x1403bee40]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x10]
xor r9d, r9d
mov eax, 4
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x18]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x16]
call fcn.14005d300
mov ebx, dword [rbp + 0x18]
lea eax, [rbx - 3]
cmp eax, 2
jbe 0x1400e81c1
mov edx, 3
mov dword [rbp + 0x18], 3
mov rcx, rdi
call fcn.1400ea510
mov ebx, dword [rbp + 0x18]
add ebx, 0xfffffffd
jmp 0x1400e810c
mov rax, qword [r8 + 0x90]
lea rdi, [r8 - 0xe8]
xor ebx, ebx
mov dword [rbp + 0x18], ebx
mov ecx, ebx
mov edx, dword [rax + 0x1b0]
bt edx, 9
jae 0x1400e822d
cmp dword [rdi + 0x190], ebx
je 0x1400e8226
xor r9d, r9d
lea r8, str.ASUSDTSAPO3SpkMode
lea rdx, [0x140328e58]
lea rcx, [0x1403dd120]
call fcn.140102880
mov ecx, eax
mov eax, ecx
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
call fcn.1400708e0
jmp 0x1400e820f
bt edx, 0xb
jae 0x1400e8211
mov rax, qword [0x1403bee48]
mov dword [rbp - 0x20], ebx
test eax, eax
jg 0x1400e825b
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidriverpropertyclient.cpp
mov edx, 0x61
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400e82a4
movups xmm0, xmmword [0x140325db0]
movaps xmmword [rbp - 0x10], xmm0
test rax, rax
jle 0x1400e83bd
mov rcx, qword [0x1403bee40]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x10]
xor r9d, r9d
mov eax, 4
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x18]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x16]
call fcn.14005d300
mov ecx, dword [rbp + 0x18]
cmp ecx, 2
jbe 0x1400e8211
xor edx, edx
mov dword [rbp + 0x18], ebx
mov rcx, rdi
call fcn.1400ea510
mov ecx, dword [rbp + 0x18]
jmp 0x1400e8211
mov rax, qword [0x1403bee48]
xor ebx, ebx
mov dword [rbp + 0x18], ebx
mov dword [rbp - 0x20], ebx
test eax, eax
jg 0x1400e8304
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidriverpropertyclient.cpp
lea edx, [rbx + 0x61]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov eax, dword [rbp + 0x18]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
movups xmm0, xmmword [0x140327e90]
movaps xmmword [rbp - 0x10], xmm0
test rax, rax
jle 0x1400e83c3
mov rcx, qword [0x1403bee40]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x10]
xor r9d, r9d
mov eax, 4
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x18]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x30]
call fcn.14005d300
mov eax, dword [rbp + 0x18]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
mov rax, qword [r8 + 0x90]
mov eax, dword [rax + 0x1b4]
shr eax, 4
and eax, 1
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
mov rax, qword [r8 + 0x90]
mov ebx, 0
mov rdi, qword [rsp + 0x80]
test dword [rax + 0x1b0], 0xa00
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
call fcn.1400f5890
int3
call fcn.1400f5890
int3
call fcn.1400f5890
int3
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rax, qword [rcx + 0x178]
test dword [rax + 0xa0], 0x200
je 0x1400eb4e0
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400eb4ed
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdi, str.JackImpedance
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140014ab0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400eb3dc
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400eb3c2
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140010390
nop
lea rax, [rbp - 0x30]
mov qword [rbp + 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
mov qword [rbp - 0x10], rax
mov dword [rbp + 0x20], eax
mov r9d, 0x201
lea r8, str.SoftwareSAVITECHSVLoadSenseGIGABYTEJDSenseJackPlug
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.1400146e0
test eax, eax
je 0x1400eb440
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0x85
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400eb4c5
jmp 0x1400eb4be
mov dword [rbp + 0x28], 4
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400eb4b6
cmp dword [rbp + 0x30], 4
jne 0x1400eb4b6
mov eax, dword [rbp + 0x20]
mov dword [rbp + 0x38], eax
test rdi, rdi
je 0x1400eb490
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400eb4ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x38]
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
test rdi, rdi
je 0x1400eb4c5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400eb4e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 0x3e7
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3