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

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xb0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 8], rbx
xor r13d, r13d
mov dword [rax + 0x20], r13d
mov rcx, qword [0x14021cc50]
test ecx, ecx
jg 0x140075e3b
mov r12d, r13d
jmp 0x140075ea7
lea rdx, [rsp + 0xa0]
mov rax, qword [0x1401a97c8]
mov qword [rdx], rax
mov rax, qword [0x1401a97d0]
mov qword [rdx + 8], rax
test rcx, rcx
jle 0x140076173
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8d, [r9 + 0x36]
lea rdx, [rsp + 0xa0]
mov rcx, qword [0x14021cc48]
mov rcx, qword [rcx]
call fcn.14008b3c0
mov r12d, eax
call fcn.14013d07c
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x140075ec7
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
lea rdx, str.SOFTWARERealtekAudioGUI_INFORMATION
or rsi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140075f13
movzx ebx, dx
mov ecx, ebx
call fcn.14013d654
test rax, rax
je 0x140075f34
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400020e0
mov rdi, qword [rsp + 0x50]
jmp 0x140075f34
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.140002390
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x70], r13
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140075f6f
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x80], rbx
jmp 0x140075fc8
mov qword [rsp + 0x78], r13
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140076156
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0xf0], r13d
lea rax, str.AsusGPIOHigh
lea rbp, str.AsusGPIOLow
cmp dword [rsp + 0xe8], 0
cmovne rbp, rax
call fcn.14013d07c
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14007600a
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x58], rdi
test rbp, rbp
je 0x140076064
test rbp, 0xffffffffffff0000
jne 0x140076050
movzx ebp, bp
mov ecx, ebp
call fcn.14013d654
test rax, rax
je 0x14007607c
mov r8d, ebp
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400020e0
mov rdi, qword [rsp + 0x58]
jmp 0x14007607c
xor eax, eax
mov rcx, rsi
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x140076067
mov ecx, r13d
mov r8d, ecx
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.140002390
mov rdi, qword [rsp + 0x58]
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x8c]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0xf0]
add r11d, 1
mov eax, 0x51eb851f
mul r11d
shr edx, 5
imul edx, edx, 0x64
sub r11d, edx
mov dword [rsp + 0xf0], r11d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007611f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140076133
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140076151
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
jmp 0x140076179
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14007616f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140076179
call fcn.14013d908
int3
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret