joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020680
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140088008]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [rcx + 0x178]
mov rbx, rcx
test al, al
je 0x1400206b8
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140028de0
add rsp, 0x70
pop rbx
ret
mov eax, dword [rcx + 0x194]
and eax, 4
test al, al
jne 0x1400206dd
call fcn.140020330
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140028de0
add rsp, 0x70
pop rbx
ret
mov rcx, qword [rcx + 0x158]
xor eax, eax
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
lea edi, [rax + 1]
mov qword [rsp + 0x58], r14
mov r12d, 0x300
or r14d, 0xffffffff
mov qword [rsp + 0x50], r15
xor r15d, r15d
mov qword [rsp + 0x28], rax
or ebp, r14d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov esi, r15d
mov qword [rsp + 0x40], rax
cmp rcx, 0xffffffffffffffff
je 0x140020754
movzx eax, byte [rbx + 0x179]
test al, al
jne 0x140020754
mov qword [rsp + 0x28], rcx
mov r14d, r15d
mov dword [rsp + 0x30], r12d
mov esi, edi
mov rcx, qword [rbx + 0x168]
cmp rcx, 0xffffffffffffffff
je 0x140020774
mov eax, esi
mov ebp, esi
add rax, rax
inc esi
mov qword [rsp + rax*8 + 0x28], rcx
mov dword [rsp + rax*8 + 0x30], r12d
test dword [rbx + 0x194], 0x2000
je 0x140020788
mov rcx, rbx
call fcn.14001ee30
test esi, esi
je 0x14002083b
or r8d, 0xffffffff
lea rcx, [rsp + 0x28]
mov edx, esi
call qword [sym.imp.WS2_32.dll_WSAPoll]
test eax, eax
jns 0x1400207d4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x14002083b
mov ecx, eax
call fcn.140027c70
mov r8, rax
lea rdx, str.poll_failed:__s_n
mov rcx, rbx
call fcn.1400285a0
mov edi, r15d
jmp 0x14002083b
cmp ebp, 0xffffffff
je 0x14002080d
movsxd rax, ebp
add rax, rax
movzx ecx, word [rsp + rax*8 + 0x32]
and cx, r12w
cmp r15w, cx
je 0x14002080d
nop
mov rcx, qword [rbx + 0x168]
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1400207f0
movzx eax, byte [rbx + 0x178]
test al, al
jne 0x1400207cf
cmp r14d, 0xffffffff
je 0x14002083b
movsxd rcx, r14d
add rcx, rcx
movzx edx, word [rsp + rcx*8 + 0x32]
and dx, r12w
cmp r15w, dx
je 0x14002083b
mov rcx, rbx
call fcn.14001f3a0
mov r15, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140028de0
add rsp, 0x70
pop rbx
ret
Function at 0x140022b10
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x40], 1
test rcx, rcx
je 0x140022b52
mov rcx, qword [rcx + 0x118]
lea r9, [rsp + 0x40]
mov edx, 6
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x38
ret
mov ecx, 2
call fcn.1400317b0
mov rcx, rax
lea r8, [0x1400900f0]
lea rax, [0x14008c8c8]
mov r9d, 0x234
lea rdx, [0x14008ca98]
mov qword [rsp + 0x20], rax
call fcn.140008f10
mov ecx, 2
call fcn.1400317b0
mov rcx, rax
call fcn.140031e50
call fcn.140033840
int3

Function at 0x140022ba0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x40], ebx
test rcx, rcx
je 0x140022bdf
mov rcx, qword [rcx + 0x118]
lea r9, [rsp + 0x40]
lea edx, [rbx + 6]
mov dword [rsp + 0x20], 4
lea r8d, [rbx + 1]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
mov ecx, 2
call fcn.1400317b0
mov rcx, rax
lea r8, [0x140090160]
lea rax, str.NULL___connection
mov r9d, 0x286
lea rdx, [0x14008cb18]
mov qword [rsp + 0x20], rax
call fcn.140008f10
mov ecx, 2
call fcn.1400317b0
mov rcx, rax
call fcn.140031e50
call fcn.140033840
int3
Function at 0x140028920
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rsi, r9
mov ecx, 0x18
mov rdi, r8
mov rbp, rdx
call fcn.14002e1e4
mov rbx, rax
test rax, rax
je 0x1400289b8
mov qword [rax], rsi
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
mov eax, 0xffffffff
mov qword [rbx + 0x10], rbp
cmp rdi, rax
jbe 0x140028989
call fcn.14002dfd0
mov rcx, rbx
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14002dff0
xor eax, eax
jmp 0x1400289c1
xor eax, eax
lea r8, [0x1400288d0]
mov qword [rsp + 0x28], rax
mov r9, rbx
mov edx, edi
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400339d4
mov qword [r14], rax
cmp rax, 0xffffffffffffffff
jne 0x1400289bc
mov rcx, rbx
call fcn.14002dff0
xor eax, eax
jmp 0x1400289c1
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14002bdb4
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14006be78]
xor ecx, ecx
lea r8, [0x14006be70]
lea rdx, str.FlsAlloc
call fcn.14002bbdc
mov rbx, rax
test rax, rax
je 0x14002bdf4
mov rcx, rax
call fcn.140029c6c
mov rcx, rdi
call rbx
jmp 0x14002bdfa
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002be5c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14006be88]
mov ecx, 2
lea r8, [0x14006be80]
lea rdx, str.FlsGetValue
call fcn.14002bbdc
mov rdi, rax
test rax, rax
je 0x14002be9d
mov rcx, rax
call fcn.140029c6c
mov ecx, ebx
call rdi
jmp 0x14002bea5
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002beb0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14006be90]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14006be88]
call fcn.14002bbdc
mov rsi, rax
test rax, rax
je 0x14002befc
mov rcx, rax
call fcn.140029c6c
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14002bf07
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140036c30
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140036a54
Function at 0x14004f010
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14004f0d4
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov qword [rsp + 0x30], rbx
mov rcx, qword [rcx + 0x28]
mov rdi, rdx
call fcn.14002dff0
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.14002910c
mov rbx, rax
test rax, rax
je 0x14004f0c5
movdqa xmm1, xmmword [str.wwwwwwwwwwwwwwww]
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov word [rbx + 0x14], ax
movups xmm0, xmmword [0x140088c38]
movups xmmword [rbx], xmm0
mov ecx, dword [0x140088c48]
mov dword [rbx + 0x10], ecx
mov ecx, 5
movzx eax, byte [0x140088c4c]
mov byte [rbx + 0x14], al
lea rax, [rbx + 0x10]
movdqu xmm0, xmmword [rbx]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
xor byte [rax], 0x77
lea rax, [rax + 1]
sub rcx, 1
jne 0x14004f093
mov rdx, rdi
mov rcx, rbx
call fcn.140037cdc
test eax, eax
mov rcx, rbx
cmove rcx, rdi
call fcn.140037c24
mov rcx, rbx
mov qword [rsi + 0x28], rax
call fcn.140028e0c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140050d90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x130
mov rax, qword [0x140088008]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, rcx
mov qword [rsp + 0x158], rdi
mov edi, edx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x100
call fcn.14002c100
lea rcx, [rsp + 0x20]
call fcn.140051010
xor r10d, r10d
test edi, edi
je 0x140050e09
mov rdx, rbx
mov r8d, r10d
mov r9d, edi
nop dword [rax]
nop dword [rax + rax]
movzx eax, r8b
lea rdx, [rdx + 1]
inc r8
movzx ecx, byte [rsp + rax + 0x20]
xor byte [rdx - 1], cl
sub r9, 1
jne 0x140050df0
mov r11d, r10d
test edi, edi
je 0x140050e72
mov qword [rsp + 0x150], rsi
mov r9, rbx
mov rsi, rdi
nop
lea eax, [r11 + 1]
movzx r11d, al
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea eax, [r10 + r8]
movzx r10d, al
movzx eax, byte [rcx + r10]
mov byte [rdx + r11], al
mov byte [rcx + r10], r8b
movzx eax, byte [rdx + r11]
add rax, r8
movzx eax, al
movzx ecx, byte [rsp + rax + 0x20]
xor byte [r9 - 1], cl
sub rsi, 1
jne 0x140050e20
mov rsi, qword [rsp + 0x150]
lea eax, [rdi - 1]
mov r8d, eax
add r8, rbx
xor byte [r8], dil
mov rdi, qword [rsp + 0x158]
test eax, eax
je 0x140050ea1
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 - 1]
dec eax
xor byte [rax + rbx], cl
test eax, eax
jne 0x140050e90
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140028de0
add rsp, 0x130
pop rbx
ret
Function at 0x140054f20
Capabilities:
Manipulate user privileges

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x4f]
sub rsp, 0x88
mov dword [0x140096144], ecx
mov dword [0x140096148], edx
mov byte [0x14009614c], r8b
test r8b, r8b
je 0x140054f51
mov eax, 0x400000
cmp ecx, 1
jne 0x140054f56
mov eax, 0x200000
imul eax, edx
add eax, 0x200000
movsxd rsi, eax
test r9b, r9b
je 0x1400550ea
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x80], r14
call fcn.140054e20
test eax, eax
jne 0x1400550a8
xor ebx, ebx
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 9]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
jne 0x1400550af
mov rcx, qword [rbp - 9]
lea rax, [rbp + 0x77]
mov r14d, 1
mov dword [rbp + 0x77], ebx
mov edx, r14d
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r9d, dword [rbp + 0x77]
test r9d, r9d
je 0x140054ff3
mov edx, r9d
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r9d, dword [rbp + 0x77]
mov rdi, rax
mov rcx, qword [rbp - 9]
lea rax, [rbp + 0x77]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x1400550af
xor eax, eax
lea r9, [rbp - 1]
mov r8d, 0xf0fff
mov qword [rbp + 0x17], rax
lea rdx, [rbp + 0x17]
mov qword [rbp + 0x1f], rax
xor ecx, ecx
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rax
call qword [sym.imp.ADVAPI32.dll_LsaOpenPolicy]
test eax, eax
jne 0x140055092
mov rdx, qword [rdi]
lea rax, str.SeLockMemoryPrivilege
mov rcx, qword [rbp - 1]
lea r8, [rbp + 7]
mov qword [rbp + 0xf], rax
mov r9d, r14d
mov dword [rbp + 7], 0x2c002a
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
call qword [sym.imp.ADVAPI32.dll_LsaAddAccountRights]
mov rcx, qword [rbp - 1]
test eax, eax
cmove ebx, r14d
call qword [sym.imp.ADVAPI32.dll_LsaClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1400550af
call fcn.140054e20
test eax, eax
je 0x1400550af
or dword [0x140096140], 1
mov r9d, 4
mov r8d, 0x20003000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov qword [0x140096150], rax
test rax, rax
jne 0x14005510a
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.140033780
mov qword [0x140096150], rax
mov al, 1
add rsp, 0x88
pop rsi
pop rbp
ret
or dword [0x140096140], 2
mov al, 1
add rsp, 0x88
pop rsi
pop rbp
ret
Function at 0x140057040
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140088008]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov eax, dword [rcx]
lea rdi, [rcx + 0x3c]
mov dword [rbp - 0x79], eax
lea rdx, [rbp - 0x39]
mov eax, dword [rcx + 4]
mov rbx, rcx
mov dword [rbp - 0x75], eax
xor r8d, r8d
mov eax, dword [rcx + 8]
mov dword [rbp - 0x71], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp - 0x6d], eax
mov eax, dword [rcx + 0x10]
mov dword [rbp - 0x69], eax
mov eax, dword [rcx + 0x14]
mov dword [rbp - 0x65], eax
mov eax, dword [rcx + 0x18]
mov dword [rbp - 0x61], eax
mov eax, dword [rcx + 0x1c]
mov dword [rbp - 0x5d], eax
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x59], eax
mov eax, dword [rcx + 0x24]
mov dword [rbp - 0x55], eax
mov eax, dword [rcx + 0x28]
mov dword [rbp - 0x51], eax
mov eax, dword [rcx + 0x2c]
mov dword [rbp - 0x4d], eax
mov eax, dword [rcx + 0x30]
mov dword [rbp - 0x49], eax
mov eax, dword [rcx + 0x34]
mov dword [rbp - 0x45], eax
mov eax, dword [rcx + 0x38]
lea rcx, [rbp - 0x79]
mov dword [rbp - 0x41], eax
mov eax, dword [rdi]
mov dword [rbp - 0x3d], eax
call fcn.1400583f0
mov r8d, 1
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1400583f0
mov r8d, 2
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1400583f0
mov r8d, 3
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1400583f0
mov r8d, 4
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1400583f0
mov r8d, 5
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1400583f0
mov r8d, 6
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1400583f0
mov r8d, 7
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1400583f0
mov r8d, 8
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.1400583f0
mov r8d, 9
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.1400583f0
lea rax, [rbp - 0x3d]
mov edx, reloc.WS2_32.dll_recv
cmp rbx, rax
ja 0x14005719e
xor ecx, ecx
lea rax, [rbp - 0x79]
cmp rdi, rax
jae 0x1400571e7
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbp - 0x69]
pxor xmm0, xmmword [rbp - 0x79]
movdqu xmmword [rbx], xmm0
movdqu xmm0, xmmword [rbx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmm0, xmmword [rbx + 0x20]
movdqu xmm1, xmmword [rbp - 0x59]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm0, xmmword [rbx + 0x30]
movdqu xmm1, xmmword [rbp - 0x49]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
mov rcx, rdx
cmp rcx, rdx
jae 0x140057210
lea r8, [rbp - 0x79]
sub r8, rbx
lea rax, [rbx + rcx*4]
sub rdx, rcx
nop word [rax + rax]
mov ecx, dword [r8 + rax]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140057200
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140028de0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14005cd60
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
mov r11, rcx
movaps xmmword [rsp], xmm6
movdqu xmm6, xmmword [rdx]
lea rdi, str.cw
pshufd xmm0, xmm6, 0x55
mov rbx, rdx
movd eax, xmm0
movdqu xmm5, xmmword [r11]
pshufd xmm0, xmm6, 0xff
mov r9d, eax
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
pxor xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
or r8d, ecx
ror eax, 8
xor eax, 8
mov ecx, r8d
ror ecx, 8
xor ecx, 8
movd xmm0, r8d
movd xmm2, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
movdqa xmm5, xmm6
or r9d, eax
pshufd xmm0, xmm1, 0xff
shl r9d, 8
mov eax, edx
shr rax, 8
movzx ecx, al
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
pxor xmm4, xmm6
movaps xmm6, xmmword [rsp]
movzx eax, byte [rcx + rdi]
or r9d, eax
movzx eax, dl
shl r9d, 8
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror eax, 8
ror ecx, 8
movd xmm0, r8d
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, eax
pxor xmm0, xmm4
movd xmm2, ecx
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pshufd xmm1, xmm3, 0xaa
pxor xmm0, xmm5
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret
Function at 0x14005d010
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
mov r11, rcx
movaps xmmword [rsp], xmm6
movdqu xmm6, xmmword [rdx]
lea rdi, str.cw
pshufd xmm0, xmm6, 0x55
mov rbx, rdx
movd eax, xmm0
movdqu xmm5, xmmword [r11]
pshufd xmm0, xmm6, 0xff
mov r9d, eax
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
pxor xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
or r8d, ecx
ror eax, 8
xor eax, 4
mov ecx, r8d
ror ecx, 8
xor ecx, 4
movd xmm0, r8d
movd xmm2, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
movdqa xmm5, xmm6
or r9d, eax
pshufd xmm0, xmm1, 0xff
shl r9d, 8
mov eax, edx
shr rax, 8
movzx ecx, al
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
pxor xmm4, xmm6
movaps xmm6, xmmword [rsp]
movzx eax, byte [rcx + rdi]
or r9d, eax
movzx eax, dl
shl r9d, 8
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror eax, 8
ror ecx, 8
movd xmm0, r8d
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, eax
pxor xmm0, xmm4
movd xmm2, ecx
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pshufd xmm1, xmm3, 0xaa
pxor xmm0, xmm5
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret
Function at 0x14005d2c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
mov r11, rcx
movaps xmmword [rsp], xmm6
movdqu xmm6, xmmword [rdx]
lea rdi, str.cw
pshufd xmm0, xmm6, 0x55
mov rbx, rdx
movd eax, xmm0
movdqu xmm5, xmmword [r11]
pshufd xmm0, xmm6, 0xff
mov r9d, eax
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
pxor xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
or r8d, ecx
ror eax, 8
xor eax, 2
mov ecx, r8d
ror ecx, 8
xor ecx, 2
movd xmm0, r8d
movd xmm2, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
movdqa xmm5, xmm6
or r9d, eax
pshufd xmm0, xmm1, 0xff
shl r9d, 8
mov eax, edx
shr rax, 8
movzx ecx, al
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
pxor xmm4, xmm6
movaps xmm6, xmmword [rsp]
movzx eax, byte [rcx + rdi]
or r9d, eax
movzx eax, dl
shl r9d, 8
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror eax, 8
ror ecx, 8
movd xmm0, r8d
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, eax
pxor xmm0, xmm4
movd xmm2, ecx
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pshufd xmm1, xmm3, 0xaa
pxor xmm0, xmm5
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret