joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f0d0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov r13, rcx
call fcn.140063708
mov rcx, rax
xor ebx, ebx
mov edx, ebx
test rax, rax
setne dl
test edx, edx
jne 0x14001f112
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rbx
lea r9, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400c11d0]
call sub.SHELL32.dll_SHGetKnownFolderPath
or rsi, 0xffffffffffffffff
test eax, eax
js 0x14001f29d
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001f16c
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea ebx, [rcx - 1]
mov r8d, ebx
lea rcx, [rsp + 0x78]
call fcn.140001bd0
xor eax, eax
mov rcx, rsi
lea r12, str.driversDTSU2PClearAudio.DAT
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rbp, r12
mov rdi, qword [rsp + 0x78]
sub rbp, rdi
sar rbp, 1
mov r14d, dword [rdi - 0x10]
lea ebx, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, edx
jge 0x14001f1cb
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.140001970
mov rdi, qword [rsp + 0x78]
cmp rbp, r14
ja 0x14001f1d4
lea r12, [rdi + rbp*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rdi + r14*2]
mov r9, rdx
mov r8, r12
call fcn.14008f260
test ebx, ebx
js 0x14001f292
cmp ebx, dword [rdi - 0xc]
jg 0x14001f292
mov dword [rdi - 0x10], ebx
movsxd rax, ebx
mov word [rdi + rax*2], 0
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14001f22f
cmp rax, qword [rdi - 0x18]
jne 0x14001f22f
lea rbp, [rdi - 0x18]
lock add dword [rdi - 8], 1
mov rdi, qword [rsp + 0x78]
jmp 0x14001f26d
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbp, rax
test rax, rax
jne 0x14001f24b
call fcn.140001a80
int3
mov eax, dword [rdi - 0x10]
mov dword [rbp + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbp + 0x18]
call fcn.14008f260
lea rax, [rbp + 0x18]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x88]
lea rdx, [0x1400c1f10]
mov rcx, r13
call fcn.140015890
jmp 0x14001f29d
mov ecx, 0x80070057
call fcn.140001950
int3
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14001f2b1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14001f2ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001f300
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov r13, rcx
call fcn.140063708
mov rcx, rax
xor ebx, ebx
mov edx, ebx
test rax, rax
setne dl
test edx, edx
jne 0x14001f342
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rbx
lea r9, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400c11d0]
call sub.SHELL32.dll_SHGetKnownFolderPath
or rsi, 0xffffffffffffffff
test eax, eax
js 0x14001f4cd
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001f39c
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea ebx, [rcx - 1]
mov r8d, ebx
lea rcx, [rsp + 0x78]
call fcn.140001bd0
xor eax, eax
mov rcx, rsi
lea r12, str.driversDTSU2PParamEQ.DAT
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rbp, r12
mov rdi, qword [rsp + 0x78]
sub rbp, rdi
sar rbp, 1
mov r14d, dword [rdi - 0x10]
lea ebx, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, edx
jge 0x14001f3fb
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.140001970
mov rdi, qword [rsp + 0x78]
cmp rbp, r14
ja 0x14001f404
lea r12, [rdi + rbp*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rdi + r14*2]
mov r9, rdx
mov r8, r12
call fcn.14008f260
test ebx, ebx
js 0x14001f4c2
cmp ebx, dword [rdi - 0xc]
jg 0x14001f4c2
mov dword [rdi - 0x10], ebx
movsxd rax, ebx
mov word [rdi + rax*2], 0
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14001f45f
cmp rax, qword [rdi - 0x18]
jne 0x14001f45f
lea rbp, [rdi - 0x18]
lock add dword [rdi - 8], 1
mov rdi, qword [rsp + 0x78]
jmp 0x14001f49d
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbp, rax
test rax, rax
jne 0x14001f47b
call fcn.140001a80
int3
mov eax, dword [rdi - 0x10]
mov dword [rbp + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbp + 0x18]
call fcn.14008f260
lea rax, [rbp + 0x18]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x88]
lea rdx, [0x1400c1f88]
mov rcx, r13
call fcn.140015890
jmp 0x14001f4cd
mov ecx, 0x80070057
call fcn.140001950
int3
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14001f4e1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14001f4fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140025e30
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x50
xor edi, edi
mov rbx, rcx
xor r9d, r9d
mov qword [rax - 0x18], rdi
mov dword [rax - 0x20], edi
mov qword [rax - 0x28], rdi
mov dword [rax - 0x30], 3
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
mov qword [rax + 8], rdi
mov dword [rax - 0x38], edi
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea r11, [rsp + 0x60]
lea r9, [0x1400b80a0]
lea r8d, [rdi + 1]
lea rcx, [0x1400b8170]
xor edx, edx
mov qword [rsp + 0x20], r11
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea rdx, str.rootHPInstrumentedBIOS
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbx]
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
lea edx, [rdi + 0xa]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140025f06
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rbx]
lea rax, [rbx + 8]
lea rdx, str.HPBIOS_BIOSSettingInterface
mov r10, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [r10 + 0x30]
test eax, eax
mov rcx, qword [rsp + 0x60]
js 0x140025ef3
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rbx, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x50
pop rdi
ret
Function at 0x140028000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x30
mov rbp, rdx
movzx edx, r8w
mov rsi, rcx
lea r8, [0x1400c6eb0]
xor ebx, ebx
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x14002810f
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov edi, eax
je 0x14002810f
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbp, rax
je 0x14002810f
lea ecx, [rbx + 2]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x14002810f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400280f0
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.1400932a0
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14002810f
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1400278f0
test eax, eax
js 0x14002810f
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x60], 0
je 0x140028108
mov rcx, rsi
call fcn.140028160
mov eax, 1
jmp 0x140028141
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140028128
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x20], 0
test rbx, rbx
je 0x14002813f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x140028eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov edx, 6
add ax, 1
mov rcx, rbp
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
mov r12, rax
je 0x140029012
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140029012
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x140029012
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x140028f56
nop
cmp rdi, r11
jae 0x140029012
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x140028f40
cmp rdi, r11
jae 0x140029012
movzx eax, word [rdi]
test ax, ax
je 0x140029012
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x140028f8c
mov edx, ebx
mov rcx, rsi
call fcn.140001970
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x140028fa9
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.14008f260
test eax, eax
je 0x140028fe8
cmp eax, 0xc
je 0x140028fe2
cmp eax, 0x16
je 0x140028fdc
cmp eax, 0x22
je 0x140028fdc
cmp eax, 0x50
je 0x140028fe8
call fcn.140063294
int3
call fcn.140063294
int3
call fcn.14006324c
int3
test ebx, ebx
js 0x140029007
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x140029007
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x140029014
mov ecx, 0x80070057
call fcn.140001950
int3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14002c000
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400f2bd8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.140063708
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x14002c061
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
lea rdx, [0x1400c1af8]
test rdx, 0xffffffffffff0000
jne 0x14002c09d
movzx edi, dx
mov ecx, edi
call fcn.140063514
test rax, rax
je 0x14002c0b9
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.140001fe0
jmp 0x14002c0b9
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.140001bd0
nop
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140001bd0
xor eax, eax
or rcx, 0xffffffffffffffff
lea r12, str.Drivers_rtwavesskdy.dat
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rsi]
mov rbp, r12
sub rbp, rax
sar rbp, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub ebx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ebx
jge 0x14002c139
mov edx, edi
mov rcx, rsi
call fcn.140001970
mov rax, qword [rsi]
cmp rbp, r13
ja 0x14002c145
lea r12, [rax + rbp*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.14008f260
test edi, edi
js 0x14002c17a
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x14002c17a
mov dword [rax - 0x10], edi
movsxd rdx, edi
mov rcx, qword [rsi]
mov word [rcx + rdx*2], 0
mov rax, rsi
jmp 0x14002c185
mov ecx, 0x80070057
call fcn.140001950
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14008f240
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002c210
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400f2bd8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.140063708
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x14002c271
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
lea rdx, [0x1400c1af8]
test rdx, 0xffffffffffff0000
jne 0x14002c2ad
movzx edi, dx
mov ecx, edi
call fcn.140063514
test rax, rax
je 0x14002c2c9
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.140001fe0
jmp 0x14002c2c9
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.140001bd0
nop
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140001bd0
xor eax, eax
or rcx, 0xffffffffffffffff
lea r12, str.Drivers_rtwavesMFX.dat
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rsi]
mov rbp, r12
sub rbp, rax
sar rbp, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub ebx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ebx
jge 0x14002c349
mov edx, edi
mov rcx, rsi
call fcn.140001970
mov rax, qword [rsi]
cmp rbp, r13
ja 0x14002c355
lea r12, [rax + rbp*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.14008f260
test edi, edi
js 0x14002c38a
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x14002c38a
mov dword [rax - 0x10], edi
movsxd rdx, edi
mov rcx, qword [rsi]
mov word [rcx + rdx*2], 0
mov rax, rsi
jmp 0x14002c395
mov ecx, 0x80070057
call fcn.140001950
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14008f240
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002c420
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400f2bd8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.140063708
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x14002c481
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
lea rdx, [0x1400c1af8]
test rdx, 0xffffffffffff0000
jne 0x14002c4bd
movzx edi, dx
mov ecx, edi
call fcn.140063514
test rax, rax
je 0x14002c4d9
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.140001fe0
jmp 0x14002c4d9
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.140001bd0
nop
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140001bd0
xor eax, eax
or rcx, 0xffffffffffffffff
lea r12, str.Drivers_rtwavesEFX.dat
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rsi]
mov rbp, r12
sub rbp, rax
sar rbp, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub ebx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ebx
jge 0x14002c559
mov edx, edi
mov rcx, rsi
call fcn.140001970
mov rax, qword [rsi]
cmp rbp, r13
ja 0x14002c565
lea r12, [rax + rbp*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.14008f260
test edi, edi
js 0x14002c59a
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x14002c59a
mov dword [rax - 0x10], edi
movsxd rdx, edi
mov rcx, qword [rsi]
mov word [rcx + rdx*2], 0
mov rax, rsi
jmp 0x14002c5a5
mov ecx, 0x80070057
call fcn.140001950
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14008f240
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002c630
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1400f2bd8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov esi, edx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
call fcn.140063708
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x14002c694
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x1400c1af8]
test rdx, 0xffffffffffff0000
jne 0x14002c6d0
movzx edi, dx
mov ecx, edi
call fcn.140063514
test rax, rax
je 0x14002c6ec
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140001fe0
jmp 0x14002c6ec
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.140001bd0
nop
mov r14d, 1
mov dword [rsp + 0x20], r14d
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001bd0
lea rax, str.Drivers_rtwavesmvpss.dat
lea r12, str.Drivers_rtwavesspeech.dat
cmp esi, 0xc
cmove r12, rax
test r12, r12
je 0x14002c756
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea rbp, [rcx - 1]
mov rax, qword [rbx]
mov rsi, r12
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rbp]
sub r14d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r14d
jge 0x14002c783
mov edx, edi
mov rcx, rbx
call fcn.140001970
mov rax, qword [rbx]
cmp rsi, r13
ja 0x14002c78f
lea r12, [rax + rsi*2]
movsxd rdx, ebp
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.14008f260
test edi, edi
js 0x14002c7c4
mov rcx, qword [rbx]
cmp edi, dword [rcx - 0xc]
jg 0x14002c7c4
mov dword [rcx - 0x10], edi
movsxd rdx, edi
mov rcx, qword [rbx]
mov word [rcx + rdx*2], 0
mov rax, rbx
jmp 0x14002c7cf
mov ecx, 0x80070057
call fcn.140001950
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14008f240
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002d040
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x58
xor edi, edi
lea rax, [rax - 0x58]
mov r12, rcx
mov dword [rax + 0x68], edi
mov dword [rax + 0x60], edi
mov qword [rax], rdi
lea rdx, str.SoftwareRealtekSBCoexist
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov rbx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, eax
jne 0x14002d093
mov rbx, qword [rsp + 0x30]
mov esi, edi
test esi, esi
mov r13d, SafeArrayGetDim
jne 0x14002d0f1
lea rax, [rsp + 0xa0]
lea r9, [rsp + 0xa8]
lea rdx, str.ExclusiveEnable
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0xa0], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov esi, eax
jne 0x14002d0f1
cmp dword [rsp + 0xa8], 4
mov esi, edi
cmovne esi, r13d
test rbx, rbx
je 0x14002d102
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
test esi, esi
mov ebp, edi
sete bpl
test rbx, rbx
je 0x14002d118
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareRealtekSBCoexist
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rbx, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, eax
jne 0x14002d154
mov rbx, qword [rsp + 0x30]
mov esi, edi
test esi, esi
jne 0x14002d1ac
lea rax, [rsp + 0xa0]
lea r9, [rsp + 0xa8]
lea rdx, str.Technology
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0xa0], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov esi, eax
jne 0x14002d1ac
cmp dword [rsp + 0xa8], 4
mov esi, edi
cmovne esi, r13d
test rbx, rbx
je 0x14002d1bd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
test esi, esi
sete dil
test rbx, rbx
je 0x14002d1d1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [r12 + 8]
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], eax
call fcn.14002f950
test eax, eax
je 0x14002d245
mov rax, qword [0x1400fc368]
test rax, rax
je 0x14002d245
mov edx, 1
lea r9, [rsp + 0x38]
mov rcx, rbx
mov r8d, edx
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
call rax
movzx eax, al
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor al, al
movzx eax, al
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret