joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400405d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x20
mov edi, r8d
sub edx, 0x100
je 0x140040604
sub edx, 4
je 0x140040670
cmp edx, 1
jne 0x1400405fc
cmp r8d, 0x12
sete al
add rsp, 0x20
pop rdi
ret
xor al, al
add rsp, 0x20
pop rdi
ret
cmp edi, 9
je 0x140040670
cmp edi, 0x2e
je 0x140040670
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x30], rbx
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 1
xor ebx, ebx
test ax, ax
cmovs ebx, ecx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14004063e
or ebx, 2
mov ecx, SafeArrayGetLBound
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140040651
or ebx, 4
test ebx, ebx
je 0x140040662
xor ebx, ebx
lea eax, [rdi - 0x25]
cmp eax, 3
seta bl
test ebx, ebx
mov rbx, qword [rsp + 0x30]
setne al
add rsp, 0x20
pop rdi
ret
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140049580
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x1400495bd
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.140046f08
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400496bc
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140046f08
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x140049630
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140025330
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x1400496fb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400496fb
call fcn.140046f10
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x1400496e2
mov rcx, r14
call fcn.140046f10
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x1400080f6
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
sub rsp, 0x50
mov r8, rdx
mov r10d, 0x27
mov r11d, 0x2710
mov si, 0x64
lea r9, [0x14058336f]
cmp rcx, 0x270f
jbe 0x140008152
mov rax, rcx
xor edx, edx
div r11
mov rcx, rax
mov eax, edx
xor edx, edx
div si
movzx eax, ax
movzx edx, dx
movzx eax, word [r9 + rax*2]
mov word [rsp + r10 + 0x25], ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffc
jmp 0x140008115
cmp rcx, 0x63
jbe 0x14000817a
mov r11w, 0x64
mov eax, ecx
xor edx, edx
div r11w
movzx edx, dx
movzx ecx, ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
cmp rcx, 0xa
jae 0x14000818d
add cl, 0x30
mov byte [rsp + r10 + 0x28], cl
dec r10
jmp 0x14000819c
movzx eax, word [r9 + rcx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
lea r9, [rsp + r10]
add r9, 0x29
mov eax, 0x27
sub rax, r10
mov qword [rsp + 0x20], rax
lea rdx, str.expand_32_byte_kntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemoryymmxmmzmm
mov rcx, r8
xor r8d, r8d
call fcn.140007ea3
nop
add rsp, 0x50
pop rsi
ret
sub rsp, 0xa8
mov eax, dword [rdx + 0x34]
test al, 0x10
jne 0x140008513
test al, 0x20
jne 0x140008557
movzx ecx, byte [rcx]
add rsp, 0xa8
jmp 0x1400080f6
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x57
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x140008524
jmp 0x140008599
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x37
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x140008568
add rax, 0xfffffffffffffffe
cmp rax, 0x81
jae 0x1400085db
mov ecx, 0x81
sub rcx, r9
lea r9, [rsp + rax]
add r9, 0x28
mov qword [rsp + 0x20], rcx
lea rax, [0x14058336d]
mov r8d, 2
mov rcx, rdx
mov rdx, rax
call fcn.140007ea3
nop
add rsp, 0xa8
ret
ud2
Function at 0x1400084f2
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
sub rsp, 0x50
mov r8, rdx
mov r10d, 0x27
mov r11d, 0x2710
mov si, 0x64
lea r9, [0x14058336f]
cmp rcx, 0x270f
jbe 0x140008152
mov rax, rcx
xor edx, edx
div r11
mov rcx, rax
mov eax, edx
xor edx, edx
div si
movzx eax, ax
movzx edx, dx
movzx eax, word [r9 + rax*2]
mov word [rsp + r10 + 0x25], ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffc
jmp 0x140008115
cmp rcx, 0x63
jbe 0x14000817a
mov r11w, 0x64
mov eax, ecx
xor edx, edx
div r11w
movzx edx, dx
movzx ecx, ax
movzx eax, word [r9 + rdx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
cmp rcx, 0xa
jae 0x14000818d
add cl, 0x30
mov byte [rsp + r10 + 0x28], cl
dec r10
jmp 0x14000819c
movzx eax, word [r9 + rcx*2]
mov word [rsp + r10 + 0x27], ax
add r10, 0xfffffffffffffffe
lea r9, [rsp + r10]
add r9, 0x29
mov eax, 0x27
sub rax, r10
mov qword [rsp + 0x20], rax
lea rdx, str.expand_32_byte_kntdll.dllNtAllocateVirtualMemoryNtProtectVirtualMemoryymmxmmzmm
mov rcx, r8
xor r8d, r8d
call fcn.140007ea3
nop
add rsp, 0x50
pop rsi
ret
sub rsp, 0xa8
mov eax, dword [rdx + 0x34]
test al, 0x10
jne 0x140008513
test al, 0x20
jne 0x140008557
movzx ecx, byte [rcx]
add rsp, 0xa8
jmp 0x1400080f6
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x57
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x140008524
jmp 0x140008599
mov r8b, byte [rcx]
mov r9d, 0x81
mov ecx, 0x30
mov r10d, r8d
mov rax, r9
mov r9d, r8d
and r9b, 0xf
shr r10b, 4
cmp r9b, 0xa
mov r11d, 0x37
cmovb r11d, ecx
add r11b, r9b
mov byte [rsp + rax + 0x26], r11b
lea r9, [rax - 1]
cmp r8b, 0x10
mov r8d, r10d
jae 0x140008568
add rax, 0xfffffffffffffffe
cmp rax, 0x81
jae 0x1400085db
mov ecx, 0x81
sub rcx, r9
lea r9, [rsp + rax]
add r9, 0x28
mov qword [rsp + 0x20], rcx
lea rax, [0x14058336d]
mov r8d, 2
mov rcx, rdx
mov rdx, rax
call fcn.140007ea3
nop
add rsp, 0xa8
ret
ud2
Function at 0x14000c467
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
test r9, r9
je 0x14000c4a9
mov r15, r9
mov r14, r8
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14000c4c6

Function at 0x14000d0a1
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14000d100
mov ecx, eax
add rsp, 0x28
jmp sub.KERNEL32.dll_TlsGetValue

Function at 0x14000d0d4
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.14000d100
mov ecx, eax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x14000d100
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, dword [rcx + 0x18]
test edi, edi
je 0x14000d11a
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rsi, rcx
cmp qword [rcx], 0
je 0x14000d18a
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x14000d1d1
cmp dword [rsp + 0x2c], 0
je 0x14000d1b9
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14000d1c1
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140588120]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140588120], rsi
jne 0x14000d165
mov byte [0x140588118], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14000d110
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14000d1d1
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x14000d110
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x14000d110
mov edi, dword [rsi + 0x18]
jmp 0x14000d10e
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2

Function at 0x140013d20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140014ac0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140014ac0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140013d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405881b4]
mov rbx, rcx
test esi, esi
jle 0x140013ec0
mov rax, qword [0x1405881b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140013ddb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140013e65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140013dc0
mov rcx, rbx
call fcn.1400147e0
mov rdi, rax
test rax, rax
je 0x140013ee2
mov rax, qword [0x1405881b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014920
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1405881b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013ec7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140013e5e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140013e70
add dword [0x1405881b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1405881b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140013e5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140013d20
nop dword [rax]
xor esi, esi
jmp 0x140013de8
mov rax, qword [0x1405881b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140013d20
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140013d20
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140014450
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140588220]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140588200]
test rbx, rbx
je 0x1400144ac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400144a3
test rsi, rsi
je 0x1400144a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014488
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400147e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1405843f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140014800
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140014808
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140014800
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001485d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140014854
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140014800
add rax, 0x28
cmp rax, r9
jne 0x140014840
xor eax, eax
ret

Function at 0x140014860
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405843f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001487f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140014888
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001487f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140014920
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405843f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001493f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014948
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400012a0
Capabilities:
Encode data using xor

Disassembly:
xor rax, rax
xor r10, r10
cmp r8, 0
je 0x1400012ed
cmp r8, 0x10
jne 0x1400012d0
mov r10, qword [rcx]
mov r11, qword [rcx + 8]
mov r8d, 1
xor r10, qword [rdx]
xor r11, qword [rdx + 8]
or r10, r11
cmovne rax, r8
repz ret
mov r10b, byte [rcx]
lea rcx, [rcx + 1]
xor r10b, byte [rdx]
lea rdx, [rdx + 1]
or al, r10b
dec r8
jne 0x1400012d0
neg rax
shr rax, 0x3f
repz ret

Function at 0x140002560
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002580
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
repz ret

Function at 0x1400025c0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400025e0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret

Function at 0x140002620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002643
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
repz ret

Function at 0x140002690
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400026b3
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret
Function at 0x140002700
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002729
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
repz ret

Function at 0x140002790
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400027b9
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
repz ret

Function at 0x140002820
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000287f

Function at 0x140002870
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.140002870
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret
Function at 0x140002900
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000295f
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002950
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
repz ret

Function at 0x1400029e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140002a3a

Function at 0x140002a5a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002a30
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret
Function at 0x140002af0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140002b4a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002b40
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret