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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov edi, ecx
xor r14d, r14d
mov qword [rbp + 0x40], r14
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x74], rax
mov qword [rbp + 0x54], r14
mov qword [rbp + 0x5c], r14
mov qword [rbp + 0x64], r14
mov qword [rbp + 0x6c], r14
mov dword [rbp + 0x78], r14d
lea rdx, [rbp + 0x80]
lea rcx, str.atkexCom.axdata
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x1400eed47
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x140336bc0]
xor edx, edx
lea r8d, [r14 + 4]
lea rcx, [rbp + 0x80]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400eed47
mov qword [rsp + 0x20], r14
lea r9, str.iAcpiInit
mov r8, qword [rsp + 0x78]
lea rdx, [rbp + 0x20]
lea ecx, [r14 + 1]
call fcn.140010710
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dword [rbp + 0x40], 1
mov ebx, r14d
test edi, edi
sete bl
lea rdx, [rbp + 0x90]
lea rcx, str.atkexCom.axdata
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x1400eed5f
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x140336bc0]
xor edx, edx
lea r8d, [r14 + 4]
lea rcx, [rbp + 0x90]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400eed5f
mov eax, 0x13
mov word [rsp + 0x60], ax
mov dword [rsp + 0x68], 1
mov word [rbp - 0x70], ax
mov dword [rbp - 0x68], ebx
mov word [rbp - 0x48], ax
mov dword [rbp - 0x40], 0x1306a00c
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp - 0x10], xmm1
movups xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp], xmm0
movsd xmm1, qword [rbp - 0x60]
movsd qword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x48]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rbp - 0x38]
movsd qword [rbp - 0x60], xmm1
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
lea r9, str.iAcpiSetItem
mov r8, qword [rbp - 0x80]
lea rdx, [rbp - 0x48]
lea ecx, [r14 + 1]
call fcn.140010710
mov ebx, eax
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov esi, r14d
test ebx, ebx
setns sil
jmp 0x1400eed62
lea r8, str.AsusAcpi.cpp
mov edx, 0x1d2
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
mov esi, r14d
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400eef51
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.140015a40
or rdi, 0xffffffffffffffff
test al, al
jne 0x1400eedbc
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400eeda1
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400105e0
nop
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x70], r14
mov r9d, 0x2001f
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.140015610
test eax, eax
je 0x1400eee33
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.1400153d0
test eax, eax
je 0x1400eee33
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400eeef5
jmp 0x1400eeeef
mov dword [rsp + 0x40], r14d
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 - 0x50]
xor r8d, r8d
lea rdx, str.AsusDepopCount
mov r14, qword [rsp + 0x60]
mov rcx, r14
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, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x50], esi
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, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test r14, r14
je 0x1400eeef5
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400eef0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp dword [rbp + 0x44], 0
je 0x1400eef25
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 + 0xa0]
xor rcx, rsp
call fcn.14029d880
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
int3