joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f63c0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lea rbx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140089e90
cmp byte [rsp + 0x67], 0
jns 0x1400f6405
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebp, eax
cmp byte [rsp + 0x67], 0
js 0x1400f64ae
test ebp, ebp
je 0x1400f64c0
mov r14b, 1
test rsi, rsi
je 0x1400f6527
mov ecx, ebp
add rcx, rcx
call fcn.1401908a0
mov rbx, rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140089e90
cmp byte [rsp + 0x67], 0
jns 0x1400f6467
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x67], 0
jns 0x1400f6487
mov rcx, qword [rsp + 0x50]
call fcn.140190860
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0
je 0x1400f64c5
xor eax, eax
nop word cs:[rax + rax]
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400f64a0
jmp 0x1400f64c7
mov rcx, qword [rsp + 0x50]
call fcn.140190860
test ebp, ebp
jne 0x1400f6428
xor r14d, r14d
jmp 0x1400f6527
xor eax, eax
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.14008a930
cmp byte [rsi + 0x17], 0
js 0x1400f64ea
mov byte [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x1400f650e
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
cmp byte [rsi + 0x17], 0
jns 0x1400f650e
mov rcx, qword [rsi]
call fcn.140190860
mov qword [rsi + 0x10], 0
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1401908b0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140190ca0
mov eax, r14d
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400fff60
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x130
mov rdi, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x128], rax
test r9, r9
mov rax, qword [rcx]
cmove rdi, rax
test rdx, rdx
jne 0x1400fffa4
cmp rdi, rax
je 0x1401000d5
mov eax, dword [rdi + 0x28]
cmp rax, r14
jae 0x1400ffff8
lea r15, [rsi + 8]
mov rcx, r15
mov rdx, rdi
call fcn.1400ffcd0
test eax, eax
je 0x1401000ef
mov rax, qword [rsi + 8]
mov rcx, r15
mov rdx, rbx
mov r8, r14
call qword [rax + 0x18]
mov rax, qword [rsi + 8]
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [rax + 0x20]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov r14d, dword [rax + 4]
mov edx, dword [rax + 0x2c]
call fcn.14012f250
jmp 0x14010000d
test r14, r14
je 0x14010000d
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8, r14
call fcn.140193590
cmp r14d, 0x80
je 0x140100033
mov eax, r14d
mov r8d, 0x80
sub r8, rax
je 0x140100033
lea rcx, [rsp + rax]
add rcx, 0x20
xor edx, edx
call fcn.140193a00
xor eax, eax
movaps xmm0, xmmword [0x1401ea8a0]
movaps xmm1, xmmword [rsp + rax + 0x20]
xorps xmm1, xmm0
movaps xmmword [rsp + rax + 0xa0], xmm1
add rax, 0x10
cmp rax, 0x80
jne 0x14010003c
lea rbx, [rsi + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.1400ffcd0
test eax, eax
je 0x1401000ef
mov r8d, dword [rdi + 0x28]
mov rax, qword [rbx]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [rax + 0x18]
xor eax, eax
movaps xmm0, xmmword [0x1401ea8b0]
movaps xmm1, xmmword [rsp + rax + 0x20]
xorps xmm1, xmm0
movaps xmmword [rsp + rax + 0xa0], xmm1
add rax, 0x10
cmp rax, 0x80
jne 0x14010008d
lea rbx, [rsi + 0x48]
mov rcx, rbx
mov rdx, rdi
call fcn.1400ffcd0
test eax, eax
je 0x1401000ef
mov r8d, dword [rdi + 0x28]
mov rax, qword [rsi + 0x48]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [rax + 0x18]
mov qword [rsi], rdi
lea rdx, [rsi + 0x28]
add rsi, 8
mov rcx, rsi
call fcn.1400ffba0
xor esi, esi
test eax, eax
setne sil
jmp 0x1401000f1
xor esi, esi
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140190ca0
mov eax, esi
add rsp, 0x130
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401035e0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
jne 0x1401036f9
mov r15, qword [rsi]
mov rdi, qword [rsi + 8]
mov rcx, rdi
sub rcx, r15
jbe 0x140103671
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
add rax, 1
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, rdi
sub r15, rax
sub rbx, rdi
mov r13, rbx
sar r13, 3
test rbx, rbx
je 0x14010365c
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.140193590
mov rdi, qword [rsi + 8]
lea rbx, [r15 + r13*8]
mov qword [rsi + 0x10], rbx
lea rax, [rdi + r12*8]
mov qword [rsi + 8], rax
jmp 0x1401036f9
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov r12d, 1
cmovne r12, rcx
test r12, r12
je 0x1401036a5
mov rax, r12
shr rax, 0x3d
jne 0x140103714
lea rcx, [r12*8]
call fcn.140190820
jmp 0x1401036a7
xor eax, eax
lea r8, [rax + r12*8]
shr r12, 2
lea r9, [rax + r12*8]
mov rdx, r9
cmp rdi, rbx
je 0x1401036d4
mov rdx, r9
mov rcx, qword [rdi]
mov qword [rdx], rcx
add rdx, 8
add rdi, 8
cmp rbx, rdi
jne 0x1401036be
mov r15, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
test r15, r15
je 0x1401036f6
mov rcx, r15
call fcn.140190860
mov rbx, qword [rsi + 0x10]
jmp 0x1401036f9
mov rbx, rdx
mov rax, qword [r14]
mov qword [rbx], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401a6a70
ud2

Function at 0x1401042c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14034eca8]
cmp rsi, 1
ja 0x140104320
lea rcx, [0x14034eca8]
call fcn.140076120
test al, al
je 0x140104319
mov qword [0x14034ecb0], 0
lea rdi, [0x14034eca8]
lea rsi, [0x14034ecb0]
mov rcx, rsi
xor edx, edx
call fcn.14008d5d0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400761d0
jmp 0x140104320
mov rsi, qword [0x14034eca8]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14008d580

Function at 0x14010b040
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x14010b05a
call fcn.14010af70
mov rcx, rax
add rsp, 0x28
jmp 0x14014d7d0
nop
add rsp, 0x28
ret
add rcx, 0x10
xor edx, edx
jmp fcn.14008d580
Function at 0x1401110b0
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x140168800
sub rsp, 0x1c8
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x28]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140168854
movzx eax, byte [rsp + 0x29]
shl eax, 8
cmp eax, 0x200
jne 0x14016886a
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140190ca0
nop
add rsp, 0x1c8
ret
lea rdx, str.WSAStartup_failed_with_error:__d_n
mov ecx, 0xfffffffd
mov r8d, eax
call fcn.1400c46f0
jmp 0x140168881
lea rdx, str.Could_not_find_a_usable_version_of_Winsock.dll_n
mov ecx, 0xfffffffd
call fcn.1400c46f0
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call fcn.14019eb80
ud2

Function at 0x1401110d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [sym.imp.WS2_32.dll_recv]
mov rbx, qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r14, str.Transport::ReadSomeData:_Failed_to_wait_on_socket_event_n
mov r13, qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r15, str.Transport::ReadSomeData:_Failed_to_reset_socket_event_n
movsxd rdx, dword [rsi + 0x14]
mov r8d, 0x1000
sub r8d, edx
add rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
xor r9d, r9d
call rdi
test eax, eax
jg 0x14011117a
test eax, eax
je 0x140111176
call rbx
cmp eax, 0x2733
jne 0x14011116f
mov rcx, qword [rsi + 0x28]
mov edx, 0xffffffff
call r12
cmp eax, 0xffffffff
jne 0x140111155
mov ecx, 0xfffffffc
mov rdx, r14
call fcn.1400c46f0
mov rcx, qword [rsi + 0x28]
call r13
test eax, eax
jne 0x14011110c
mov ecx, 0xfffffffc
mov rdx, r15
call fcn.1400c46f0
jmp 0x14011110c
call rbx
cmp eax, 4
je 0x14011110c
xor eax, eax
jmp 0x14011117f
add dword [rsi + 0x14], eax
mov al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140111810
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], reloc.WS2_32.dll_recv
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14011185d
lea rdx, str.Failed_to_retrieve_bound_address._n
mov ecx, 0xfffffffd
call fcn.1400c46f0
xor esi, esi
jmp 0x14011186a
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
mov esi, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140190ca0
mov eax, esi
add rsp, 0x50
pop rsi
ret

Function at 0x140115020
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14034f550]
mov ecx, dword [0x14034d688]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140115055
lea rcx, [0x14034f548]
add rsp, 0x28
jmp fcn.14008d540
lea rcx, [0x14034f550]
call fcn.140190a20
cmp dword [0x14034f550], 0xffffffff
jne 0x140115045
mov qword [0x14034f548], 0
lea rcx, [0x14034f548]
xor edx, edx
call fcn.14008d5d0
lea rcx, [0x14034f550]
call fcn.140190ac0
jmp 0x140115045

Function at 0x140116ea0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
test rsi, rsi
jne 0x140116ecc
jmp 0x140116efb
mov rsi, qword [rsi + 0x218]
test rsi, rsi
je 0x140116efb
xor edi, edi
xchg qword [rsi], rdi
test rdi, rdi
je 0x140116ec0
nop word cs:[rax + rax]
bsr rcx, rdi
mov ebx, 1
shl rbx, cl
mov rcx, qword [rsi + rcx*8 + 0x10]
call qword [rcx + reloc.WS2_32.dll_htonl]
xor rdi, rbx
jne 0x140116ee0
jmp 0x140116ec0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14011fdb0
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rbx, [rcx + 0x60]
lea rdi, [rcx + 0x58]
lea rsi, [rcx + 0x54]
mov ebp, dword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0xe0]
mov dword [rdx], 1
mov dword [rdx + 4], eax
mov dword [rdx + 8], ebp
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rdi
mov qword [rdx + 0x20], rbx
movups xmm0, xmmword [r15 + 0x20]
movups xmmword [rdx + 0x28], xmm0
xor ebx, ebx
mov qword [rdx + 0x48], rbx
xorps xmm0, xmm0
movups xmmword [rdx + 0x38], xmm0
lea r9, [rsp + 0x90]
mov qword [r9], rbx
mov dword [r9 + 8], ebx
movups xmmword [r9 + 0x10], xmm0
movups xmmword [r9 + 0x20], xmm0
movups xmmword [r9 + 0x30], xmm0
movups xmmword [r9 + 0x40], xmm0
lea rax, [rsp + 0x8c]
mov dword [rax], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50
mov rcx, r14
mov r8d, 0x50
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x14011ff2e
cmp dword [rsp + 0x90], 2
jne 0x14011ff2e
mov eax, dword [rsp + 0x94]
test eax, eax
je 0x14011ff2e
cmp qword [rsp + 0xc8], 0
je 0x14011ff2c
cmp qword [rsp + 0xd0], 0
je 0x14011ff2c
cmp qword [rsp + 0xd8], 0
je 0x14011ff2c
lea rdx, [rsp + 0x38]
mov dword [rdx + 8], 0
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
mov qword [rdx], 3
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x8c]
mov rcx, r14
mov r8d, 0x50
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14011ff2c
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [r15 + 0x38], xmm0
mov rax, qword [rsp + 0xd8]
mov qword [r15 + 0x48], rax
mov eax, dword [rsp + 0x94]
mov dword [r15 + 0x50], eax
mov bl, 1
jmp 0x14011ff2e
xor ebx, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140190ca0
mov eax, ebx
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401284e0
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 0x140128500
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
repz ret
Function at 0x140128540
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 0x140128560
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret

Function at 0x1401285a0
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 0x1401285c3
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
repz ret

Function at 0x140128620
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 0x140128643
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret

Function at 0x1401286a0
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 0x1401286c9
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 0x140128730
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 0x140128759
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 0x1401287c0
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 0x14012881f

Function at 0x140128810
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.140128810
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 0x1401288a0
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 0x1401288ff
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 0x1401288f0
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 0x140128980
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 0x1401289da

Function at 0x1401289fa
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 0x1401289d0
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 0x140128a90
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 0x140128aea
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 0x140128ae0
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
Function at 0x14012bfc0
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x14012bfe0
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, bh
movzx edi, ch
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, dh
shr ecx, 0x10
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr eax, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, dh
movzx edi, ah
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
mov edx, dword [r15 + 0xc]
movzx edi, bh
movzx ebp, ch
mov eax, dword [r15]
xor r12d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 1]
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
sub r13d, 1
jne 0x14012bfe0
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi*8 + 2]
movzx r11d, byte [r14 + rdi*8 + 2]
movzx r12d, byte [r14 + rbp*8 + 2]
movzx esi, dl
movzx edi, bh
movzx ebp, ch
movzx r8d, byte [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and edi, 0xff00
and ebp, 0xff00
xor r10d, edi
xor r11d, ebp
shr ecx, 0x10
movzx esi, dh
movzx edi, ah
shr edx, 0x10
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
and esi, 0xff00
and edi, 0xff00
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr eax, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and esi, 0xff0000
and edi, 0xff0000
and ebp, 0xff0000
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, dh
movzx ebp, ah
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8 + 2]
mov ebp, dword [r14 + rbp*8 + 2]
and esi, 0xff0000
and edi, 0xff000000
and ebp, 0xff000000
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, bh
movzx edi, ch
mov edx, dword [r15 + 0x1c]
mov esi, dword [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8 + 2]
mov eax, dword [r15 + 0x10]
and esi, 0xff000000
and edi, 0xff000000
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret