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

Disassembly:
test rdx, rdx
je 0x14005443e
push rbx
mov eax, 0x100f0
call fcn.140180a70
sub rsp, rax
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x100e0], rax
mov rbx, rdx
mov r8, rdx
mov qword [rsp + 0x10100], rdi
lea rcx, [rsp + 0xe0]
xor edi, edi
mov edx, 0x7fff
mov dword [rsp + 0x50], edi
call fcn.14015dc50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x50], edi
je 0x140054397
lea r8, str.CPLUtl64.exe__x
lea rcx, [rsp + 0xe0]
mov edx, 0x7fff
call fcn.14015dc50
lea rcx, [rsp + 0xe0]
mov r8, rbx
mov edx, 0x7fff
call fcn.14015dd00
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1401601f0
xor eax, eax
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rdi, qword [rsp + 0x10100]
test eax, eax
jne 0x140054410
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140054426
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x100e0]
xor rcx, rsp
call fcn.14015b6f0
add rsp, 0x100f0
pop rbx
ret 0
Function at 0x140054450
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x450
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov word [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x42]
call fcn.1401601f0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140054636
mov word [rsp + 0x246], 0
call fcn.14013e120
mov rdx, rax
xor r12d, r12d
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400544e5
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea r9, str.SoundRecorder.exe
lea r8, [rsp + 0x40]
lea rdx, [0x1401a5a90]
lea rcx, [rsp + 0x20]
call fcn.140001df0
mov rbp, qword [rsp + 0x20]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbp - 8], 0
jl 0x14005453d
cmp rax, qword [rbp - 0x18]
jne 0x14005453d
lea rbx, [rbp - 0x18]
lock add dword [rbp - 8], 1
jmp 0x14005457b
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbp - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140054559
call fcn.1400c63c0
int3
mov eax, dword [rbp - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rbp - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbp
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.14015c410
add rbx, 0x18
mov qword [rsp + 0x30], rbx
xor eax, eax
lea rdi, [0x14019bd68]
mov rsi, rbx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x14005459f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
jne 0x1400545c7
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140054617
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140054617
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400545f4
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140054617
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140054617
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140054611
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r12d, 1
lock xadd dword [rbp - 8], edi
add edi, 0xffffffff
test edi, edi
jg 0x140054631
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
jmp 0x140054638
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14015b6f0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x14005b350
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [rcx + 0x98]
mov rdi, rcx
test rax, rax
je 0x14005b373
bt dword [rax + 0x548], 0xe
jae 0x14005b51a
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rbx
lea rdx, str.SoftwareRealtekAudioGUI_INFORMATIONDriverInfomation
xor ebx, ebx
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x80], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005b3ba
mov rbx, qword [rsp + 0x80]
jmp 0x14005b414
lea rax, [rsp + 0x78]
lea rdx, str.SoftwareRealtekAudioGUI_INFORMATIONDriverInfomation
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x2001f
mov qword [rsp + 0x88], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14005b515
mov rbx, qword [rsp + 0x88]
mov eax, dword [rdi + 0x5ec]
lea rdx, str.MultiStreamPlaybackSupport
mov r9d, 4
shr eax, 5
xor r8d, r8d
mov rcx, rbx
and eax, 1
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rdi + 0x5ec]
shr r11d, 6
lea rax, [rsp + 0x70]
lea rdx, str.MultiStreamRecordingSupport
and r11d, 1
mov r9d, 4
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x70], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rdi + 0x5ec]
lea rax, [rsp + 0x70]
and r11d, 1
lea rdx, str.MultiStreamPlaybackEnable
mov r9d, 4
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x70], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rdi + 0x5ec]
lea rax, [rsp + 0x70]
shr r11d, 1
lea rdx, str.MultiStreamRecordingEnable
mov r9d, 4
and r11d, 1
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], r11d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14005b515
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
add rsp, 0x60
pop rdi
ret
Function at 0x14006baa0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rbx, rcx
lea rax, [0x1401ac1a8]
mov qword [rcx], rax
lea rax, [0x1401ac418]
mov qword [rcx + 0xa8], rax
xor ebp, ebp
cmp qword [rcx + 0x1a8], rbp
je 0x14006bb32
mov rcx, qword [rcx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14006bb1e
or edx, 0xffffffff
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0x1a8], rbp
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14006bb4b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b8], rbp
mov dword [rbx + 0x158], ebp
mov rcx, qword [0x14022c570]
test rcx, rcx
je 0x14006bb6a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14022c570], rbp
mov rcx, rbx
call fcn.14006d0c0
lea rcx, [0x14022c3c0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [rbx + 0x140], ebp
je 0x14006bb8d
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.140142e70
nop
lea rcx, [rbx + 0x1f0]
call fcn.140086960
nop
mov rdx, qword [rbx + 0x1c8]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14006bbc8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, vtable.j.0
mov qword [rbx + 0x150], rax
cmp qword [rbx + 0x1a8], 0
je 0x14006bc2a
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14006bc16
or edx, 0xffffffff
mov rcx, qword [rbx + 0x1a8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0x1a8], rbp
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14006bc43
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1b8], rbp
mov dword [rbx + 0x158], ebp
mov rcx, qword [rbx + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x160]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14006bc77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0xa8]
call fcn.14006ea70
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.1401436bc
Function at 0x1400713f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [0x14022d510], 0
jne 0x14007153a
cmp qword [0x14022d520], 0
mov dword [rsp + 0x40], 0
jne 0x140071430
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14022d520], rax
cmp qword [0x14022d528], 0
jne 0x140071451
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14022d528], rax
cmp qword [0x14022d530], 0
jne 0x140071472
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14022d530], rax
cmp qword [0x14022d538], 0
jne 0x140071493
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14022d538], rax
cmp qword [0x14022d540], 0
jne 0x1400714b4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14022d540], rax
cmp qword [0x14022d518], 0
jne 0x1400714df
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
mov qword [0x14022d518], rax
jne 0x1400714df
add rsp, 0x38
ret
call fcn.14014954c
test rax, rax
je 0x140071500
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x140071500
mov rax, qword [rax + 0x40]
jmp 0x140071502
xor eax, eax
mov qword [0x14022d668], rax
lea rax, [rsp + 0x40]
lea r9, [0x14022d510]
mov qword [rsp + 0x28], rax
lea r8, [0x140071550]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14022d510], rax
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400739a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
lea rdi, [0x14019bd68]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
jne 0x1400739f7
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400739e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rbx]
sub rdx, 0x18
cmp eax, 0xffffffff
je 0x1400739cd
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073a24
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400758b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x10060
call fcn.140180a70
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10078], rbx
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.14013e120
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x14007590e
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14019bd68]
test rdx, 0xffffffffffff0000
jne 0x14007594a
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x140075966
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140005140
jmp 0x140075966
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.1400038f0
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.1401601f0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400759de
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x1400759be
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400038f0
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.14015b6f0
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret
Function at 0x140075a60
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
mov eax, 0x10060
call fcn.140180a70
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10078], rbx
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.14013e120
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140075abe
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14019bd68]
test rdx, 0xffffffffffff0000
jne 0x140075afa
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x140075b16
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140005140
jmp 0x140075b16
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.1400038f0
nop
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.1401601f0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140075b8e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x140075b6e
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400038f0
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.14015b6f0
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10060
pop rdi
ret
Function at 0x140075c10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x10060
call fcn.140180a70
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x10098], rbx
mov qword [rsp + 0x100a0], rbp
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.14013e120
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140075c7d
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x14019bd68]
test rdx, 0xffffffffffff0000
jne 0x140075cb9
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x140075cd5
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140005140
jmp 0x140075cd5
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.1400038f0
nop
mov r12d, 1
mov dword [rsp + 0x30], r12d
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0x50]
call fcn.1401601f0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140075de5
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x4c], 0x5c
jne 0x140075d35
mov word [rsp + rcx*2 + 0x4c], ax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400038f0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rbp, str.RealtekAudioHDA_
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, rbp
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub r12d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r12d
jge 0x140075d9c
mov edx, edi
mov rcx, rbx
call fcn.140001c90
mov rax, qword [rbx]
cmp rsi, r13
ja 0x140075da8
lea rbp, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.14015c410
test edi, edi
js 0x140075dda
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x140075dda
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x140075de5
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rax, rbx
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.14015b6f0
lea r11, [rsp + 0x10060]
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 0x140075e70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
call fcn.14013e120
mov rcx, rax
mov edx, ebx
test rax, rax
setne dl
test edx, edx
jne 0x140075eb2
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rdx, [0x14019bd68]
test rdx, 0xffffffffffff0000
jne 0x140075eee
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x140075f0a
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.140005140
jmp 0x140075f0a
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.1400038f0
nop
mov dword [rsp + 0x58], 1
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14019b108]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140075f44
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea ebx, [rcx - 1]
mov r8d, ebx
mov rcx, rsi
call fcn.1400038f0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rsi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400763c0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400763e6
add rsp, 0x48
ret
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x58]
xor ebx, ebx
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140076446
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov edx, 0x80020003
mov ecx, 2
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x14007b380
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x860
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, str.Sound_Blaster
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.Sound_Blaster
mov rcx, rsi
call fcn.1400038f0
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareCreative_TechSB_Plugin_for_Dell_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007b4b4
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.TabName
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007b4a4
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x14007b462
cmp eax, 2
jne 0x14007b4a4
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14007b47b
test al, 1
jne 0x14007b4a4
shr rax, 1
cmp word [rsp + rax*2 + 0x4e], 0
je 0x14007b482
jmp 0x14007b4a4
mov word [rsp + 0x50], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400038f0
test rbx, rbx
je 0x14007b4b4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test rbx, rbx
je 0x14007b4c2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14015b6f0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret