joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006e98
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x57]
sub rsp, 0x90
and qword [rbp - 1], 0
xorps xmm0, xmm0
mov esi, edx
mov ecx, ecx
lea rdx, [rbp - 1]
mov rdi, r9
movups xmmword [rbp + 0x1f], xmm0
mov rbx, r8
movups xmmword [rbp + 0x2f], xmm0
movups xmmword [rbp + 0x3f], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140006f8f
cmp qword [0x140011a90], 0
jne 0x140006ef2
call fcn.140006920
mov eax, dword [rbp + 0x7f]
lea rdx, [rbp + 0x1f]
mov rcx, qword [rbp - 1]
and dword [rbp + 0x5f], 0
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rbx
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, qword [0x140011a90]
lea rcx, [rbp + 0x5f]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 7]
or rcx, 0xffffffffffffffff
lea rdx, [rbp + 0xf]
mov r9d, esi
call qword [0x14000d300]
lea rcx, [rbp + 0x1f]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test ebx, ebx
js 0x140006f83
and qword [rbp + 0x17], 0
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r9, rdi
lea rdx, [rbp + 0x5f]
mov rcx, rax
mov r8, rbx
lea rax, [rbp + 0x17]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 4
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov ebx, eax
mov rcx, qword [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140006fa8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
and qword [rax - 0x18], 0
mov rsi, r8
and qword [rax - 0x28], 0
lea r8, [rax - 0x28]
mov rdi, rdx
mov ecx, ecx
lea rdx, [rax - 0x18]
mov ebx, r9d
call fcn.1400039e4
test eax, eax
jns 0x140006fe5
mov ebx, 0xc0000001
jmp 0x140007048
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
neg ebx
mov dword [rsp + 0x28], 0x40
mov qword [rsp + 0x48], rsi
sbb eax, eax
xor r8d, r8d
and eax, 0x100000
add eax, 0x1000
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
test eax, eax
js 0x14000703b
mov r8d, 8
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140003b0c
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140007128
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rdx
mov ecx, ecx
lea rdx, [rsp + 0x68]
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140007160
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140007159
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000001
jmp 0x1400071c4
mov r8, qword [rsp + 0x68]
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.1400032c8
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r9, qword [rdi + 8]
lea rdx, [rsp + 0x78]
mov rcx, rax
mov r8, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov rcx, qword [rsp + 0x68]
mov ebx, eax
test rcx, rcx
je 0x1400071c2
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14000726c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov ecx, ecx
lea rdx, [rsp + 0x40]
mov ebx, r9d
mov rdi, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400072ac
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400072a5
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000001
jmp 0x1400072ed
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r8, qword [rsp + 0x40]
mov r9, rsi
mov rcx, rax
mov rdx, rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x1400072eb
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140007300
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov ecx, ecx
lea rdx, [rsp + 0x40]
mov rbx, r9
mov rdi, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140007340
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140007339
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000001
jmp 0x140007381
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, qword [rsp + 0x40]
mov r9, rdi
mov r8, rax
mov rdx, rsi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x14000737f
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000779c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x38], 0
mov r14d, r8d
and qword [rbp - 0x10], 0
lea r8, [rbp - 0x10]
mov edi, edx
mov rsi, rcx
lea rdx, [rbp + 0x38]
call fcn.1400039e4
mov ebx, eax
mov eax, 0xc0000001
test ebx, ebx
cmovs ebx, eax
mov rax, qword [0x140010940]
mov ecx, dword [rax + 0x14]
test ecx, ecx
je 0x1400078ed
cmp dword [rax + 4], 0x611
ja 0x14000781a
cmp edi, 2
jne 0x140007807
mov rax, qword [rbp + 0x38]
btr dword [rcx + rax], 0xb
jmp 0x140007818
cmp edi, 1
jne 0x140007818
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x38]
bts dword [rcx + rax], 0xb
xor ebx, ebx
mov rax, qword [0x140010940]
cmp dword [rax + 4], 0x620
jne 0x14000784d
cmp edi, 2
jne 0x14000783b
mov ecx, dword [rax + 0x14]
lea eax, [rdi - 1]
add rcx, qword [rbp + 0x38]
jmp 0x140007849
cmp edi, 1
jne 0x14000784b
mov ecx, dword [rax + 0x14]
add rcx, qword [rbp + 0x38]
xor eax, eax
xchg byte [rcx], al
xor ebx, ebx
mov rax, qword [0x140010940]
cmp dword [rax + 4], 0x630
jb 0x1400078dc
and qword [rbp - 0x18], 0
and qword [rbp - 0x20], 0
test edi, edi
je 0x1400078dc
mov ecx, 0xd9f7d13d
lea rdx, [rbp - 0x18]
mov eax, 0x3977a6e2
cmp edi, 1
cmove ecx, eax
call fcn.140004424
test eax, eax
js 0x1400078dc
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x1400078dc
mov rcx, qword [0x140010940]
mov r8, qword [rbp + 0x38]
mov r9d, dword [rcx + 0x14]
mov rcx, qword [rbp - 0x20]
mov edx, dword [r9 + rcx]
xchg dword [r9 + r8], edx
mov rcx, qword [0x140010940]
mov rax, qword [rbp - 0x20]
mov r8, qword [rbp + 0x38]
mov r9d, dword [rcx + 0x24]
mov ecx, dword [r9 + rax]
xchg dword [r9 + r8], ecx
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp r14d, 1
jne 0x1400078ed
mov edx, r14d
mov rcx, rsi
call fcn.1400068ac
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140009fcc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor eax, eax
mov r11, rdx
mov r10, rcx
test r8, r8
je 0x14000a00e
mov rbx, rcx
sub r11, rcx
mov rdi, r8
cmp rax, qword [rsp + 0x28]
mov cl, byte [r11 + rbx]
sbb rdx, rdx
and rdx, rax
xor cl, byte [rdx + r9]
lea rax, [rdx + 1]
mov byte [rbx], cl
inc rbx
sub rdi, 1
jne 0x140009fec
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov byte [r10 + r8], 0
ret

Function at 0x14000a020
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1400108b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, r8
movsxd r15, r9d
mov rsi, rdx
mov r14, rcx
mov ebx, 0x104
lea rcx, [rsp + 0x150]
mov r8d, ebx
xor edx, edx
call fcn.14000bcc0
mov r8d, ebx
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000bcc0
xor ebx, ebx
or rdi, 0xffffffffffffffff
mov byte [rsp + 0x32], bl
mov rdx, rdi
mov r8d, ebx
inc rdx
cmp byte [r14 + rdx], bl
jne 0x14000a087
test rdx, rdx
je 0x14000a0b5
lea rax, [rsp + 0x40]
sub rsi, rax
mov al, r8b
lea rcx, [rsp + 0x40]
add rcx, r8
inc r8
xor al, byte [rsi + rcx]
mov byte [rcx], al
cmp r8, rdx
jb 0x14000a09d
inc rdi
cmp byte [r14 + rdi], bl
jne 0x14000a0b5
test rdi, rdi
je 0x14000a0ed
lea rsi, [rsp + 0x150]
movzx eax, word [r14 + rbx]
lea rcx, [rsp + 0x30]
mov word [rsp + 0x30], ax
call fcn.14000a4a4
mov byte [rsi], al
add rbx, 2
inc rsi
cmp rbx, rdi
jb 0x14000a0cb
mov r8, r15
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x150]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call fcn.140009fcc
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000ba40
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a4a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400108b0]
xor rax, rsp
mov qword [rbp + 0x47], rax
and dword [rbp - 0x35], 0
xor r8d, r8d
or rax, 0xffffffffffffffff
mov byte [rbp - 0x39], 0x30
mov rdx, rcx
mov byte [rbp - 0x31], 0x31
mov dword [rbp - 0x2d], 1
mov byte [rbp - 0x29], 0x32
mov dword [rbp - 0x25], 2
mov byte [rbp - 0x21], 0x33
mov dword [rbp - 0x1d], 3
mov byte [rbp - 0x19], 0x34
mov dword [rbp - 0x15], 4
mov byte [rbp - 0x11], 0x35
mov dword [rbp - 0xd], 5
mov byte [rbp - 9], 0x36
mov dword [rbp - 5], 6
mov byte [rbp - 1], 0x37
mov dword [rbp + 3], 7
mov byte [rbp + 7], 0x38
mov dword [rbp + 0xb], 8
mov byte [rbp + 0xf], 0x39
mov dword [rbp + 0x13], 9
mov byte [rbp + 0x17], 0x41
mov dword [rbp + 0x1b], 0xa
mov byte [rbp + 0x1f], 0x42
mov dword [rbp + 0x23], 0xb
mov byte [rbp + 0x27], 0x43
mov dword [rbp + 0x2b], 0xc
mov byte [rbp + 0x2f], 0x44
mov dword [rbp + 0x33], 0xd
mov byte [rbp + 0x37], 0x45
mov dword [rbp + 0x3b], 0xe
mov byte [rbp + 0x3f], 0x46
mov dword [rbp + 0x43], 0xf
inc rax
cmp byte [rcx + rax], r8b
jne 0x14000a577
cmp rax, 2
jbe 0x14000a598
cmp byte [rcx], 0x30
jne 0x14000a598
mov al, byte [rcx + 1]
sub al, 0x58
test al, 0xdf
jne 0x14000a598
add rdx, 2
mov r9b, 1
jmp 0x14000a5cc
mov r10, r8
xor eax, eax
cmp cl, byte [rbp + rax*8 - 0x39]
je 0x14000a5b3
inc rax
cmp rax, 0x10
jge 0x14000a5d2
jmp 0x14000a5a2
movsxd rcx, dword [rbp + rax*8 - 0x35]
shl r8, 4
test r9b, r9b
cmovne r8, r10
inc rdx
or r8, rcx
xor r9b, r9b
mov cl, byte [rdx]
test cl, cl
jne 0x14000a59d
mov eax, r8d
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000ba40
add rsp, 0x90
pop rbp
ret
Function at 0x14000a5ec
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x1400108b0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, qword [rbp + 0x170]
mov rbx, r9
mov r12, r8
mov rdi, rdx
mov r14, rcx
test rcx, rcx
je 0x14000a7f8
test rdx, rdx
je 0x14000a7f8
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x50], rax
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x40], xmm0
test rbx, rbx
je 0x14000a654
and qword [r9], rax
mov r8, qword [rbp + 0x178]
lea rcx, [rbp + 0x58]
mov eax, 0x21
mov rdx, r15
cmp r8, rax
cmova r8, rax
call fcn.14000bdc0
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x80
call fcn.14000bcc0
xor r9d, r9d
xor r11d, r11d
xor eax, eax
xor r10d, r10d
movsxd rdx, r9d
cmp rdx, qword [rbp + 0x178]
sbb r8, r8
inc r11d
and r8, rax
lea rax, [0x14000d3b0]
mov al, byte [r10 + rax]
mov cl, byte [r8 + r15]
xor cl, al
mov byte [rbp + r10 + 0x80], cl
inc r10
cmp rdx, qword [rbp + 0x178]
sbb eax, eax
and r9d, eax
lea rax, [r8 + 1]
inc r9d
cmp r11d, 0x80
jb 0x14000a692
movzx ecx, byte [rbp + 0x58]
lea rax, [rbp + 0x80]
shr rcx, 3
lea rdx, [rbp + 0x80]
add rax, rcx
cmp rcx, 0x10
lea rcx, [rbp + 0x30]
cmovae rdx, rax
lea rax, [rdx + 0xf]
cmp rcx, rax
ja 0x14000a71e
lea rax, [rbp + 0x3f]
cmp rax, rdx
jb 0x14000a71e
movups xmm0, xmmword [rdx]
movdqu xmmword [rbp + 0x30], xmm0
jmp 0x14000a726
movups xmm0, xmmword [rdx]
movdqu xmmword [rbp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x110
call fcn.14000bcc0
and dword [rsp + 0x28], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x30]
mov dword [rsp + 0x24], 0x100
mov qword [rsp + 0x38], rax
call fcn.14000b244
mov r9d, 0x10
lea rdx, [rbp + 0x40]
mov r8, r14
lea rcx, [rsp + 0x20]
call fcn.14000af50
xor r9d, r9d
lea r10, [rbp + 0x80]
xor eax, eax
xor ecx, ecx
cmp rax, 8
cmovl rcx, rax
inc r9d
mov al, byte [rbp + rcx + 0x40]
mov byte [r10], al
inc r10
lea rax, [rcx + 1]
cmp r9d, 0x80
jb 0x14000a787
and dword [rsp + 0x28], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x30]
mov dword [rsp + 0x24], 0x80
mov qword [rsp + 0x38], rax
call fcn.14000b244
lea r9d, [rdi - 0x10]
mov rdx, r12
lea r8, [r14 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000b038
mov eax, eax
test rbx, rbx
je 0x14000a801
mov qword [rbx], rax
jmp 0x14000a801
test rbx, rbx
je 0x14000a801
and qword [r9], 0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14000ba40
add rsp, 0x218
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x14000a824
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1400108b0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, qword [rbp + 0x170]
mov rbx, r9
mov r12, r8
mov rdi, rdx
mov r14, rcx
test rcx, rcx
je 0x14000aa4d
test rdx, rdx
je 0x14000aa4d
cmp rdx, 0x10
jb 0x14000aa4d
test dil, 0xf
jne 0x14000aa4d
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x50], rax
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x40], xmm0
test rbx, rbx
je 0x14000a8a1
and qword [r9], rax
mov rsi, qword [rbp + 0x178]
lea rcx, [rbp + 0x58]
mov eax, 0x21
mov r8, rsi
cmp rsi, rax
mov rdx, r15
cmova r8, rax
call fcn.14000bdc0
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x80
call fcn.14000bcc0
xor r10d, r10d
lea rcx, [rbp + 0x80]
xor edx, edx
xor r9d, r9d
movsxd rax, r10d
cmp rax, rsi
sbb r8, r8
and r8, r9
cmp rax, rsi
sbb r9d, r9d
mov al, byte [r8 + r15]
and r9d, r10d
test edx, edx
jne 0x14000a907
add al, 5
jmp 0x14000a90a
xor al, byte [rcx - 1]
mov byte [rcx], al
lea r10d, [r9 + 1]
inc rcx
lea r9, [r8 + 1]
inc edx
cmp edx, 0x80
jb 0x14000a8e6
movzx ecx, byte [rbp + 0x59]
lea rax, [rbp + 0x80]
shr rcx, 3
lea rdx, [rbp + 0x80]
add rax, rcx
cmp rcx, 0x10
lea rcx, [rbp + 0x30]
cmovae rdx, rax
lea rax, [rdx + 0xf]
cmp rcx, rax
ja 0x14000a962
lea rax, [rbp + 0x3f]
cmp rax, rdx
jb 0x14000a962
movups xmm0, xmmword [rdx]
movdqu xmmword [rbp + 0x30], xmm0
jmp 0x14000a96a
movups xmm0, xmmword [rdx]
movdqu xmmword [rbp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x110
call fcn.14000bcc0
lea rax, [rbp + 0x80]
mov dword [rsp + 0x24], 0xc0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x30]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x38], rax
call fcn.14000b244
mov r9d, 0x10
lea rdx, [rbp + 0x40]
mov r8, r14
lea rcx, [rsp + 0x20]
call fcn.14000af50
xor r10d, r10d
xor eax, eax
xor r9d, r9d
xor edx, edx
cmp rax, 8
cmovl rdx, rax
lea rax, [0x14000d3b0]
mov al, byte [r9 + rax]
inc r10d
mov cl, byte [rbp + rdx + 0x40]
xor cl, al
lea rax, [rdx + 1]
mov byte [rbp + r9 + 0x80], cl
inc r9
cmp r10d, 0x80
jb 0x14000a9ca
and dword [rsp + 0x28], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x30]
mov dword [rsp + 0x24], 0x80
mov qword [rsp + 0x38], rax
call fcn.14000b244
lea r9d, [rdi - 0x10]
mov rdx, r12
lea r8, [r14 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000b038
mov eax, eax
test rbx, rbx
je 0x14000aa56
mov qword [rbx], rax
jmp 0x14000aa56
test rbx, rbx
je 0x14000aa56
and qword [r9], 0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14000ba40
add rsp, 0x210
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000aa78
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x1400108b0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rsi, qword [rbp + 0x180]
mov rbx, r9
mov r13, r8
mov r15, rdx
mov r12, rcx
test rcx, rcx
je 0x14000acd0
test rdx, rdx
je 0x14000acd0
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x50], rax
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x40], xmm0
test rbx, rbx
je 0x14000aae3
and qword [r9], rax
mov rdi, qword [rbp + 0x188]
lea rcx, [rbp + 0x58]
mov eax, 0x21
mov r8, rdi
cmp rdi, rax
mov rdx, rsi
cmova r8, rax
call fcn.14000bdc0
xor edx, edx
lea rcx, [rbp + 0x81]
lea r8d, [rdx + 0x7f]
call fcn.14000bcc0
xor r8d, r8d
lea r10, [rbp + 0x80]
xor r9d, r9d
xor eax, eax
movsxd rcx, r8d
cmp rcx, rdi
sbb rdx, rdx
inc r9d
and rdx, rax
mov al, byte [rdx + rsi]
add al, 2
mov byte [r10], al
inc r10
cmp rcx, rdi
sbb eax, eax
and r8d, eax
lea rax, [rdx + 1]
inc r8d
cmp r9d, 0x80
jb 0x14000ab26
movzx edi, byte [rbp + 0x59]
lea r14, [rbp + 0x80]
shr rdi, 3
add r14, rdi
cmp qword [0x140011c98], 0
jne 0x14000ab94
movabs rax, 0xfffff78000000014
lea rcx, [0x140011c98]
mov rax, qword [rax]
mov qword [0x140011c98], rax
call fcn.14000a170
xor esi, esi
mov edx, 1
lea rcx, [0x140011c98]
mov r8d, 0xff
call fcn.14000a3ec
mov byte [rbp + rsi + 0x40], al
inc rsi
cmp rsi, 8
jl 0x14000ab96
cmp rdi, 0x10
lea rcx, [rbp + 0x80]
lea rdx, [rbp + 0x30]
cmovae rcx, r14
lea rax, [rcx + 0xf]
cmp rdx, rax
ja 0x14000abe9
lea rax, [rbp + 0x3f]
cmp rax, rcx
jb 0x14000abe9
movups xmm0, xmmword [rcx]
movdqu xmmword [rbp + 0x30], xmm0
jmp 0x14000abf1
movups xmm0, xmmword [rcx]
movdqu xmmword [rbp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x110
call fcn.14000bcc0
lea rax, [rbp + 0x80]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x30]
mov r14d, 0x80
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], r14d
call fcn.14000b244
lea r9d, [r14 - 0x78]
mov r8, r13
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000b0f4
mov edi, eax
xor r10d, r10d
xor eax, eax
lea rsi, [rdi + r13]
xor edx, edx
cmp rax, 8
cmovl rdx, rax
lea rax, [0x14000d3b0]
mov al, byte [r10 + rax]
mov cl, byte [rbp + rdx + 0x40]
xor cl, al
lea rax, [rdx + 1]
mov byte [rbp + r10 + 0x80], cl
inc r10
cmp r10, 0x20
jl 0x14000ac55
and dword [rsp + 0x28], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x30]
mov dword [rsp + 0x24], r14d
mov qword [rsp + 0x38], rax
call fcn.14000b244
mov r9d, r15d
lea rcx, [rsp + 0x20]
mov r8, rsi
mov rdx, r12
call fcn.14000b0f4
mov eax, eax
test rbx, rbx
je 0x14000acd9
add rax, rdi
mov qword [rbx], rax
jmp 0x14000acd9
test rbx, rbx
je 0x14000acd9
and qword [r9], 0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14000ba40
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000acfc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x230
mov rax, qword [0x1400108b0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbp, r8
mov r14, rdx
mov r15, rcx
mov r12d, 0x100
mov r8d, r12d
lea rcx, [rsp + 0x20]
xor edx, edx
mov rdi, r9
call fcn.14000bcc0
xor ebx, ebx
test rdi, rdi
je 0x14000aec4
mov esi, dword [rsp + 0x280]
lea eax, [rsi - 1]
cmp eax, 0xff
ja 0x14000aec4
mov r8d, r12d
lea rcx, [rsp + 0x120]
xor edx, edx
call fcn.14000bcc0
lea r10d, [rbx + 1]
cmp esi, r12d
jne 0x14000addc
lea ecx, [rbx + 2]
lea edx, [rcx + 0x7e]
lea rax, [rsp + 0x120]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rdi + 0x70]
add rdi, rdx
movups xmmword [rax + 0x60], xmm0
add rax, rdx
movups xmmword [rax - 0x10], xmm1
sub rcx, r10
jne 0x14000ad91
jmp 0x14000ae06
mov r8d, ebx
mov r9, rbx
mov eax, r8d
mov byte [rsp + r9 + 0x20], r8b
cdq
add r8d, r10d
idiv esi
movsxd rax, edx
mov cl, byte [rax + rdi]
mov byte [rsp + r9 + 0x120], cl
add r9, r10
cmp r8d, r12d
jl 0x14000ade2
mov edx, ebx
mov r8, rbx
mov edi, 0x800000ff
mov r11d, 0xffffff00
movzx eax, byte [rsp + r8 + 0x120]
movzx r9d, byte [rsp + r8 + 0x20]
add edx, eax
add edx, r9d
and edx, edi
jge 0x14000ae37
sub edx, r10d
or edx, r11d
add edx, r10d
movsxd rcx, edx
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + r8 + 0x20], al
add r8, r10
mov byte [rsp + rcx + 0x20], r9b
cmp r8, r12
jl 0x14000ae16
mov r9d, ebx
test r15, r15
je 0x14000aebf
test r14, r14
je 0x14000aebf
test rbp, rbp
jle 0x14000aebf
sub r15, r14
inc r9d
and r9d, edi
jge 0x14000ae76
sub r9d, r10d
or r9d, r11d
add r9d, r10d
movsxd rdx, r9d
movzx r8d, byte [rsp + rdx + 0x20]
lea eax, [rbx + r8]
and eax, edi
jge 0x14000ae90
sub eax, r10d
or eax, r11d
add eax, r10d
movsxd rbx, eax
mov al, byte [rsp + rbx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rbx + 0x20], r8b
movzx edx, byte [rsp + rdx + 0x20]
add rdx, r8
movzx ecx, dl
mov r8b, byte [rsp + rcx + 0x20]
xor r8b, byte [r15 + r14]
mov byte [r14], r8b
add r14, r10
sub rbp, r10
jne 0x14000ae65
mov al, r10b
jmp 0x14000aec6
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14000ba40
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret