Function at 0x1400eb500
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rbp], rax
mov ebx, ecx
xor esi, esi
mov qword [rbp - 0x50], rsi
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x3c], rsi
mov qword [rbp - 0x34], rsi
mov qword [rbp - 0x2c], rsi
mov qword [rbp - 0x24], rsi
mov dword [rbp - 0x18], esi
lea rdx, [rbp - 0x10]
lea rcx, str.atkexCom.axdata
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x1400eb6c0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140317a80]
xor edx, edx
lea r8d, [rsi + 4]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400eb6c0
mov qword [rsp + 0x20], rsi
lea r9, str.iAcpiInit
mov r8, qword [rsp + 0x60]
lea rdx, [rbp - 0x70]
lea ecx, [rsi + 1]
call fcn.1400104b0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dword [rbp - 0x50], 1
mov r8d, esi
test ebx, ebx
sete r8b
mov edx, 0x1306a00c
call fcn.1400108e0
movzx r14d, al
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400eb7f6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rbx, str.SOFTWARERealtekAudioGUI_INFORMATION
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140014ab0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400eb64b
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400eb630
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140010390
nop
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x78], rsi
mov r9d, 0x2001f
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x68]
call fcn.1400146e0
test eax, eax
je 0x1400eb6e0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x68]
call fcn.1400144b0
test eax, eax
je 0x1400eb6e0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400eb7a2
jmp 0x1400eb79c
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_asusacpi.cpp
mov edx, 0x1d2
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov r14d, esi
jmp 0x1400eb5ed
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.AsusDepopCount
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x40]
inc ecx
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AsusDepopCount
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AsusSetDePopSetItem
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x1400eb7a2
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400eb7ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp dword [rbp - 0x4c], 0
je 0x1400eb7d2
lea rdx, str.70714792_4D69_4785_8BF0_2572169B3F32
mov rcx, qword [rbp - 0x48]
call qword [sym.RtkNGUI64.exe_int____cdecl___struct_HWND______ptr64__wchar_t_const____ptr64____ptr64_AsSysSvr_UnregisterNotify]
nop
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3