joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015480
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp qword [rcx + 0x20], 0
mov rbx, rcx
je 0x1400155cd
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400155cd
cmp byte [rbx + 0x39], 0
je 0x1400155cd
mov rax, qword [rcx]
mov qword [rsp + 0xf8], rdi
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jns 0x14001550b
mov dword [rsp + 0x30], eax
lea r8, [0x1400a4128]
lea rax, str.Failed_at_pMediaControl__Run._Error_Code__0x_08x
mov r9d, 1
mov qword [rsp + 0x28], rax
lea rcx, str...SharedDirectShowCamera.cpp
mov edx, 0x117
mov qword [rsp + 0x20], 0
call fcn.140002ed0
mov rcx, qword [rbx + 0x30]
test edi, edi
setns dil
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x140015556
mov dword [rsp + 0x30], eax
lea r8, [0x1400a4128]
lea rax, str.Failed_at_pMediaControl__Stop._Error_Code__0x_08x
mov r9d, 1
mov qword [rsp + 0x28], rax
lea rcx, str...SharedDirectShowCamera.cpp
mov edx, 0x11d
mov qword [rsp + 0x20], 0
call fcn.140002ed0
lea rdx, [rbx + 0x60]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140015560
test rax, rax
je 0x1400155a8
lea rax, [rsp + 0x48]
mov r8d, 3
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.1400027e0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
cmp rcx, rax
je 0x1400155a8
call fcn.14005d86c
movzx eax, dil
mov rdi, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14003aa30
add rsp, 0xe0
pop rbx
ret
xor al, al
jmp 0x1400155b4
Function at 0x140016b20
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, r9
mov r14, r8
xor bl, bl
xor r15d, r15d
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp qword [rsp + 0x50], r15
je 0x140016d19
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
or rbx, 0xffffffffffffffff
test rsi, rsi
jne 0x140016bc1
mov edx, r15d
mov qword [rbp - 0x70], rdx
jmp 0x140016c2d
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], r15b
jne 0x140016bc4
inc edi
lea r8, [rbp - 0x68]
mov edx, edi
lea rcx, [rbp - 0x70]
call fcn.140002c80
movsxd rdx, edi
mov r9, rdx
mov r8, rsi
mov rcx, qword [rbp - 0x70]
call fcn.140001490
test eax, eax
je 0x140016c29
cmp eax, 0xc
je 0x140016c1e
cmp eax, 0x16
je 0x140016c13
cmp eax, 0x22
je 0x140016c13
cmp eax, 0x50
je 0x140016c29
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov ecx, 0x80070057
call fcn.1400015b0
int3
mov ecx, 0x8007000e
call fcn.1400015b0
int3
mov rdx, qword [rbp - 0x70]
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
cmp byte [rdx], 0
jne 0x140016c50
mov rbx, r15
jmp 0x140016c59
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140016c50
mov r8, rbx
lea rcx, [rsp + 0x68]
call fcn.140002500
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x140016c79
call fcn.14005d86c
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r15
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140016d19
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x140016d14
test cl, 0x1f
je 0x140016ce7
call fcn.14005d6bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016cf6
call fcn.14005d6bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016d05
call fcn.14005d6bc
int3
cmp rcx, 0x27
jbe 0x140016d11
call fcn.14005d6bc
int3
mov rcx, rax
call fcn.14003aa0c
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14003aa30
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019dd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140019c60
cmp qword [rax + 0x18], 0x10
jb 0x140019dfa
mov rax, qword [rax]
xor ecx, ecx
mov r9d, 0x20019
mov dword [rsp + 0x30], ecx
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rdx, rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140019e6e
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_17
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140019eae
mov rcx, qword [rsp + 0x48]
inc rax
cmp rax, 0x1000
jb 0x140019ea9
test cl, 0x1f
jne 0x140019ec4
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140019eca
sub rcx, rax
cmp rcx, 8
jb 0x140019ed0
cmp rcx, 0x27
ja 0x140019ed6
mov rcx, rax
call fcn.14003aa0c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003aa30
add rsp, 0x78
ret
call fcn.14005d6bc
int3
call fcn.14005d6bc
int3
call fcn.14005d6bc
int3
call fcn.14005d6bc
int3

Function at 0x14001a020
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8b, 1
lea rdx, [rsp + 0x48]
call fcn.140019c60
cmp qword [rax + 0x18], 0x10
jb 0x14001a04a
mov rax, qword [rax]
xor ecx, ecx
mov r9d, 0x20019
mov dword [rsp + 0x30], ecx
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rdx, rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001a0be
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_6
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x14001a0fe
mov rcx, qword [rsp + 0x48]
inc rax
cmp rax, 0x1000
jb 0x14001a0f9
test cl, 0x1f
jne 0x14001a114
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001a11a
sub rcx, rax
cmp rcx, 8
jb 0x14001a120
cmp rcx, 0x27
ja 0x14001a126
mov rcx, rax
call fcn.14003aa0c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003aa30
add rsp, 0x78
ret
call fcn.14005d6bc
int3
call fcn.14005d6bc
int3
call fcn.14005d6bc
int3
call fcn.14005d6bc
int3
Function at 0x140020b30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rcx, qword [0x1400a3948]
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 0x140020b90
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 [0x1400a3948]
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 0x140020c64
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 0x140020c60
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.140020ca0
mov r9, qword [0x1400a3950]
xor edx, edx
mov rcx, qword [0x1400a3948]
mov dword [rsp + 0x20], 1
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
add rsp, 0x30
pop rbx
ret
Function at 0x140020e00
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1060
call fcn.1400717e0
sub rsp, rax
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp r8d, dword [0x1400a1714]
mov rsi, r9
mov edi, edx
mov rbx, rcx
jg 0x140020f0e
mov edx, 0x5c
mov qword [rsp + 0x1058], rbp
call fcn.14005b510
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.14005f6e4
mov rbp, qword [rsp + 0x1058]
lea r8, [0x1400ad3d0]
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rsp + 0x840]
test rsi, rsi
je 0x140020edb
cmp qword [0x1400ad3e8], 0x10
lea rdx, str._s__s__d__:_assert___s_____s__n
mov qword [rsp + 0x30], rax
cmovae r8, qword [0x1400ad3d0]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
call fcn.140020d30
jmp 0x140020f00
cmp qword [0x1400ad3e8], 0x10
lea rdx, str._s__s__d__:_trace__s_n
mov qword [rsp + 0x28], rax
cmovae r8, qword [0x1400ad3d0]
mov dword [rsp + 0x20], edi
call fcn.140020d30
lea rcx, [rsp + 0x840]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14003aa30
add rsp, 0x1060
pop rdi
pop rsi
pop rbx
ret

Function at 0x140021240
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1400a38d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [0x1400a38d0]
movsd xmm1, qword [0x14008a410]
movsd qword [0x1400a38e8], xmm1
test rax, rax
jle 0x14002128a
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
movsd qword [0x1400a38e8], xmm1
movaps xmm0, xmmword [0x14008a460]
lea rcx, [0x1400a3878]
xor edi, edi
movaps xmmword [0x1400a38f0], xmm0
mov qword [0x1400a38e0], rdi
call fcn.140076490
test eax, eax
je 0x140021327
cmp qword [rbx + 0x30], rdi
jne 0x14002131d
mov rax, qword [0x1400a6718]
mov qword [rbx + 0x48], rax
cmp qword [rbx + 0x40], rdi
jne 0x140021321
lea rax, str._KeyHook__Creating_thread_n
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8d, [rdi + 3]
lea rax, [0x1400848d0]
mov edx, 0x8f
lea rcx, str...SharedKeyboardTimeManage.cpp
mov qword [rsp + 0x20], rax
call fcn.140020e00
lea rax, [rbx + 0x50]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140021100]
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 0x140021460
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, [0x140020f30]
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, 0xc3
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 3]
call fcn.140020e00
lea rax, str._KeyHook__Starting_message_loop_n
mov ebx, 1
mov qword [rsp + 0x28], rax
lea rsi, [0x1400848d0]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov edx, 0xda
lea rcx, str...SharedKeyboardTimeManage.cpp
lea r8d, [rbx + 2]
call fcn.140020e00
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 0x14002151f
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140021521
xor ebx, ebx
test ebx, ebx
jne 0x1400214f0
lea rax, str._KeyHook__Finished_message_loop_n
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8d, [rbx + 3]
mov edx, 0xeb
mov qword [rsp + 0x20], rsi
lea rcx, str...SharedKeyboardTimeManage.cpp
call fcn.140020e00
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x140021592
mov qword [rsp + 0x28], rax
lea r8d, [rbx + 3]
lea rax, str._KeyHook__UnhookWindowsHookEx__0x_08x___n
xor r9d, r9d
mov edx, 0xf4
mov qword [rsp + 0x20], rax
lea rcx, str...SharedKeyboardTimeManage.cpp
call fcn.140020e00
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 0x140022220
Capabilities:
Check if file exists
Get common file path

Disassembly:
push rdi
sub rsp, 0x140
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
test rdx, rdx
je 0x1400223b2
xor edx, edx
mov qword [rsp + 0x150], rbx
mov r8d, 0x104
lea rcx, [rsp + 0x20]
call fcn.14005b890
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.14005b510
test rax, rax
je 0x14002228e
mov byte [rax + 1], 0
jmp 0x140022293
mov byte [rsp + 0x20], 0
lea r8, str.MaxxAudioPro.exe
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140065e2c
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400222ce
mov r9d, 0x104
lea r8, [rsp + 0x20]
mov edx, r9d
mov rcx, rdi
call fcn.140060774
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x1400222d5
test rax, rax
setne al
test al, al
jne 0x140022391
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.14005b890
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x25]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, [0x140086b1c]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140065e2c
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14005b510
test rax, rax
je 0x140022342
mov byte [rax + 1], 0
jmp 0x140022347
mov byte [rsp + 0x20], 0
lea r8, str.MaxxAudioPro.exe
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140065e2c
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140022382
mov r9d, 0x104
lea r8, [rsp + 0x20]
mov edx, r9d
mov rcx, rdi
call fcn.140060774
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140022382
test rbx, rbx
setne al
mov rbx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14003aa30
add rsp, 0x140
pop rdi
ret
xor al, al
jmp 0x140022399
Function at 0x140023b30
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.140023df0
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 0x140023bc7
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 0x140023be5
call fcn.1400261c0
mov rcx, rbx
call fcn.1400267f0
jmp 0x140023bf7
call fcn.140028940
test al, al
je 0x140023bf7
mov rcx, rbx
call fcn.1400261c0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140023c16
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x40
pop rbx
ret
Function at 0x1400249c0
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 [0x1400a0008]
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, [0x1400848d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x1400a4128]
mov edx, 0x193
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.14005b890
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.140065e2c
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140024a81
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.140010870
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 0x140024aef
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 0x140024b35
movzx esi, cx
mov ecx, esi
call fcn.140010fd0
test rax, rax
je 0x140024b5c
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140012dd0
jmp 0x140024b5c
lea rcx, [rsp + 0x70]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140024b40
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.140029710
nop
lock xadd dword [rdi - 8], ebx
sub ebx, 1
jg 0x140024b84
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.14003aa30
add rsp, 0x190
pop rdi
pop rsi
pop rbx
ret
Function at 0x140024ba0
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.140023df0
nop
lea rax, str.IsChangeInJack__
mov qword [rsp + 0x30], rax
lea rax, [0x1400848d0]
mov qword [rsp + 0x28], rax
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 2]
lea r8, [0x1400a4128]
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 0x140024c7c
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 0x140024c9a
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.140010870
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 0x140024d30
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 0x140024d51
mov r9d, dword [rdi + 0x58]
cmp r9d, r14d
je 0x140024d51
mov r8, rbx
mov rcx, 0xffffffff80000002
call fcn.14002d2c0
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 0x140024d76
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 0x140024d92
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 0x140024db0
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.140023df0
nop
lea rax, str.IsRetaskIndexChanged__
mov qword [rsp + 0x30], rax
lea rax, [0x1400848d0]
mov qword [rsp + 0x28], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
lea r8, [0x1400a4128]
mov edx, 0x1bc
lea rcx, str...SharedRealtekJack.cpp
call fcn.140002ed0
call fcn.1400018d0
mov rcx, rax
test rax, rax
jne 0x140024e26
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.140010870
mov rcx, rbx
call fcn.140025c60
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 0x140024eed
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 0x140024f15
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 0x140024f32
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