joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031100
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 ebx, r8d
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x90], 0
jne 0x140031137
xor eax, eax
jmp 0x1400312dd
mov ecx, dword [rcx + 0xc8]
call fcn.140063144
mov r13, rax
mov r8d, dword [rsi + 0xc8]
xor edx, edx
mov rcx, rax
call fcn.1400935f0
lea r8d, [rbx + 0x2c]
mov rdx, rdi
mov rcx, r13
call fcn.1400932a0
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 + 0xc8]
xor edx, edx
mov cx, 0x11
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov rbp, rax
call fcn.140063708
mov r11, rax
xor r12d, r12d
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400311b8
mov ecx, 0x80004005
call fcn.140001950
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 + 0xc8], 0
jle 0x140031242
nop
mov r8, rdi
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
test eax, eax
jns 0x140031225
mov r8d, dword [rsp + 0x90]
lea rdx, str.RtkMute:__SafeArrayPutElement___error_in_iteration___d__n
lea rcx, [rsp + 0xa8]
call fcn.140001e50
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 + 0xc8]
jl 0x1400311e0
mov word [rsp + 0x40], 0x2011
mov qword [rsp + 0x48], rbp
mov rsi, qword [rsi + 0x90]
lea rcx, str.Bytes
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14003127a
mov ecx, 0x8007000e
call fcn.140001950
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 0x1400312ab
mov rcx, r13
call fcn.14006314c
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 0x1400312cf
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 0x140031c00
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
lea rcx, [rax - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbx + 0xc0]
lea rcx, str.Data
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140031c5c
mov ecx, 0x8007000e
call fcn.140001950
nop
mov rax, qword [rdi]
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
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 0x140031cac
lea rcx, str.RtkMute:__Failed_to_get_Data_property_of_OutParams__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
jmp 0x140031db5
mov qword [rsp + 0x90], r12
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140031cd3
mov rax, qword [rcx]
lea r8, [rsp + 0x90]
lea rdx, [0x1400c6950]
call qword [rax]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x40]
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 + 0x38], rax
test rax, rax
jne 0x140031d17
mov ecx, 0x8007000e
call fcn.140001950
nop
mov rax, qword [rdi]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
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 + 0xa8], r12
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea r8d, [rsi + 0x2c]
mov rdx, qword [rsp + 0xa8]
mov rcx, rbp
call fcn.1400932a0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140031da5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140032680
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1400f2bd8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
cmp dword [rcx + 0x14], 0
mov rdi, rdx
mov rbx, rcx
je 0x140032765
lea rcx, str.GetR0_v01_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x80
call fcn.1400935f0
xor eax, eax
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov word [rsp + 0x60], VariantTimeToDosDateTime
mov word [rsp + 0x62], 0xa
mov dword [rsp + 0x64], 0x2c
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x84], 1
mov dword [rsp + 0x88], 0x44
call fcn.140030990
mov ecx, dword [rsp + 0x8c]
lea rdx, [rsp + 0x90]
mov ebx, eax
mov eax, 0x40
cmp ecx, eax
cmova ecx, eax
mov r8d, ecx
mov rcx, rdi
call fcn.1400932a0
test ebx, ebx
jne 0x140032815
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
jmp 0x140032811
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x80
call fcn.1400935f0
xor eax, eax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0x54
mov dword [rsp + 0x38], 0x6c
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov r9w, 0xa
mov r8w, VariantTimeToDosDateTime
mov rcx, rbx
mov dword [rsp + 0x20], 0x2c
mov dword [rsp + 0x84], 0x1000001
mov dword [rsp + 0x88], 0x54
call fcn.1400304f0
lea rcx, [rsp + 0x8c]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdi + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [rdi + 0x18], rax
mov rax, qword [rcx + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rdi + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rdi + 0x30], rax
mov rax, qword [rcx + 0x38]
mov qword [rdi + 0x38], rax
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14008f240
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rdi
ret
Function at 0x140032840
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1400f2bd8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rcx + 0x14], ebx
xor eax, eax
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
lea rdx, [r11 - 0x58]
call fcn.140032680
test eax, eax
je 0x1400328a5
mov dword [rdi + 0x14], 1
call fcn.140063708
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x1400328c2
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov r8d, dword [rdi + 0x14]
lea rdx, str.bNewType_d_r_n
lea rcx, [rsp + 0x20]
call fcn.140001e50
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [rdi + 0x14]
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x140032914
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008f240
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret

Function at 0x14003d350
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.140091f90
test eax, eax
jne 0x14003d3b4
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov edi, 1
not rcx
cmp rcx, rdi
je 0x14003d3b6
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 0x14003d3b6
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 0x14004ac10
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.14004ae90
mov rcx, rsi
call fcn.1400418e0
mov rcx, rsi
call fcn.140042cf0
mov rcx, rsi
call fcn.1400431b0
mov rcx, rsi
call fcn.140041da0
mov rcx, rsi
call fcn.140042390
mov rcx, rsi
call fcn.140042500
mov rcx, rsi
call fcn.1400429c0
lea rcx, [rsi + 0x9f8]
call fcn.140034610
mov r12, qword [rsi + 0x9a0]
xor edi, edi
test r12d, r12d
je 0x14004ad79
nop
nop
cmp edi, dword [rsi + 0x9a0]
jae 0x14004ad60
mov edx, edi
lea rcx, [rsi + 0x988]
call fcn.140063ef8
test rax, rax
je 0x14004ad73
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14004ad60
lea rdx, [rsp + 0x70]
call fcn.14003a580
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 0x14004acf4
cmp rax, qword [rbx - 0x18]
jne 0x14004acf4
lea rbp, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x14004ad2c
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x14004ad6d
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.14008f260
lea rax, [rbp + 0x18]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14004c810
nop
or eax, 0xffffffff
lock xadd dword [rbx - 8], eax
add eax, 0xffffffff
test eax, eax
jg 0x14004ad60
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 0x14004ad79
jmp 0x14004ac90
call fcn.140001a80
nop
call fcn.140063294
int3
lea rcx, [rsi + 0x9f8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov qword [rsi + 0xe90], rsi
cmp qword [rsi + 0xe78], 0
jne 0x14004adae
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xe78], rax
cmp qword [rsi + 0xe80], 0
jne 0x14004adcf
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xe80], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsi + 0xe38]
lea rcx, [0x1400388a0]
call fcn.140073744
mov rbp, rax
test rax, rax
je 0x14004ae53
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 + 0xe70]
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 + 0xe88], 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 0x1400513e0
Capabilities:
Log keystrokes

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x70
lea rdi, [rcx + 0xa40]
lea rdx, [rax + 0x10]
xor esi, esi
mov rcx, rdi
mov dword [rax + 8], esi
call fcn.14005f3e0
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14001aaa0
test eax, eax
jne 0x140051426
mov rsi, qword [rsp + 0x98]
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]
test rdi, rdi
je 0x140051464
test byte [rdi + 0x1e], 1
je 0x140051464
cmp bl, 0xaf
jne 0x140051454
mov bl, 0xd1
jmp 0x140051464
movzx eax, bl
cmp bl, 0xae
mov ecx, 0xd2
cmove eax, ecx
mov bl, al
movzx ecx, bl
mov r8d, 0x28
lea rdx, [rsp + 0x20]
mov word [rsp + 0x28], cx
mov word [rsp + 0x50], cx
lea ecx, [r8 - 0x26]
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x2a], si
mov word [rsp + 0x52], si
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov eax, 1
add rsp, 0x70
pop rdi
ret
Function at 0x140054480
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.1400022c0
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x80], ebx
bt dword [rdi + 0xaf4], 0xf
jae 0x140054661
mov qword [rsp + 0x98], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [0x1400c9da8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140054584
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 0x140054653
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, [0x1400c9da8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140054653
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.1400537b0
nop
test rbx, rbx
je 0x14005467b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rax, 1
jmp 0x140054685
movabs rax, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400567b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
lea rsi, [rcx + 0x500]
lea rax, [rcx + 0x868]
mov rdx, rcx
xor ebp, ebp
lea rcx, [0x140056860]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov qword [0x1400fbe60], rax
mov qword [rsi], rbp
mov dword [rsp + 0x20], 4
call fcn.140073744
test rax, rax
mov rdi, rax
je 0x140056849
mov qword [rsp + 0x50], rbx
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 0x140056ea0
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 + 0x4f8]
lea rbx, [rcx + 0x868]
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.140034c70
lea rcx, [0x140056f70]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x28], rbp
mov qword [0x1400fbe60], rbx
mov dword [rsp + 0x20], 4
call fcn.140073744
test rax, rax
mov rdi, rax
je 0x140056f4c
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 0x140057790
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400577c3
lea rcx, str.OpenProcessToken_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x48
ret
lea r8, [rsp + 0x34]
lea rdx, str.SeSystemEnvironmentPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140057826
lea rcx, str.Failed_RisePrivileges___r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x48
ret
Function at 0x140059a20
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x70
add ecx, 0xffffffff
xor ebx, ebx
cmp ecx, 6
ja case.default.0x140059a49
lea r8, [0x140000000]
movsxd rax, ecx
mov ecx, dword [r8 + rax*4 + 0x59bf0]
add rcx, r8
jmp rcx
xor edx, edx
mov ecx, 0xaf
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [rsp + 0x28], 0xaf
mov word [rsp + 0x50], 0xaf
jmp 0x140059b98
xor edx, edx
mov ecx, 0xaf
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, 0x28
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x26]
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x28], 0xaf
mov word [rsp + 0x50], 0xaf
mov word [rsp + 0x2a], bx
mov word [rsp + 0x52], bx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x2c], ebx
mov dword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
xor edx, edx
mov ecx, 0xaf
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [rsp + 0x28], 0xaf
mov word [rsp + 0x50], 0xaf
jmp 0x140059b98
xor edx, edx
mov ecx, 0xae
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, 0x28
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x26]
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x28], 0xae
mov word [rsp + 0x50], 0xae
mov word [rsp + 0x2a], bx
mov word [rsp + 0x52], bx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x2c], ebx
mov dword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
xor edx, edx
mov ecx, 0xae
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [rsp + 0x28], 0xae
mov word [rsp + 0x50], 0xae
jmp 0x140059b98
test edx, edx
je 0x140059b7d
mov eax, 1
add rsp, 0x70
pop rbx
ret
xor edx, edx
mov ecx, 0xb3
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [rsp + 0x28], VariantTimeToSystemTime
mov word [rsp + 0x50], VariantTimeToSystemTime
mov r8d, 0x28
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
lea ecx, [r8 - 0x26]
mov dword [rsp + 0x48], 1
mov word [rsp + 0x2a], bx
mov word [rsp + 0x52], bx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x2c], ebx
mov dword [rsp + 0x54], 2
call qword [sym.imp.USER32.dll_SendInput]
mov ebx, 1
mov eax, ebx
add rsp, 0x70
pop rbx
ret
Function at 0x14005bc10
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0
mov rbx, rcx
je 0x14005bc29
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 0x14005bdc8
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 0x14005bdc8
call rax
cmp eax, 0x80000001
je 0x14005bdc8
mov dword [rbx], 1
mov eax, dword [rbx]
add rsp, 0x20
pop rbx
ret