joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006d850
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test dword [rdx + 0x58], 0x1000000
lea rdi, [rdx + 0x80]
mov rbx, rdx
mov rsi, rcx
je 0x14006d89b
mov qword [rdx + 0x238], 0
lea rcx, [0x14006d610]
mov rdx, rdi
mov r8d, select
call qword [sym.imp.KERNEL32.DLL_QueueUserWorkItem]
jmp 0x14006d94e
lea rcx, [rdi + 0x40]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
test dword [rdx + 0x58], 0x80000
je 0x14006d8be
mov rax, qword [rdi + 0x70]
or rax, 1
mov qword [rdi + 0x58], rax
mov qword [rsp + 0x20], rcx
lea rdx, [0x140150c25]
mov rcx, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x14006d8ee
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x14006d952
test dword [rbx + 0x58], 0x80000
je 0x14006d9a9
cmp qword [rdi + 0x70], 0
jne 0x14006d91f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventA]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x14006d9e2
cmp qword [rdi + 0x78], 0xffffffffffffffff
lea rcx, [rdi + 0x78]
jne 0x14006d9a9
mov rdx, qword [rdi + 0x58]
lea r8, [0x1400695a0]
mov dword [rsp + 0x28], 4
mov r9, rdi
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
test eax, eax
jne 0x14006d9a9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jg 0x14006d964
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x14006d972
call qword [sym.imp.KERNEL32.DLL_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x68], 0
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x14006d99f
mov rax, qword [rax + 0x68]
mov qword [rdi + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x14006d9c8
mov qword [rdi + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x14006d9c8
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14006d9c8
xor r9d, r9d
lea rdx, [0x14006e3c0]
lea r8d, [r9 + 0x32]
call fcn.14006a790
or dword [rbx + 0x58], 0x10000
inc dword [rbx + 0x78]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.14006ee80
int3
Function at 0x14006db10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x30]
mov edi, r9d
mov edx, r8d
lea r8, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [rbx + 0x68]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14006dbcf
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14006dbcf
mov rcx, qword [rbx + 0x118]
lea r9, [rsp + 0x70]
cmp edi, eax
mov qword [rsp + 0x20], 0
cmova edi, eax
mov r8d, edi
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x14006dbb1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov r8d, eax
call fcn.14006da70
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov edx, dword [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
lea r8, [rsp + 0x30]
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x1400701e0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
push rsi
sub rsp, 0x38
lea rcx, str.UV_THREADPOOL_SIZE
mov dword [0x140150d08], 4
call fcn.1400b2ad0
test rax, rax
je 0x14007020c
mov rcx, rax
call fcn.1400b5648
jmp 0x140070212
mov eax, dword [0x140150d08]
test eax, eax
jne 0x14007021d
mov eax, 1
jmp 0x140070227
mov ecx, 0x400
cmp eax, ecx
cmova eax, ecx
xor esi, esi
mov dword [0x140150d08], eax
lea rbx, [0x140150d78]
mov qword [0x140150da0], rbx
cmp eax, 4
jbe 0x140070275
mov ecx, eax
shl rcx, 3
test rcx, rcx
je 0x140070255
call qword [fcn.1400ad9b4]
jmp 0x140070258
mov rax, rsi
mov qword [0x140150da0], rax
test rax, rax
jne 0x140070275
mov dword [0x140150d08], 4
mov qword [0x140150da0], rbx
mov qword [rsp + 0x58], rbp
lea rcx, [0x140150d10]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.DLL_InitializeConditionVariable]
lea rcx, [0x140150d50]
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
lea rax, [0x140150df0]
xor r9d, r9d
mov qword [0x140150df0], rax
xor edx, edx
mov qword [0x140150df8], rax
xor ecx, ecx
lea rax, [0x140150de0]
mov r8d, 0x7fffffff
mov qword [0x140150de0], rax
mov qword [0x140150de8], rax
lea rax, [0x140150db0]
mov qword [0x140150db0], rax
mov qword [0x140150db8], rax
call qword [sym.imp.KERNEL32.DLL_CreateSemaphoreA]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140070314
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14006ef30
test eax, eax
jne 0x140070418
mov eax, dword [0x140150d08]
mov ebp, esi
test eax, eax
je 0x1400703ee
lea r15, [0x14006ff50]
nop dword [rax + rax]
mov rax, qword [0x140150da0]
mov ecx, ebp
lea rbx, [rax + rcx*8]
mov ecx, 0x18
call qword [fcn.1400ad9b4]
mov r14, rax
test rax, rax
je 0x140070418
mov qword [rax], r15
lea r8, [0x14006bfa0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov r9, r14
mov qword [r14 + 8], rax
xor edx, edx
mov dword [rsp + 0x20], 4
xor ecx, ecx
call fcn.1400b2f2c
test rax, rax
jne 0x1400703a9
call fcn.1400b55fc
mov edi, dword [rax]
call fcn.1400b55fc
mov rcx, r14
mov ebx, dword [rax]
call qword [fcn.1400ad6c0]
call fcn.1400b55fc
mov dword [rax], ebx
test edi, edi
jne 0x140070418
jmp 0x1400703b9
mov qword [rbx], rax
mov rcx, rax
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [0x140150d08]
inc ebp
cmp ebp, eax
jb 0x140070330
test eax, eax
je 0x1400703ee
nop dword [rax]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x140070418
inc esi
cmp esi, dword [0x140150d08]
jb 0x1400703d0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x140070418
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x38
pop rsi
pop rbx
ret
call fcn.1400b4fc0
int3
Function at 0x140070660
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x14014a1f8]
xor rax, rsp
mov qword [rsp + 0x460], rax
xorps xmm0, xmm0
mov ebx, 2
movups xmmword [0x1403d9eb0], xmm0
xor ecx, ecx
mov word [0x1403d9eb0], bx
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [0x1403d9eb4]
mov word [0x1403d9eb2], ax
lea rcx, str.0.0.0.0
call fcn.14006f7e0
test eax, eax
jne 0x1400708fa
lea r8, [0x1403d9ec0]
xor edx, edx
lea rcx, [0x140133314]
call fcn.1400678d0
test eax, eax
jne 0x1400708fa
lea ecx, [rbx + 0x41]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x140070854
mov ecx, 0x202
lea rdx, [rsp + 0x2c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14007086d
mov qword [rsp + 0x480], rdi
xor r8d, r8d
mov edi, 1
mov ecx, ebx
mov edx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140070787
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14007087c
mov eax, dword [0x1403d9ee0]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x1403d9ee0], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x140070891
jmp 0x1400707ae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x1400708e5
cmp eax, 0x273a
jbe 0x1400708e5
cmp eax, 0x2740
jae 0x1400708e5
xor r8d, r8d
mov edx, edi
lea ecx, [r8 + 0x17]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140070825
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400708a6
mov eax, dword [0x1403d9edc]
mov rcx, rbx
test dword [rsp + 0x40], 0x20000
cmove eax, edi
mov dword [0x1403d9edc], eax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x1400708bb
jmp 0x14007084c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x1400708d0
cmp eax, 0x273a
jbe 0x1400708d0
cmp eax, 0x2740
jae 0x1400708d0
mov rdi, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x470
pop rbx
ret
lea rdx, str.WSAStartup
mov ecx, eax
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.getsockopt
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.closesocket
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.14006ee80
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, str.socket
call fcn.14006ee80
int3
call fcn.1400b4fc0
int3
Function at 0x140080080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x14014a1f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, str.HWLOC_PCI_LOCALITY
call fcn.1400b2ad0
mov rbx, rax
test rax, rax
je 0x140080171
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x2fc], 1
call fcn.1400bf53c
mov edi, eax
test eax, eax
js 0x140080161
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.1400bebac
test eax, eax
jne 0x140080158
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x140080137
inc eax
movsxd rcx, eax
call fcn.1400ad9b4
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
mov rbx, rax
call fcn.1400b63f8
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x140080126
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.1400803d0
mov rcx, rbx
call fcn.1400ad6c0
mov ecx, edi
call fcn.1400b69e0
jmp 0x14008016c
mov ecx, 2
call fcn.1400adadc
mov r9d, dword [rsp + 0x34]
lea rdx, str.Ignoring_HWLOC_PCI_LOCALITY_file___s_too_large___lu_bytes__n
mov rcx, rax
mov r8, rbx
call fcn.140005070
mov ecx, edi
call fcn.1400b69e0
jmp 0x14008016c
mov rdx, rbx
mov rcx, rsi
call fcn.1400803d0
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008c170
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x140082180
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [0x14014a068]
cmp eax, 1
jbe 0x1400821c9
mov rdx, qword [0x14014d3c0]
test rdx, rdx
je 0x1400821c1
lea ecx, [rax - 1]
call rdx
movzx ecx, ax
mov eax, dword [0x14014a068]
shl eax, 6
add eax, 0xffffffc0
add eax, ecx
add rsp, 0x58
ret
shl eax, 6
add rsp, 0x58
ret
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140086b10
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
sub rsp, 0x78
mov rax, qword [0x14014a1f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [rcx], 0x2d
mov r13, r8
mov r12, rdx
jne 0x140086b3f
cmp byte [rcx + 1], 0
jne 0x140086b3f
xor eax, eax
jmp 0x140086b44
sbb eax, eax
or eax, 1
mov qword [rsp + 0xb8], rsi
lea rbx, str._dev_stdin
test eax, eax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r14
lea rdx, [0x14011714c]
cmovne rbx, rcx
mov qword [rsp + 0x60], r15
mov rcx, rbx
call fcn.1400b3714
mov rbp, rax
test rax, rax
je 0x140086c59
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov edi, 0x1000
call fcn.1400beca0
test eax, eax
jne 0x140086bae
mov eax, 0x8000
test word [rsp + 0x26], ax
je 0x140086bae
mov eax, dword [rsp + 0x34]
inc eax
movsxd rdi, eax
lea rcx, [rdi + 1]
call fcn.1400ad9b4
mov rsi, rax
test rax, rax
je 0x140086c51
mov r9, rbp
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400b43c8
mov r15, rax
mov byte [rax + rsi], 0
cmp rax, rdi
jne 0x140086c31
nop dword [rax]
nop word [rax + rax]
add rdi, rdi
mov rcx, rsi
lea rdx, [rdi + 1]
call fcn.1400ad6b8
mov r14, rax
test rax, rax
je 0x140086c49
mov rbx, rdi
lea rcx, [rax + r15]
shr rbx, 1
mov r9, rbp
mov r8, rbx
mov edx, 1
mov rsi, rax
call fcn.1400b43c8
add r15, rax
mov byte [rsi + r15], 0
cmp rax, rbx
je 0x140086bf0
mov rcx, rbp
call fcn.1400b3b14
lea rax, [r15 + 1]
mov qword [r12], rsi
mov qword [r13], rax
xor eax, eax
jmp 0x140086c5e
mov rcx, rsi
call fcn.1400ad6c0
mov rcx, rbp
call fcn.1400b3b14
mov eax, 0xffffffff
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x78
pop r13
pop r12
pop rbp
pop rbx
ret

Function at 0x14008fb88
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
je 0x14008fb9b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14009019c
lea rdx, [0x140147630]
lea rcx, [rsp + 0x20]
call fcn.1400ab0e0
int3

Function at 0x14009a3e4
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14014e368]
xor edx, edx
jmp fcn.14008fb88

Function at 0x14009ad70
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14014e368]
jmp fcn.14008fb88
Function at 0x1400a692c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400a69e8]
mov r9, qword [r9 + 8]
jmp fcn.140097de8

Function at 0x1400a69c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400a69f8]
mov r9, qword [r9 + 8]
jmp fcn.140097de8

Function at 0x1400be250
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400be07c
Function at 0x1400f3410
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 xmm2, r8d
movd xmm0, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq 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 xmm2, r8d
movd xmm1, eax
punpckldq xmm2, xmm1
movd xmm0, ecx
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
pxor xmm0, xmm4
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xaa
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret
Function at 0x1400f36c0
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 xmm2, r8d
movd xmm0, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq 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 xmm2, r8d
movd xmm1, eax
punpckldq xmm2, xmm1
movd xmm0, ecx
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
pxor xmm0, xmm4
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xaa
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret
Function at 0x1400f3970
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 xmm2, r8d
movd xmm0, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq 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 xmm2, r8d
movd xmm1, eax
punpckldq xmm2, xmm1
movd xmm0, ecx
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
pxor xmm0, xmm4
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xaa
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret