joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fe920
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov ebx, r8d
mov r12, rdx
mov r15, rcx
xor edi, edi
test r9, r9
je 0x1400feaee
xor edx, edx
lea r8d, [rdi + 0x68]
lea rcx, [rbp - 0x69]
call fcn.1401659c0
mov dword [rbp - 0x69], 0x68
mov dword [rbp - 0x2d], 0x100
movdqa xmm0, xmmword [0x14028a090]
movdqa xmmword [rbp - 0x19], xmm0
mov rsi, 0xffffffffffffffff
mov qword [rbp - 9], rsi
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x1400feb0e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 7], rax
mov r9, r12
mov r8, r15
lea rdx, [0x140250ba8]
lea rcx, [rbp + 7]
call fcn.140021720
test ebx, ebx
je 0x1400fea82
lea rax, str.winsta0default
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x71], rdi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ebx, eax
mov dword [rbp + 0xf], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [rbp + 0xf], ebx
je 0x1400fea82
lea rdx, [rbp - 0x71]
mov ecx, ebx
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov rbx, qword [rbp + 7]
test eax, eax
je 0x1400fead7
cmp dword [rbx - 8], 1
jle 0x1400fea35
mov edx, dword [rbx - 0x10]
lea rcx, [rbp + 7]
call fcn.1400171b0
mov rbx, qword [rbp + 7]
mov qword [rsp + 0x50], r14
lea rax, [rbp - 0x69]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x8000020
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
mov edi, eax
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1400fead7
mov rbx, qword [rbp + 7]
cmp dword [rbx - 8], 1
jle 0x1400fea9c
mov edx, dword [rbx - 0x10]
lea rcx, [rbp + 7]
call fcn.1400171b0
mov rbx, qword [rbp + 7]
mov qword [rsp + 0x48], r14
lea rax, [rbp - 0x69]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov edi, eax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400feaee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140146480
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400151f0
int3
Function at 0x140101680
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x12c]
mov rbx, rcx
test al, al
jne 0x1401018ee
mov rax, qword [rcx + 0x130]
xor cl, cl
test rax, rax
jne 0x1401016ca
lea rcx, str.HeadTrackerLib.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx ecx, byte [rbx + 0x12c]
mov qword [rbx + 0x130], rax
test rax, rax
je 0x1401018eb
lea rdx, str.HeadTrackerInit
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerStart
mov qword [rbx + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerStop
mov qword [rbx + 0x140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerGetTrackingStatus
mov qword [rbx + 0x148], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerDisplaySingleFrame
mov qword [rbx + 0x150], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerRelease
mov qword [rbx + 0x158], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerGetImagePtr
mov qword [rbx + 0x160], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerSetActiveVideoCaptureDevice
mov qword [rbx + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerSetPauseTracking
mov qword [rbx + 0x170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerSetVerboseDisplay
mov qword [rbx + 0x178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerSetSearchTimeConsts
mov qword [rbx + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerSetOutputImageParams
mov qword [rbx + 0x188], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerProcessFrame
mov qword [rbx + 0x190], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x130]
lea rdx, str.HeadTrackerResetModel
mov qword [rbx + 0x198], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x138], 0
mov qword [rbx + 0x1a0], rax
je 0x1401018dd
cmp qword [rbx + 0x140], 0
je 0x1401018dd
cmp qword [rbx + 0x148], 0
je 0x1401018dd
cmp qword [rbx + 0x150], 0
je 0x1401018dd
cmp qword [rbx + 0x158], 0
je 0x1401018dd
cmp qword [rbx + 0x160], 0
je 0x1401018dd
cmp qword [rbx + 0x168], 0
je 0x1401018dd
cmp qword [rbx + 0x170], 0
je 0x1401018dd
cmp qword [rbx + 0x178], 0
je 0x1401018dd
cmp qword [rbx + 0x180], 0
je 0x1401018dd
cmp qword [rbx + 0x188], 0
je 0x1401018dd
cmp qword [rbx + 0x190], 0
je 0x1401018dd
cmp qword [rbx + 0x198], 0
je 0x1401018dd
test rax, rax
je 0x1401018dd
mov al, 1
mov byte [rbx + 0x12c], al
add rsp, 0x20
pop rbx
ret
xor al, al
mov byte [rbx + 0x12c], al
add rsp, 0x20
pop rbx
ret
movzx eax, cl
add rsp, 0x20
pop rbx
ret
Function at 0x140101bb0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r12, rdx
mov rdi, rcx
lea rsi, [rcx + 0x10]
mov rcx, qword [rsi]
xor r13d, r13d
test rcx, rcx
je 0x140101c04
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyHash]
mov qword [rsi], r13
lea r14, [rdi + 8]
mov rcx, qword [r14]
test rcx, rcx
je 0x140101c19
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyKey]
mov qword [r14], r13
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140101c2e
xor edx, edx
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptReleaseContext]
mov qword [rdi + 0x18], r13
mov dword [rsp + 0x20], r13d
mov ebp, 1
mov r9d, ebp
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rdi + 0x18]
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptAcquireContextW]
mov r15d, eax
test eax, eax
jne 0x140101c83
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140101c83
mov dword [rsp + 0x20], 8
mov r9d, ebp
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rdi + 0x18]
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptAcquireContextW]
mov r15d, eax
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xe8], 0xf
mov byte [rsp + 0xd0], r13b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 3
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140016ab0
nop
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140101cd0
lea rcx, [rsp + 0xd0]
call fcn.140025820
nop
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x140101cfc
call fcn.14016e4d0
test r15d, r15d
je 0x140101d72
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptCreateHash]
test eax, eax
je 0x140101d72
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 0x10
cmovae rdx, qword [rsp + 0xd0]
xor r9d, r9d
mov r8d, dword [rsp + 0xe0]
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptHashData]
test eax, eax
je 0x140101d72
mov qword [rsp + 0x20], r14
mov r9d, 0x800000
mov r8, qword [rsi]
mov edx, 0x6801
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDeriveKey]
test eax, eax
jne 0x140101d7e
mov ebp, r13d
mov rcx, rdi
call fcn.140101dc0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400168e0
mov eax, ebp
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401079d0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov ebp, r8d
mov edi, edx
mov rbx, rcx
xor sil, sil
lea rax, str.RetaskLegacy__
mov qword [rsp + 0x30], rax
lea r15, [0x14022aa38]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0x203
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.1401659c0
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, str.RealtekAudioHDARtkNGui64.exe
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14017d4b8
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140107b89
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x140107bee
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], ebp
mov r9d, edi
mov r8d, dword [rbx + 0x3c]
lea rdx, str._RETASK_S__d__d__d
lea rcx, [rsp + 0x68]
call fcn.140021720
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x68]
lea rcx, [rdi - 0x18]
call fcn.14001dc80
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x140107be3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400165c0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x140107b5d
lea rcx, [rsp + 0x70]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140107b40
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140016ed0
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
call fcn.14010d530
mov sil, 1
lock xadd dword [rdi - 8], ebx
sub ebx, 1
jg 0x140107bc1
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + 8]
jmp 0x140107bc1
lea rax, str.RetaskLegacy____RtkNGui64.exe_does_not_exist
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0x217
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
movzx eax, sil
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140146480
add rsp, 0x290
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.1400151f0
nop
mov ecx, 0x80004005
call fcn.1400151f0
int3
Function at 0x140107e50
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
xor edi, edi
mov qword [r11 - 0x28], rdi
mov r8d, dword [rcx + 0x38]
lea rdx, [r11 - 0x28]
call fcn.140106f70
nop
lea rax, str.IsRetaskIndexChanged__
mov qword [rsp + 0x30], rax
lea rax, [0x14022aa38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
lea r8, [0x140303c50]
mov edx, 0x236
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x140107fef
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r9d, dword [rbx + 0x38]
lea r8, str.OldRetaskIndex
lea rdx, str._s_d
lea rcx, [rsp + 0x58]
call fcn.140021720
mov rcx, rbx
call fcn.140108d10
mov esi, eax
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
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.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140107f87
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp esi, dword [rsp + 0x50]
setne dil
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140107fae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140107fcb
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400151f0
int3
Function at 0x140108bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x140108cfe
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r9d, dword [rbx + 0x38]
lea r8, str.OldRetaskIndex
lea rdx, str._s_d
lea rcx, [rsp + 0x58]
call fcn.140021720
mov eax, dword [rbx + 0x38]
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, [0x140303c50]
mov edx, 0x2e7
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
mov dword [rsp + 0x50], ebx
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.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140108ccb
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140108ce7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140146480
add rsp, 0x70
pop rbx
ret
mov ecx, 0x80004005
call fcn.1400151f0
int3
Function at 0x140108d10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x140108e13
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8d, dword [rbx + 0x38]
lea rdx, str.JackRetask_d
lea rcx, [rsp + 0x48]
call fcn.140021720
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140108de0
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, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140108dfc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146480
add rsp, 0x60
pop rbx
ret
mov ecx, 0x80004005
call fcn.1400151f0
int3
Function at 0x140109120
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, str.OnChange__
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x30], rax
lea r8, [0x140303c50]
xor ebp, ebp
lea rax, [0x14022aa38]
mov rdi, rcx
mov qword [rsp + 0x28], rax
mov edx, 0x316
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
lea r9d, [rbp + 2]
call fcn.1400189f0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], ebp
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], rbp
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401091f2
lea rax, [rsp + 0x4c]
mov dword [rsp + 0x4c], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.DoNotShowJackSenseDialog
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x80], rsi
cmp dword [rsp + 0x48], ebp
jne 0x140109213
mov eax, dword [rdi + 0x408]
shr rax, 0x1e
test al, 1
jne 0x140109213
xor sil, sil
jmp 0x140109216
mov sil, 1
xor edx, edx
mov rcx, rdi
call fcn.140107c00
mov ecx, dword [rdi + 0x40]
lea r8, [0x140303c50]
mov dword [rsp + 0x30], ecx
mov ebx, eax
lea rax, str.IsJackInserted___:_d
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
mov edx, 0x2cf
mov qword [rsp + 0x20], rbp
call fcn.1400189f0
test ebx, ebx
mov rbx, qword [rsp + 0x78]
je 0x140109286
cmp dword [rdi + 0x40], ebp
je 0x140109274
cmp byte [rdi + 0x440], bpl
jne 0x1401092cb
test sil, sil
jne 0x1401092d5
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.140108e20
mov r9, qword [rdi + 0xc0]
xor edx, edx
mov rcx, qword [rdi + 0xb8]
mov dword [rsp + 0x20], 1
lea r8d, [rdx + 4]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegNotifyChangeKeyValue]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146480
mov rbp, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
test sil, sil
jne 0x1401092d5
mov ebp, 1
mov edx, ebp
mov rcx, rdi
call fcn.1401092f0
jmp 0x140109286
Function at 0x14010cac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15, r8
mov r14, rdx
movzx ebp, cl
xor sil, sil
xor r12d, r12d
mov edi, r12d
cmp edi, 0x1d
jge 0x14010cc12
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x14010cc3c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r9d, edi
lea r8, str.OldRetaskIndex
lea rdx, str._s_d
lea rcx, [rsp + 0x48]
call fcn.140021720
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14010cbbc
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, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14010cbeb
lea eax, [rcx - 7]
test bpl, bpl
je 0x14010cbd3
cmp eax, 1
jbe 0x14010cbeb
jmp 0x14010cbd8
cmp eax, 4
ja 0x14010cbeb
test r14, r14
je 0x14010cbe0
mov dword [r14], edi
test r15, r15
je 0x14010cbe8
mov dword [r15], ecx
mov sil, 1
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010cc07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc edi
test sil, sil
je 0x14010cb00
movzx eax, sil
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.1400151f0
int3