joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14003c618]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0xb0]
xor edi, edi
mov rax, qword [rsp + 0xa8]
mov r13d, r8d
mov r15, qword [rsp + 0xa0]
mov esi, edx
mov r14, qword [rbx]
test rax, rax
je 0x1400122c0
mov r12d, dword [rax + 0x50]
jmp 0x1400122c4
mov r12d, dword [r15 + 0x50]
cmp r12d, 8
jae 0x140012417
lea r8, [r14 + 4]
mov dword [r14], 0x24
mov rdx, r9
call fcn.140008b90
movsxd rcx, dword [r15 + 8]
cmp ecx, 0x29
ja 0x1400122fa
movabs rdx, 0x20bd7f00000
bt rdx, rcx
jb 0x140012303
cmp ecx, 0x71
jne 0x140012417
lea rdx, [rsp + 0x20]
call fcn.140003294
mov eax, dword [r15 + 0x1c]
and dword [r14 + 0x10], edi
mov dword [r14 + 0xc], eax
mov eax, dword [rsp + 0x20]
mov byte [r14 + 0x10], al
shr eax, 8
mov byte [r14 + 0x11], al
mov rax, rsi
mov ecx, dword [rbx + 8]
shl rax, 5
add rax, 0x14
cmp rax, rcx
jbe 0x14001234b
lea rsi, [rcx - 0x14]
mov edi, 0xc01e0001
shr rsi, 5
add dword [rbx + 0x34], esi
mov ebp, esi
xor r8d, r8d
shl ebp, 5
add ebp, 0x14
test esi, esi
je 0x1400123e2
and dword [rsp + 0x28], r8d
and dword [rsp + 0x2c], r8d
add r14, 0x1c
mov eax, dword [r15 + 0xc]
mov rcx, qword [rbx + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x34], eax
test rcx, rcx
je 0x140012392
lea edx, [r8 + r13]
shl rdx, 4
add rdx, rcx
jmp 0x140012397
lea rdx, [rsp + 0x28]
mov dword [r14 - 8], 0x25
inc r8d
mov ecx, dword [rbx + 0x4c]
sub ecx, dword [rbx + 0x3c]
add ecx, dword [rdx]
mov dword [r14 - 4], ecx
mov ecx, dword [rbx + 0x50]
sub ecx, dword [rbx + 0x40]
add ecx, dword [rdx + 4]
mov dword [r14], ecx
mov eax, dword [rdx]
mov dword [r14 + 4], eax
mov eax, dword [rdx + 4]
mov dword [r14 + 8], eax
mov eax, dword [rdx + 8]
mov dword [r14 + 0xc], eax
mov eax, dword [rdx + 0xc]
mov dword [r14 + 0x10], eax
mov dword [r14 + 0x14], r12d
add r14, 0x20
cmp r8d, esi
jb 0x14001236c
mov rcx, qword [rbx + 0x28]
xor edx, edx
lea r8d, [rdx + 0x30]
call fcn.14002e640
add qword [rbx + 0x28], 0x18
mov rax, qword [rbx + 0x28]
mov dword [rax], 1
mov rax, qword [rbx + 0x28]
mov dword [rax + 0x10], 4
add qword [rbx + 0x28], 0x18
mov eax, ebp
add qword [rbx], rax
jmp 0x14001241c
mov edi, 0xc000000d
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140021240
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140017fc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14003c618]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
mov byte [rsp + 0x20], 0
lea r9, [0x140017d80]
mov rbx, rcx
lea r8d, [rdx + 4]
call fcn.14000f9f4
xor r8d, r8d
lea rcx, [rbx + 0x3490]
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rax, [0x140017e10]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x14001806b
and qword [rsp + 0x28], 0
lea rcx, [rbx + 0x34a8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x1fffff
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
jmp 0x14001806d
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140021240
add rsp, 0x50
pop rbx
ret

Function at 0x140018998
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x14003c618]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor eax, eax
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rsi, str.Flags
mov qword [rsp + 0x68], rax
mov r13, r9
mov dword [rsp + 0x64], 4
mov r15, r8
mov dword [rsp + 0x68], 4
mov r12, rdx
mov r14, rcx
xor ebx, ebx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, 0x78
lea rcx, [rsp + 0x48]
mov rdx, r13
mov word [rsp + 0x4a], ax
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
test eax, eax
jne 0x140018b06
lea rax, [rsp + 0x58]
mov r8d, 2
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x20], 0x10
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jne 0x140018b06
mov eax, dword [rsp + 0x6c]
inc ebx
mov dword [rdi], eax
add rsi, 8
add rdi, 4
cmp ebx, 5
jb 0x1400189f5
lea rdi, [r14 + 0x1288]
mov rdx, r14
mov rcx, rdi
call fcn.14000bd04
lea rbx, [r14 + 0x1298]
mov rdx, r14
mov rcx, rbx
call fcn.14000bd04
mov eax, dword [rsp + 0x30]
mov r8d, 1
mov dword [r15 + 0x6e], eax
mov rdx, r14
mov eax, dword [rsp + 0x34]
mov dword [r15 + 0x72], eax
mov eax, dword [rsp + 0x38]
mov dword [r15 + 0x76], eax
mov eax, dword [rsp + 0x3c]
mov dword [r15 + 0x7a], eax
mov eax, dword [rsp + 0x40]
mov dword [r15 + 0x7e], eax
mov eax, dword [r15 + 0x6a]
mov r9d, eax
and al, 0x1f
mov cl, al
shr r9, 5
shl r8d, cl
mov rcx, rbx
or dword [r14 + r9*4 + 0x1f8], r8d
mov byte [r15 + 0x64], 1
call fcn.14000fc30
mov rdx, r14
mov rcx, rdi
call fcn.14000fc30
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140021240
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140020d60
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14003c618]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor eax, eax
mov dword [r11 - 0x68], r9d
mov qword [r11 - 0x60], rax
mov rdi, rcx
mov eax, 0x30
lea rcx, [r11 - 0x60]
mov word [rsp + 0x3a], ax
mov rbx, r8
lea rax, [r11 - 0x50]
mov qword [r11 - 0x58], rax
call fcn.140019cdc
mov esi, 0xc0000000
and eax, esi
cmp eax, esi
je 0x140020deb
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140019e48
and eax, esi
cmp eax, esi
je 0x140020deb
mov r9d, 4
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140021240
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x140021290
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14003c618]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov dword [rcx], 0x23003f
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
nop dword [rax + rax]
test eax, eax
js 0x1400212e7
cmp dword [rsp + 0x24], 6
ja 0x1400212e1
jne 0x1400212e7
cmp dword [rsp + 0x28], 2
jb 0x1400212e7
mov dword [rbx], 0x230047
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140021240
add rsp, 0x150
pop rbx
ret

Function at 0x140021390
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbp, rdx
mov r14, rcx
mov esi, 0xa
call fcn.140021300
mov rdi, rax
test rax, rax
jne 0x1400213ca
mov ebx, 0xc0000017
jmp 0x140021492
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwLoadDriver]
nop dword [rax + rax]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
mov eax, 0x80000000
mov r15d, 0xc000010e
lea ecx, [rbx + rax]
test eax, ecx
jne 0x140021419
cmp ebx, r15d
jne 0x140021492
cmp ebx, r15d
lea rdx, str.DeviceDxgKrnl
lea rcx, [rsp + 0x30]
setne dil
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
mov r9, rbp
lea rcx, [rsp + 0x30]
mov r8, r14
mov edx, 0xc0000000
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14002148b
test dil, dil
jne 0x140021484
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], 0xffffffffffff3cb0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
nop dword [rax + rax]
add esi, 0xffffffff
jne 0x140021438
jmp 0x140021492
call fcn.1400214b0
jmp 0x140021492
test dil, dil
cmove ebx, r15d
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400214b0
Capabilities:
Unload driver

Disassembly:
push rbx
sub rsp, 0x30
call fcn.140021300
mov rbx, rax
test rax, rax
je 0x1400214f9
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwUnloadDriver]
nop dword [rax + rax]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop dword [rax + rax]
add rsp, 0x30
pop rbx
ret
Function at 0x14002984c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r14b, byte [rcx + 0x20]
xor r15b, r15b
mov r13d, r9d
mov r9d, r8d
mov ebx, edx
mov rbp, rcx
mov edi, edx
cmp r14b, 0x20
jne 0x140029882
mov esi, 3
jmp 0x140029889
movzx esi, r14b
shr esi, 3
movzx eax, r14b
mov r8d, ebx
imul eax, ebx
imul r8d, r13d
imul eax, r9d
cdq
and edx, 7
add eax, edx
mov edx, ebx
sar eax, 3
movsxd r12, eax
mov eax, dword [rcx + 0x18]
imul eax, ebx
imul edx, r9d
lea r9, [rsp + 0xa8]
imul eax, r13d
cdqe
add r12, rax
lea rax, [rsp + 0x98]
add r12, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14002a5e4
mov r8d, dword [rbp + 0x24]
mov r11, rax
mov qword [rsp + 0x90], rax
lea eax, [r8 - 1]
cdq
idiv ebx
cmp dword [rsp + 0xa0], eax
jne 0x14002990d
lea ecx, [rbx - 1]
add ecx, r8d
mov eax, ecx
cdq
idiv ebx
mov edi, edx
sub edi, ecx
add edi, r8d
add edi, ebx
mov r8d, dword [rbp + 0x28]
lea eax, [r8 - 1]
cdq
idiv ebx
cmp r13d, eax
jne 0x14002992f
lea ecx, [rbx - 1]
add ecx, r8d
mov eax, ecx
cdq
idiv ebx
sub edx, ecx
add edx, r8d
add ebx, edx
test ebx, ebx
jle 0x140029a3c
mov eax, ebx
mov qword [rsp + 0x30], rax
test r15b, r15b
jne 0x1400299ab
mov rdx, r12
mov r9, r11
test edi, edi
jle 0x140029a16
movsxd rax, dword [rsp + 0x98]
movzx r10d, r14b
shr r10, 3
mov qword [rsp + 0x38], rax
mov r13d, edi
test rsi, rsi
je 0x140029992
mov r11, r9
mov r8, rdx
sub r11, rdx
mov rbx, rsi
mov cl, byte [r11 + r8]
xor cl, byte [r8]
inc r8
or r15b, cl
sub rbx, 1
jne 0x14002997a
mov rax, qword [rsp + 0x38]
add rdx, r10
add r9, rax
sub r13, 1
jne 0x140029969
mov r11, qword [rsp + 0x90]
test r15b, r15b
je 0x140029a16
mov r10, r12
mov rcx, r11
test edi, edi
jle 0x140029a16
movsxd r13, dword [rsp + 0x98]
mov ebx, edi
xor r11d, r11d
test rsi, rsi
je 0x1400299e5
mov r8, r10
mov rdx, rcx
sub r8, rcx
mov r9, rsi
mov r11, rsi
mov al, byte [r8 + rdx]
mov byte [rdx], al
inc rdx
sub r9, 1
jne 0x1400299d6
cmp byte [rbp + 0x2d], 0
je 0x1400299f6
cmp byte [rbp + 0x20], 0x20
jne 0x1400299f6
mov byte [r11 + rcx], 0
movzx r14d, byte [rbp + 0x20]
add rcx, r13
mov eax, r14d
shr rax, 3
add r10, rax
sub rbx, 1
jne 0x1400299bf
mov r11, qword [rsp + 0x90]
movsxd rax, dword [rbp + 0x18]
add r12, rax
movsxd rax, dword [rsp + 0xa8]
add r11, rax
sub qword [rsp + 0x30], 1
mov qword [rsp + 0x90], r11
jne 0x14002993e
test r15b, r15b
sete al
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14002b948
Capabilities:
Reference the vmware io port

Disassembly:
mov eax, 0x5658
mov dword [rcx], 0x564d5868
mov word [rcx + 0x18], ax
jmp 0x14002b990
push rbx
push rsi
push rdi
mov rax, rcx
push rax
mov rdi, qword [rax + 0x28]
mov rsi, qword [rax + 0x20]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
mov rax, qword [rax]
in eax, dx
xchg qword [rsp], rax
mov qword [rax + 0x28], rdi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 8], rbx
pop qword [rax]
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004f000
Capabilities:
Check os version
Create device object

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x14003c618]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
test rcx, rcx
je 0x14004f0fb
test rdx, rdx
je 0x14004f0fb
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
js 0x14004f06f
cmp dword [rsp + 0x54], 6
ja 0x14004f05b
jne 0x14004f06f
cmp dword [rsp + 0x58], 2
jb 0x14004f06f
mov dword [0x14003ebc0], 0x200
mov dword [0x14003ebc4], 0x40000000
call fcn.140010450
call fcn.140010a94
call fcn.14002df24
lea rdx, [0x14004f1c0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [0x14003ec00]
mov r9d, 0x23
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edi, eax
test eax, eax
js 0x14004f0f4
lea rax, [0x14004cce0]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x80], rax
lea rax, [0x14004cd30]
mov qword [rbx + 0xe8], rax
lea rax, [0x14004ce60]
mov qword [rbx + 0x68], rax
call fcn.140011390
jmp 0x14004f100
call fcn.140015f60
jmp 0x14004f100
mov edi, 0xc000000d
mov eax, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140021240
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x1400290fc
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c6f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c6f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002924c
cmp rax, 0xffffffffffffffff
je 0x14002924c
xor edi, edi
test rbp, rbp
jle 0x1400291f7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f008
mov rbx, rax
test rax, rax
jne 0x140029184
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400291ed
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a028
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d3d0
cmp eax, 0xffffffff
je 0x1400291cd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029194
mov edx, r15d
mov ecx, r14d
call fcn.14001a028
jmp 0x1400291ed
cmp byte [rsi + 0x38], dil
je 0x1400291e4
cmp dword [rsi + 0x34], 5
jne 0x1400291e4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400291ed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001adbc
jmp 0x140029260
jns 0x140029260
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c6f4
cmp rax, 0xffffffffffffffff
jne 0x140029218
cmp byte [rsi + 0x30], dil
je 0x140029260
mov edi, dword [rsi + 0x2c]
jmp 0x140029260
mov ecx, r14d
call fcn.1400184e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029260
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029260
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029259
mov eax, dword [rsi + 0x2c]
jmp 0x14002925e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c6f4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14126262c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141262636
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14126265f
pop rbp
sub rbp, 0x33
sub rbp, 0x126262c
sub rsp, 0x20
jmp 0x14126267e
mov rax, 0x126262c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5e40ff9d
xor byte [rax], dl
inc rax
dec rcx
jne 0x14126269d
jmp 0x1412626b4
invalid
Function at 0x140002240
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [r9], 0
mov rdi, rcx
mov rbx, r9
mov ecx, 0x10
mov r14, r8
mov rsi, rdx
jne 0x140002278
or eax, 0xffffffff
jmp 0x140002352
mov eax, 0xfffe
mov qword [rsp + 0x60], rbp
xor ebp, ebp
cmp word [rdx + 0x14], ax
jne 0x1400022bf
lea r8d, [rbp + 0x18]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000234a
cmp dword [rbx], ebp
je 0x14000234a
movzx eax, word [rsp + 0x48]
mov ecx, 0x28
mov word [rsi + 0x14], ax
mov edx, dword [rsi + 0x10]
cmp edx, ecx
jbe 0x1400022e2
sub edx, ecx
lea r8, [rsp + 0x3c]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x38], edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x14000234a
lea rdx, [rsp + 0x30]
mov r9, rbx
mov r8d, 8
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000234a
cmp dword [rbx], ebp
je 0x14000234a
cmp dword [rsp + 0x30], 0x61746164
je 0x140002369
mov edx, dword [rsp + 0x34]
lea r8, [rsp + 0x38]
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x14000234a
lea rdx, [rsp + 0x30]
mov r9, rbx
mov r8d, 8
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140002302
or eax, 0xffffffff
mov rbp, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140009190
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [rsp + 0x34]
mov dword [r14], eax
xor eax, eax
jmp 0x14000234d
Function at 0x1400036c0
Capabilities:
Hash data with crc32

Disassembly:
test edx, edx
je 0x1400037af
push r14
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov edi, edx
mov rbx, rcx
lea rsi, [rcx + 0x1400]
lea r14, [0x14000bfa0]
nop dword [rax]
dec edi
cmp qword [rbx + 0x1408], rsi
jne 0x14000372b
mov rax, qword [rbx + 0x1420]
mov r8d, 0x1400
mov rdx, rbx
mov rcx, rax
call qword [rax]
test eax, eax
je 0x140003768
mov qword [rbx + 0x1408], rbx
mov r8, qword [rbx + 0x1408]
mov edx, dword [rbx + 0x1418]
movzx eax, byte [r8]
xor rax, rdx
movzx ecx, al
shr edx, 8
mov eax, dword [r14 + rcx*4]
xor eax, edx
mov dword [rbx + 0x1418], eax
inc dword [rbx + 0x141c]
lea rax, [r8 + 1]
mov qword [rbx + 0x1408], rax
test edi, edi
je 0x14000379a
jmp 0x140003700
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_public:_void___cdecl_std::exception::constructor_void____ptr64]
nop
lea rax, vtable.tta::tta_exception.0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 4
lea rdx, [0x14000e2b0]
lea rcx, [rsp + 0x28]
call sub.MSVCR120.dll__CxxThrowException
int3
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x1400068e0
Capabilities:
Hash data with crc32

Disassembly:
test edx, edx
je 0x1400069cb
push r14
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov edi, edx
mov rbx, rcx
lea rsi, [rcx + 0x1400]
lea r14, [0x14000bfa0]
nop dword [rax]
dec edi
cmp qword [rbx + 0x1408], rsi
jne 0x14000694f
mov rax, qword [rbx + 0x1420]
mov r8d, 0x1400
mov rdx, rbx
mov rcx, rax
call qword [rax + 8]
cmp eax, 0x1400
jne 0x140006984
mov qword [rbx + 0x1408], rbx
mov ecx, dword [rbx + 0x1418]
movzx eax, cl
shr ecx, 8
mov eax, dword [r14 + rax*4]
xor eax, ecx
mov dword [rbx + 0x1418], eax
inc dword [rbx + 0x141c]
mov rax, qword [rbx + 0x1408]
mov byte [rax], 0
inc qword [rbx + 0x1408]
test edi, edi
je 0x1400069b6
jmp 0x140006920
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_public:_void___cdecl_std::exception::constructor_void____ptr64]
nop
lea rax, vtable.tta::tta_exception.0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 5
lea rdx, [0x14000e2b0]
lea rcx, [rsp + 0x28]
call sub.MSVCR120.dll__CxxThrowException
int3
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140007cc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, r8d
mov r9, rdx
lea r8, [rcx + 0x670]
mov edx, eax
mov rcx, r9
jmp fcn.1400035e0

Function at 0x1400080b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x680
call fcn.140006860
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.tta.exe_protected:_void___cdecl_tta::tta_encoder::write_seek_table_void____ptr64
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140014200
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015540
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015560
xor al, al
jmp 0x1400155e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015573
xor al, al
jmp 0x1400155e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001559d
xor al, al
jmp 0x1400155e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400155b1
xor al, al
jmp 0x1400155e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400155c3
xor al, al
jmp 0x1400155e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400155df
xor al, al
jmp 0x1400155e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012dd0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a2
movzx eax, al
test eax, eax
jne 0x140012df0
mov ecx, 7
call fcn.140011320
nop
mov byte [rsp + 0x20], 0
call fcn.140011334
mov byte [rsp + 0x21], al
cmp dword [0x14001e8c8], 1
jne 0x140012e14
mov ecx, 7
call fcn.140011320
nop
jmp 0x140012e6c
cmp dword [0x14001e8c8], 0
jne 0x140012e67
mov dword [0x14001e8c8], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x140012e48
mov eax, 0xff
jmp 0x140012f71
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001132a
mov dword [0x14001e8c8], 2
jmp 0x140012e6c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001130c
call fcn.1400112a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012ec9
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140012ec9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012efd
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140012efd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011361
nop
call fcn.140013020
mov dword [rsp + 0x28], eax
call fcn.140011285
movzx eax, al
test eax, eax
jne 0x140012f1c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012f2b
call fcn.14001136b
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140012f71
add rsp, 0x68
ret