joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028e30
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 [0x1400e2bd8]
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.1400578b4
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x140028e91
mov ecx, 0x80004005
call fcn.1400120d0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
lea rdx, [0x1400b70b8]
test rdx, 0xffffffffffff0000
jne 0x140028ecd
movzx edi, dx
mov ecx, edi
call fcn.1400578a0
test rax, rax
je 0x140028ee9
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.140011800
jmp 0x140028ee9
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.140011e30
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.140011e30
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 0x140028f69
mov edx, edi
mov rcx, rsi
call fcn.140011a20
mov rax, qword [rsi]
cmp rbp, r13
ja 0x140028f75
lea r12, [rax + rbp*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.140082b00
test edi, edi
js 0x140028faa
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x140028faa
mov dword [rax - 0x10], edi
movsxd rdx, edi
mov rcx, qword [rsi]
mov word [rcx + rdx*2], 0
mov rax, rsi
jmp 0x140028fb5
mov ecx, 0x80070057
call fcn.1400120d0
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140082440
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 0x140029040
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 [0x1400e2bd8]
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.1400578b4
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x1400290a4
mov ecx, 0x80004005
call fcn.1400120d0
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x1400b70b8]
test rdx, 0xffffffffffff0000
jne 0x1400290e0
movzx edi, dx
mov ecx, edi
call fcn.1400578a0
test rax, rax
je 0x1400290fc
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140011800
jmp 0x1400290fc
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.140011e30
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.140011e30
lea rax, str.Drivers_rtwavesmvpss.dat
lea r12, str.Drivers_rtwavesspeech.dat
cmp esi, 0xc
cmove r12, rax
test r12, r12
je 0x140029166
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 0x140029193
mov edx, edi
mov rcx, rbx
call fcn.140011a20
mov rax, qword [rbx]
cmp rsi, r13
ja 0x14002919f
lea r12, [rax + rsi*2]
movsxd rdx, ebp
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.140082b00
test edi, edi
js 0x1400291d4
mov rcx, qword [rbx]
cmp edi, dword [rcx - 0xc]
jg 0x1400291d4
mov dword [rcx - 0x10], edi
movsxd rdx, edi
mov rcx, qword [rbx]
mov word [rcx + rdx*2], 0
mov rax, rbx
jmp 0x1400291df
mov ecx, 0x80070057
call fcn.1400120d0
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140082440
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 0x140029a50
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 0x140029aa3
mov rbx, qword [rsp + 0x30]
mov esi, edi
test esi, esi
mov r13d, SafeArrayGetDim
jne 0x140029b01
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 0x140029b01
cmp dword [rsp + 0xa8], 4
mov esi, edi
cmovne esi, r13d
test rbx, rbx
je 0x140029b12
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 0x140029b28
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 0x140029b64
mov rbx, qword [rsp + 0x30]
mov esi, edi
test esi, esi
jne 0x140029bbc
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 0x140029bbc
cmp dword [rsp + 0xa8], 4
mov esi, edi
cmovne esi, r13d
test rbx, rbx
je 0x140029bcd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
test esi, esi
sete dil
test rbx, rbx
je 0x140029be1
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.14002c360
test eax, eax
je 0x140029c55
mov rax, qword [0x1400ebec8]
test rax, rax
je 0x140029c55
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
Function at 0x14002d690
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx + 0x28], 0
jne 0x14002d6c1
xor eax, eax
jmp 0x14002d877
mov ecx, dword [rcx + 0x60]
call fcn.140056b38
mov r13, rax
mov r8d, dword [rsi + 0x60]
xor edx, edx
mov rcx, rax
call fcn.140086940
mov rcx, qword [rbx]
mov qword [r13], rcx
mov rcx, qword [rbx + 8]
mov qword [r13 + 8], rcx
mov rcx, qword [rbx + 0x10]
mov qword [r13 + 0x10], rcx
mov rcx, qword [rbx + 0x18]
mov qword [r13 + 0x18], rcx
mov rax, qword [rbx + 0x20]
mov qword [r13 + 0x20], rax
mov eax, dword [rbx + 0x28]
mov dword [r13 + 0x28], eax
mov rdi, r13
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov r8d, dword [rsi + 0x60]
xor edx, edx
mov cx, 0x11
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov rbp, rax
call fcn.1400578b4
mov r11, rax
xor r12d, r12d
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14002d758
mov ecx, 0x80004005
call fcn.1400120d0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0xa8], rbx
mov dword [rsp + 0x90], r12d
cmp dword [rsi + 0x60], 0
jle 0x14002d7df
nop
nop
mov r8, rdi
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
test eax, eax
jns 0x14002d7c5
mov r8d, dword [rsp + 0x90]
lea rdx, str.RtkMute:__SafeArrayPutElement___error_in_iteration___d__n
lea rcx, [rsp + 0xa8]
call fcn.140015ba0
mov rbx, qword [rsp + 0xa8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rdi, 1
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
cmp eax, dword [rsi + 0x60]
jl 0x14002d780
mov word [rsp + 0x40], 0x2011
mov qword [rsp + 0x48], rbp
mov rsi, qword [rsi + 0x28]
lea rcx, str.Bytes
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14002d814
mov ecx, 0x8007000e
call fcn.1400120d0
nop
mov rax, qword [rsi]
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r13, r13
je 0x14002d845
mov rcx, r13
call fcn.140056b40
test esi, esi
sete r12b
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14002d869
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, r12d
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002e180
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rsi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbx + 0x58]
lea rcx, str.Data
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0xa8], rax
test rax, rax
jne 0x14002e1d7
mov ecx, 0x8007000e
call fcn.1400120d0
nop
mov rax, qword [rdi]
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x20]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x14002e226
lea rcx, str.RtkMute:__Failed_to_get_Data_property_of_OutParams__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
jmp 0x14002e352
mov qword [rsp + 0x90], rbp
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002e24d
mov rax, qword [rcx]
lea r8, [rsp + 0x90]
lea rdx, [0x1400ba3d8]
call qword [rax]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x90]
lea rcx, str.Bytes
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0xa8], rax
test rax, rax
jne 0x14002e294
mov ecx, 0x8007000e
call fcn.1400120d0
nop
mov rax, qword [rdi]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x20]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0xa0], rbp
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
mov qword [rsi], rax
mov rax, qword [rcx + 8]
mov qword [rsi + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [rsi + 0x18], rax
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
mov eax, dword [rcx + 0x28]
mov dword [rsi + 0x28], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14002e342
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400381a0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rdx + 2]
mov rdx, r8
mov rsi, r9
call fcn.140085300
test eax, eax
jne 0x140038204
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov edi, 1
not rcx
cmp rcx, rdi
je 0x140038206
mov r8, rsi
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140038206
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
or dword [rbx + 0x140], edi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x140041e90
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rsi, rcx
call fcn.140042100
mov rcx, rsi
call fcn.14003b580
mov rcx, rsi
call fcn.14003c660
mov rcx, rsi
call fcn.14003cb20
mov rcx, rsi
call fcn.14003ba40
mov rcx, rsi
call fcn.14003c030
mov rcx, rsi
call fcn.14003c1a0
lea rcx, [rsi + 0x8b8]
call fcn.1400307e0
mov r12, qword [rsi + 0x860]
xor edi, edi
test r12d, r12d
je 0x140041feb
cmp edi, dword [rsi + 0x860]
jae 0x140041fd2
mov edx, edi
lea rcx, [rsi + 0x848]
call fcn.140056e4c
test rax, rax
je 0x140041fe5
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140041fd2
lea rdx, [rsp + 0x70]
call fcn.1400353d0
nop
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x140041f66
cmp rax, qword [rbx - 0x18]
jne 0x140041f66
lea rbp, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x140041f9e
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x140041fdf
mov ecx, dword [rbx - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rbx - 0x10]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140082b00
lea rax, [rbp + 0x18]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140043400
nop
or eax, 0xffffffff
lock xadd dword [rbx - 8], eax
add eax, 0xffffffff
test eax, eax
jg 0x140041fd2
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add edi, 1
cmp edi, r12d
jae 0x140041feb
jmp 0x140041f02
call fcn.1400158b0
nop
call fcn.140057a98
int3
lea rcx, [rsi + 0x8b8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov qword [rsi + 0xd48], rsi
cmp qword [rsi + 0xd30], 0
jne 0x140042020
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xd30], rax
cmp qword [rsi + 0xd38], 0
jne 0x140042041
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xd38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsi + 0xcf0]
lea rcx, [0x140033710]
call fcn.140065be8
mov rbp, rax
test rax, rax
je 0x1400420c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsi + 0xd28]
mov r8, rbx
mov rdx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsi + 0xd40], 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140047b00
Capabilities:
Log keystrokes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
lea rdx, [rax + 0x10]
xor edi, edi
add rcx, 0x900
mov dword [rax + 8], edi
call fcn.140052db0
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400177c0
test eax, eax
jne 0x140047b37
add rsp, 0x70
pop rdi
ret
mov qword [rsp + 0x90], rbx
mov ebx, dword [rsp + 0x80]
xor edx, edx
movzx ecx, bl
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, bl
mov r8d, 0x28
mov word [rsp + 0x28], cx
mov word [rsp + 0x50], cx
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x26]
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x2a], di
mov word [rsp + 0x52], di
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x2c], edi
mov dword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
mov rbx, qword [rsp + 0x90]
mov eax, 1
add rsp, 0x70
pop rdi
ret

Function at 0x14004a7b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rdi, rcx
lea rcx, str.CRtHDVBgProcWnd::OnUserLogOff__d__d_n
call fcn.140001030
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x80], ebx
bt dword [rdi + 0x9b4], 0xf
jae 0x14004a991
mov qword [rsp + 0x98], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [0x1400bcd70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004a8b4
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x98], 2
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14004a983
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400bcd70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14004a983
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x98], 2
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, 2
mov rcx, rdi
call fcn.140049b80
nop
test rbx, rbx
je 0x14004a9ab
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 1
jmp 0x14004a9b5
movabs rax, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14004c9f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
lea rsi, [rcx + 0x4a0]
lea rbx, [rcx + 0x800]
mov rdi, rcx
lea edx, [rbp + 2]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov qword [rsi], rbp
mov dword [rsp + 0x20], ebp
call fcn.140030ac0
lea rcx, [0x14004cac0]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x28], rbp
mov qword [0x1400eba18], rbx
mov dword [rsp + 0x20], 4
call fcn.140065be8
test rax, rax
mov rdi, rax
je 0x14004ca9c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi + 0x58]
mov dword [rsp + 0x30], 2
mov r9, rsi
mov r8, rbx
mov rcx, rax
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14004d540
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x70
movzx ebx, cl
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
lea rdx, [rsp + 0x20]
lea r8d, [rcx + 0x28]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x2c], ecx
lea ecx, [r8 - 0x26]
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x28], bx
mov word [rsp + 0x50], bx
mov word [rsp + 0x2a], 0
mov word [rsp + 0x52], 0
mov dword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
mov eax, 1
add rsp, 0x70
pop rbx
ret
Function at 0x14004f5f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0
mov rbx, rcx
je 0x14004f609
mov eax, 1
add rsp, 0x20
pop rbx
ret
lea rcx, str.SRCOM64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [rbx + 8], rax
je 0x14004f7a8
lea rdx, str.sffxInit
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxFree
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetPower
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxSetPower
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetUserControlValue
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxSetUserControlValue
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxResetPreset
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetPreset
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxSetPreset
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetNumPresets
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetDefaultPlaybackDevice
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxSetSelectedPlaybackDevice
mov qword [rbx + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetNumPlaybackDevices
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetPlaybackDeviceIndex
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxSetJackState
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetNumJackStates
mov qword [rbx + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.sffxGetJackStateInfo
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x90], rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14004f7a8
call rax
cmp eax, 0x80000001
je 0x14004f7a8
mov dword [rbx], 1
mov eax, dword [rbx]
add rsp, 0x20
pop rbx
ret