joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020b90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rcx, qword [0x1400a2948]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.HeadsetStatus
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [rsp + 0x40], ebx
setne bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x140020bf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rcx, qword [0x1400a2948]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 4
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x48], ebx
lea rdx, str.HeadsetStatus
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [rsp + 0x48], ebx
je 0x140020cc4
lea rax, [rsp + 0x58]
mov dword [rsp + 0x48], 1
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x58], rbx
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140020cc0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.LineOutMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x48]
mov edx, ebx
lea rcx, vtable.CJackSense.0
call fcn.140020d00
mov r9, qword [0x1400a2950]
xor edx, edx
mov rcx, qword [0x1400a2948]
mov dword [rsp + 0x20], 1
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
add rsp, 0x30
pop rbx
ret
Function at 0x140020e60
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1060
call fcn.140071640
sub rsp, rax
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp r8d, dword [0x1400a0714]
mov rsi, r9
mov edi, edx
mov rbx, rcx
jg 0x140020f6e
mov edx, 0x5c
mov qword [rsp + 0x1058], rbp
call fcn.14005b380
test rax, rax
lea rbp, [rsp + 0x10a8]
lea rcx, [rax + 1]
cmovne rbx, rcx
call fcn.140002d30
mov r9, qword [rsp + 0x10a0]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rbp
mov r8d, 0x800
mov qword [rsp + 0x20], 0
mov rcx, qword [rax]
call fcn.14005f554
mov rbp, qword [rsp + 0x1058]
lea r8, [0x1400ac3d0]
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rsp + 0x840]
test rsi, rsi
je 0x140020f3b
cmp qword [0x1400ac3e8], 0x10
lea rdx, str._s__s__d__:_assert___s_____s__n
mov qword [rsp + 0x30], rax
cmovae r8, qword [0x1400ac3d0]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
call fcn.140020d90
jmp 0x140020f60
cmp qword [0x1400ac3e8], 0x10
lea rdx, str._s__s__d__:_trace__s_n
mov qword [rsp + 0x28], rax
cmovae r8, qword [0x1400ac3d0]
mov dword [rsp + 0x20], edi
call fcn.140020d90
lea rcx, [rsp + 0x840]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14003a8a0
add rsp, 0x1060
pop rdi
pop rsi
pop rbx
ret

Function at 0x140021230
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1400a28d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [0x1400a28d0]
movsd xmm1, qword [0x1400893c0]
movsd qword [0x1400a28e8], xmm1
test rax, rax
jle 0x14002127a
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
movsd qword [0x1400a28e8], xmm1
movaps xmm0, xmmword [0x140089410]
lea rcx, [0x1400a2878]
xor edi, edi
movaps xmmword [0x1400a28f0], xmm0
mov qword [0x1400a28e0], rdi
call fcn.140075490
test eax, eax
je 0x140021315
cmp qword [rbx + 0x30], rdi
jne 0x14002130b
mov rax, qword [0x1400a5718]
mov qword [rbx + 0x48], rax
cmp qword [rbx + 0x40], rdi
jne 0x14002130f
lea rax, str._KeyHook__Creating_thread_n
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea edx, [rdi + 0x7d]
lea rax, [0x1400838d0]
lea r8d, [rdi + 3]
mov qword [rsp + 0x20], rax
lea rcx, str...SharedKeyboardTimeManage.cpp
call fcn.140020e60
lea rax, [rbx + 0x50]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400210f0]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x40], rax
cmp qword [rbx + 0x40], rdi
setne dil
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140021440
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov r8, qword [rcx + 0x48]
lea rdx, [0x140020f90]
xor r9d, r9d
mov rdi, rcx
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rdi + 0x30], rax
lea rcx, str...SharedKeyboardTimeManage.cpp
lea rax, str._KeyHook__SetWindowsHookEx:_0x_08x_n
mov edx, 0xb1
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 3]
call fcn.140020e60
lea rax, str._KeyHook__Starting_message_loop_n
mov ebx, 1
mov qword [rsp + 0x28], rax
lea rsi, [0x1400838d0]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov edx, 0xc8
lea rcx, str...SharedKeyboardTimeManage.cpp
lea r8d, [rbx + 2]
call fcn.140020e60
nop dword [rax]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1400214ff
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140021501
xor ebx, ebx
test ebx, ebx
jne 0x1400214d0
lea rax, str._KeyHook__Finished_message_loop_n
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8d, [rbx + 3]
mov edx, 0xd9
mov qword [rsp + 0x20], rsi
lea rcx, str...SharedKeyboardTimeManage.cpp
call fcn.140020e60
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x140021572
mov qword [rsp + 0x28], rax
lea r8d, [rbx + 3]
lea rax, str._KeyHook__UnhookWindowsHookEx__0x_08x___n
xor r9d, r9d
mov edx, 0xe2
mov qword [rsp + 0x20], rax
lea rcx, str...SharedKeyboardTimeManage.cpp
call fcn.140020e60
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [rdi + 0x30], 0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140022200
Capabilities:
Check if file exists
Get common file path

Disassembly:
push rdi
sub rsp, 0x140
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
test rdx, rdx
je 0x140022392
xor edx, edx
mov qword [rsp + 0x150], rbx
mov r8d, 0x104
lea rcx, [rsp + 0x20]
call fcn.14005b700
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14005b380
test rax, rax
je 0x14002226e
mov byte [rax + 1], 0
jmp 0x140022273
mov byte [rsp + 0x20], 0
lea r8, str.MaxxAudioPro.exe
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140065c14
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400222ae
mov r9d, 0x104
lea r8, [rsp + 0x20]
mov edx, r9d
mov rcx, rdi
call fcn.1400605e4
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x1400222b5
test rax, rax
setne al
test al, al
jne 0x140022371
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.14005b700
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x25]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, [0x140085b1c]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140065c14
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14005b380
test rax, rax
je 0x140022322
mov byte [rax + 1], 0
jmp 0x140022327
mov byte [rsp + 0x20], 0
lea r8, str.MaxxAudioPro.exe
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140065c14
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140022362
mov r9d, 0x104
lea r8, [rsp + 0x20]
mov edx, r9d
mov rcx, rdi
call fcn.1400605e4
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140022362
test rbx, rbx
setne al
mov rbx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14003a8a0
add rsp, 0x140
pop rdi
ret
xor al, al
jmp 0x140022379
Function at 0x140023b10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rbx, rcx
mov r8d, dword [rcx + 0x50]
lea rdx, [rsp + 0x30]
call fcn.140023dd0
nop
xor eax, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140023ba7
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.JackStatusChangedWhenPowerDown
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x5c], eax
mov rcx, rbx
cmp eax, 1
jne 0x140023bc5
call fcn.1400261a0
mov rcx, rbx
call fcn.1400267d0
jmp 0x140023bd9
xor edx, edx
call fcn.140024b80
test eax, eax
je 0x140023bd9
mov rcx, rbx
call fcn.1400261a0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140023bf8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x40
pop rbx
ret
Function at 0x1400249a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x190
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov esi, r8d
mov edi, edx
mov rbx, rcx
lea rax, str.RetaskLegacy__
mov qword [rsp + 0x30], rax
lea rax, [0x1400838d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x1400a3128]
mov edx, 0x193
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.14005b700
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, str.RealtekAudioHDARtkNGui64.exe
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.140065c14
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140024a61
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8d, dword [rbx + 0x54]
lea rdx, str._RETASK_S__d__d__d
lea rcx, [rsp + 0x48]
call fcn.1400108a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0x48]
lea rcx, [rdi - 0x18]
call fcn.140002920
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140024acf
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x70]
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x140024b15
movzx esi, cx
mov ecx, esi
call fcn.140011000
test rax, rax
je 0x140024b3c
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140012e00
jmp 0x140024b3c
lea rcx, [rsp + 0x70]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140024b20
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000c890
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.140029570
nop
lock xadd dword [rdi - 8], ebx
sub ebx, 1
jg 0x140024b64
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + 8]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14003a8a0
add rsp, 0x190
pop rdi
pop rsi
pop rbx
ret
Function at 0x140024b80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
movzx r15d, dl
mov rdi, rcx
mov r8d, dword [rcx + 0x50]
lea rdx, [rbp - 0x18]
call fcn.140023dd0
nop
lea rax, str.IsChangeInJack__
mov qword [rsp + 0x30], rax
lea rax, [0x1400838d0]
mov qword [rsp + 0x28], rax
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 2]
lea r8, [0x1400a3128]
mov edx, 0x1a7
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
mov dword [rbp + 0x30], esi
mov qword [rbp - 0x30], rsi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140024c5c
mov dword [rbp + 0x48], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3c]
xor r8d, r8d
lea rdx, str.JackStatus
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x58], eax
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140024c7a
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
mov r9d, dword [rdi + 0x50]
lea r8, str.JackStatus
lea rdx, str._s_d
lea rcx, [rbp - 0x20]
call fcn.1400108a0
mov dword [rbp + 0x40], esi
mov qword [rbp - 0x28], rsi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140024d10
mov dword [rbp - 0x40], 4
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14d, dword [rbp + 0x40]
test r15b, r15b
je 0x140024d31
mov r9d, dword [rdi + 0x58]
cmp r9d, r14d
je 0x140024d31
mov r8, rbx
mov rcx, 0xffffffff80000002
call fcn.14002d120
cmp dword [rdi + 0x58], r14d
setne sil
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024d56
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140024d72
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140024d90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rbx, rcx
mov r8d, dword [rcx + 0x50]
lea rdx, [rsp + 0x48]
call fcn.140023dd0
nop
lea rax, str.IsRetaskIndexChanged__
mov qword [rsp + 0x30], rax
lea rax, [0x1400838d0]
mov qword [rsp + 0x28], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
lea r8, [0x1400a3128]
mov edx, 0x1bc
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140024e06
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r9d, dword [rbx + 0x50]
lea r8, str.OldRetaskIndex
lea rdx, str._s_d
lea rcx, [rsp + 0x40]
call fcn.1400108a0
mov rcx, rbx
call fcn.140025c40
mov esi, eax
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x98], rdi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140024ecd
mov dword [rsp + 0x88], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, dword [rsp + 0x80]
setne dil
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024ef5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140024f12
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140025b10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rbx, rcx
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140025b3a
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r9d, dword [rbx + 0x50]
lea r8, str.OldRetaskIndex
lea rdx, str._s_d
lea rcx, [rsp + 0x48]
call fcn.1400108a0
mov eax, dword [rbx + 0x50]
mov dword [rsp + 0x30], eax
lea rax, str.CRealtekJack::GetOldRetask___on_jack_Index_:_d
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
lea r8, [0x1400a3128]
mov edx, 0x27a
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140025c1c
mov dword [rsp + 0x80], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025c36
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rsp + 0x78]
add rsp, 0x60
pop rbx
ret

Function at 0x140025c40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140025c6a
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, dword [rbx + 0x50]
lea rdx, str.JackRetask_d
lea rcx, [rsp + 0x38]
call fcn.1400108a0
xor eax, eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140025d08
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025d22
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret
Function at 0x1400267d0
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
mov r8d, dword [rcx + 0x50]
lea rdx, [rsp + 0x70]
call fcn.140023dd0
mov rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140026848
lea rdx, str.JackStatusChangedWhenPowerDown
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140026867
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x58
ret
Function at 0x140028ba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x268]
sub rsp, 0x360
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov edi, ecx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140028c4e
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.MaxxAudioOptions
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dword [rsp + 0x30], 0x4000000
je 0x140028cd6
mov dword [rsp + 0x34], 0x1f4
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140028cd2
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.MuteOnJack
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x34]
lea rcx, [rsp + 0x70]
call fcn.1400231b0
nop
xor r9d, r9d
xor r8d, r8d
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140023c00
mov dword [rbp + 0xb4], ebx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140027b00
nop
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.14000c370
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028d38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400289a0
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140025030
lea rcx, [rsp + 0x70]
call fcn.140026870
nop
lea rcx, [rsp + 0x70]
call fcn.140023790
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14003a8a0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret