joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x10], ecx
mov edi, dword [edi]
cmp edi, 0xf
jbe 0x409968
mov eax, 0xffffffdf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
test ecx, ecx
je 0x409a64
mov esi, dword [ebp + 0x14]
sub dword [ebp + 0x10], esi
mov edx, dword [ebp + 0xc]
nop dword [eax + eax]
dec ecx
mov dword [esp + 0x14], ecx
test edi, edi
jne 0x409a45
mov ecx, dword [esp + 0x10]
call fcn.004090e0
cmp dword [0x49411c], edi
jne 0x4099d8
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [0x494108], eax
mov eax, ecx
mov dword [0x49410c], esi
mov esi, dword [ebp + 0x14]
mov dword [0x494110], ecx
mov dword [0x494114], edx
mov dword [0x494118], eax
mov dword [0x49411c], 1
jmp 0x4099dd
mov eax, dword [0x494118]
test eax, 0x2000000
je 0x409a2c
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
movups xmm0, xmmword [ecx]
lea eax, [edx + eax*4]
mov ecx, dword [edx]
movaps xmm1, xmmword [eax + 8]
add eax, 0x18
pxor xmm1, xmm0
sub ecx, 1
je 0x409a1d
nop word [eax + eax]
aesenc xmm1, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x409a10
aesenclast xmm1, xmmword [eax]
mov eax, dword [ebp + 0xc]
movups xmmword [eax], xmm1
xor eax, eax
jmp 0x409a42
mov eax, dword [ebp + 0xc]
mov edx, eax
mov ecx, dword [esp + 0x10]
push eax
call fcn.00408700
add esp, 4
test eax, eax
jne 0x409a69
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov cl, byte [ecx + esi]
xor cl, byte [edi + edx]
inc edi
mov byte [esi], cl
and edi, 0xf
mov ecx, dword [esp + 0x14]
inc esi
mov dword [ebp + 0x14], esi
test ecx, ecx
jne 0x409980
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409a70
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edi
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
cmp eax, 0xf
jbe 0x409aa2
mov eax, 0xffffffdf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x18], 0
test edi, edi
je 0x409be0
mov ecx, edx
nop dword [eax]
nop dword [eax + eax]
mov edi, 0x10
test eax, eax
jne 0x409b8b
mov ecx, esi
call fcn.004090e0
cmp dword [0x49411c], 0
jne 0x409b18
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [0x494108], eax
mov eax, ecx
mov dword [0x49410c], esi
mov esi, dword [esp + 0x1c]
mov dword [0x494110], ecx
mov dword [0x494114], edx
mov dword [0x494118], eax
mov dword [0x49411c], 1
jmp 0x409b1d
mov eax, dword [0x494118]
mov edx, dword [ebp + 0xc]
test eax, 0x2000000
je 0x409b5c
mov eax, dword [esi + 4]
movups xmm0, xmmword [edx]
lea eax, [esi + eax*4]
mov ecx, dword [esi]
movaps xmm1, xmmword [eax + 8]
add eax, 0x18
pxor xmm1, xmm0
sub ecx, 1
je 0x409b4f
aesenc xmm1, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x409b42
aesenclast xmm1, xmmword [eax]
mov eax, dword [ebp + 0x10]
movups xmmword [eax], xmm1
jmp 0x409b70
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00408700
add esp, 4
test eax, eax
jne 0x409beb
mov edx, dword [ebp + 0xc]
mov eax, 3
mov ecx, dword [edx + eax*4]
bswap ecx
add ecx, 1
bswap ecx
mov dword [edx + eax*4], ecx
jne 0x409b8f
test eax, eax
je 0x409b8f
dec eax
jmp 0x409b75
sub edi, eax
jmp 0x409b97
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov esi, ecx
sub esi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
cmp edi, esi
cmovbe esi, edi
mov edi, dword [esp + 0x18]
add eax, dword [ebp + 0x10]
push esi
push eax
lea edx, [edi + edx]
lea ecx, [edi + ecx]
call fcn.00401aa0
mov ecx, dword [esp + 0x18]
add edi, esi
mov esi, dword [esp + 0x24]
xor eax, eax
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
cmp edi, ecx
jb 0x409ac0
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
add eax, edi
and eax, 0xf
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x40a2ac
push ebx
mov ebx, dword [ebp + 8]
push edi
mov eax, dword [0x494104]
xor eax, ecx
mov ecx, dword [0x494104]
xor ecx, eax
mov eax, dword [0x494104]
xor ecx, dword [ebp + 0x10]
xor eax, ecx
mov edi, eax
neg eax
shr edi, 1
neg edi
or edi, eax
shr edi, 0x1f
dec edi
cmp esi, edx
je 0x40a28e
test ebx, ebx
je 0x40a28e
mov ecx, edx
mov eax, esi
sub ecx, esi
mov dword [ebp - 0xc], ecx
nop word [eax + eax]
mov esi, dword [0x494104]
lea eax, [eax + 4]
mov edx, dword [ecx + eax - 4]
xor esi, edi
mov ecx, dword [eax - 4]
not esi
and ecx, esi
and edx, edi
or edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax - 4], edx
sub ebx, 1
jne 0x40a260
mov edx, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
lea eax, [ebx*4]
inc ecx
add edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
cmp ecx, dword [ebp + 0xc]
jb 0x40a222
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor edi, edi
mov esi, edx
test ebx, ebx
je 0x40a6db
sub eax, esi
mov dword [ebp + 8], eax
nop dword [eax + eax]
mov cl, byte [eax + esi]
lea esi, [esi + 1]
mov al, byte [esi - 1]
movzx edx, al
movzx eax, cl
xor edx, eax
mov eax, dword [ebp + 8]
or edi, edx
sub ebx, 1
jne 0x40a6c0
mov eax, edi
movzx ecx, di
pop edi
shr eax, 0x10
pop esi
or eax, ecx
pop ebx
pop ebp
ret

Function at 0x40a6f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push edi
mov edi, ecx
test edx, edx
je 0x40a7cf
mov ecx, edx
sub ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0xc], ecx
lea ebx, [edx - 1]
nop word [eax + eax]
mov esi, dword [0x494104]
mov edx, dword [0x494104]
xor esi, eax
xor edx, ecx
mov eax, edx
xor eax, esi
sub esi, edx
shr eax, 0x1f
xor eax, dword [0x494104]
mov ecx, eax
neg eax
shr ecx, 1
neg ecx
or ecx, eax
mov eax, dword [0x494104]
shr ecx, 0x1f
neg ecx
xor eax, ecx
and ecx, edx
not eax
and esi, eax
mov eax, dword [0x494104]
or esi, ecx
shr esi, 0x1f
xor eax, esi
mov esi, eax
neg eax
shr esi, 1
neg esi
or esi, eax
xor eax, eax
shr esi, 0x1f
neg esi
test ebx, ebx
je 0x40a7ad
nop dword [eax]
mov ch, byte [eax + edi]
mov cl, byte [eax + edi + 1]
mov edx, dword [0x494104]
movzx ebx, cl
xor edx, esi
movzx ecx, ch
not edx
and ebx, edx
and ecx, esi
or ebx, ecx
mov ecx, dword [ebp - 4]
mov byte [eax + edi], bl
inc eax
lea ebx, [ecx - 1]
cmp eax, ebx
jb 0x40a780
jmp 0x40a7b0
mov ecx, dword [ebp - 4]
movzx eax, byte [edi + ecx - 1]
and eax, esi
mov byte [edi + ecx - 1], al
mov eax, dword [ebp - 8]
inc eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
jb 0x40a720
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40de50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push esi
push edi
push 0x5c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.00447c10
add esp, 0xc
mov dword [ebp - 0x68], 0
mov edx, edi
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
push esi
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
call fcn.0040dce0
mov esi, eax
add esp, 4
test esi, esi
jne 0x40decb
mov edx, ebx
lea ecx, [ebp - 0x68]
call fcn.0040dd90
mov esi, eax
mov ecx, 0x5c
lea eax, [ebp - 0x68]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x40ded3
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444b60
mov esp, ebp
pop ebp
ret

Function at 0x40e7f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push esi
push edi
push 0x58
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.00447c10
add esp, 0xc
mov dword [ebp - 0x64], 0
mov edx, edi
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
push esi
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.0040e680
mov esi, eax
add esp, 4
test esi, esi
jne 0x40e864
mov edx, ebx
lea ecx, [ebp - 0x64]
call fcn.0040e730
mov esi, eax
mov ecx, 0x58
lea eax, [ebp - 0x64]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x40e870
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444b60
mov esp, ebp
pop ebp
ret
Function at 0x40f200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 8], edx
push esi
mov esi, ecx
push edi
cmp ebx, 8
jb 0x40f31a
mov eax, dword [esi + 0xc8]
mov ecx, 8
and eax, 7
sub ecx, eax
mov dword [esp + 0x14], ecx
je 0x40f2a5
test ecx, ecx
jle 0x40f27f
nop dword [eax + eax]
mov ecx, dword [esi + 0xc8]
mov eax, ecx
shr eax, 3
and ecx, 7
shl ecx, 3
lea edi, [esi + eax*8]
movzx eax, byte [edx]
cdq
call fcn.00465890
xor dword [edi], eax
dec ebx
xor dword [edi + 4], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
dec eax
inc dword [esi + 0xc8]
inc edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
test eax, eax
jg 0x40f240
mov eax, dword [esi + 0xc8]
xor edx, edx
movzx ecx, word [esi + 0xce]
div ecx
mov dword [esi + 0xc8], edx
test edx, edx
jne 0x40f2a1
mov ecx, esi
call fcn.0040e890
mov edx, dword [esp + 0x10]
cmp ebx, 8
jb 0x40f31a
mov eax, ebx
shr eax, 3
mov dword [esp + 0x14], eax
jmp 0x40f2c4
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0xc8]
mov edi, ecx
mov eax, dword [edx]
and ecx, 7
mov edx, dword [edx + 4]
shl ecx, 3
shr edi, 3
call fcn.00465890
xor dword [esi + edi*8], eax
sub ebx, 8
xor dword [esi + edi*8 + 4], edx
xor edx, edx
mov eax, dword [esi + 0xc8]
movzx ecx, word [esi + 0xce]
add eax, 8
div ecx
add dword [esp + 0x10], 8
mov dword [esi + 0xc8], edx
test edx, edx
jne 0x40f313
mov ecx, esi
call fcn.0040e890
sub dword [esp + 0x14], 1
jne 0x40f2c0
test ebx, ebx
je 0x40f372
nop
mov ecx, dword [esi + 0xc8]
dec ebx
mov eax, ecx
and ecx, 7
shr eax, 3
shl ecx, 3
lea edi, [esi + eax*8]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
cdq
call fcn.00465890
xor dword [edi], eax
xor dword [edi + 4], edx
xor edx, edx
mov eax, dword [esi + 0xc8]
movzx ecx, word [esi + 0xce]
inc eax
div ecx
inc dword [esp + 0x10]
mov dword [esi + 0xc8], edx
test edx, edx
jne 0x40f36e
mov ecx, esi
call fcn.0040e890
test ebx, ebx
jne 0x40f320
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410a70
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push esi
push edi
push 0x5c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.00447c10
add esp, 0xc
mov dword [ebp - 0x68], 0
mov edx, edi
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
push esi
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
call fcn.004108f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x410aeb
mov edx, ebx
lea ecx, [ebp - 0x68]
call fcn.004109a0
mov esi, eax
mov ecx, 0x5c
lea eax, [ebp - 0x68]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x410af3
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444b60
mov esp, ebp
pop ebp
ret

Function at 0x410b40
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
test edx, edx
je 0x410b4f
cmp edx, 1
je 0x410b4f
mov eax, 0xffffff8b
ret
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
test edx, edx
jne 0x410be7
mov dword [ecx + 0x10], 0xf3bcc908
xor eax, eax
mov dword [ecx + 0x14], 0x6a09e667
mov dword [ecx + 0x18], 0x84caa73b
mov dword [ecx + 0x1c], 0xbb67ae85
mov dword [ecx + 0x20], 0xfe94f82b
mov dword [ecx + 0x24], 0x3c6ef372
mov dword [ecx + 0x28], 0x5f1d36f1
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0xade682d1
mov dword [ecx + 0x34], 0x510e527f
mov dword [ecx + 0x38], 0x2b3e6c1f
mov dword [ecx + 0x3c], 0x9b05688c
mov dword [ecx + 0x40], 0xfb41bd6b
mov dword [ecx + 0x44], 0x1f83d9ab
mov dword [ecx + 0x48], 0x137e2179
mov dword [ecx + 0x4c], 0x5be0cd19
mov dword [ecx + 0xd0], edx
ret
mov dword [ecx + 0x10], 0xc1059ed8
xor eax, eax
mov dword [ecx + 0x14], 0xcbbb9d5d
mov dword [ecx + 0x18], 0x367cd507
mov dword [ecx + 0x1c], 0x629a292a
mov dword [ecx + 0x20], 0x3070dd17
mov dword [ecx + 0x24], 0x9159015a
mov dword [ecx + 0x28], 0xf70e5939
mov dword [ecx + 0x2c], 0x152fecd8
mov dword [ecx + 0x30], 0xffc00b31
mov dword [ecx + 0x34], 0x67332667
mov dword [ecx + 0x38], 0x68581511
mov dword [ecx + 0x3c], 0x8eb44a87
mov dword [ecx + 0x40], 0x64f98fa7
mov dword [ecx + 0x44], 0xdb0c2e0d
mov dword [ecx + 0x48], 0xbefa4fa4
mov dword [ecx + 0x4c], 0x47b5481d
mov dword [ecx + 0xd0], edx
ret
Function at 0x412170
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
movaps xmm1, xmmword [ecx + eax*4 + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [ecx]
add eax, 0x18
push esi
mov esi, dword [ebx + 8]
dec ecx
movups xmm0, xmmword [esi]
pxor xmm1, xmm0
test edx, edx
jne 0x4121d2
test ecx, ecx
je 0x4121bd
nop dword [eax + eax]
aesdec xmm1, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x4121b0
aesdeclast xmm1, xmmword [eax]
mov eax, dword [ebx + 0xc]
movups xmmword [eax], xmm1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test ecx, ecx
je 0x4121ed
nop word [eax + eax]
aesenc xmm1, xmmword [eax]
add eax, 0x10
sub ecx, 1
jne 0x4121e0
aesenclast xmm1, xmmword [eax]
mov eax, dword [ebx + 0xc]
pop esi
movups xmmword [eax], xmm1
xor eax, eax
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
shl eax, 4
add eax, edx
movaps xmm0, xmmword [eax]
sub eax, 0x10
movaps xmmword [ecx], xmm0
add ecx, 0x10
cmp eax, edx
jbe 0x4123b2
nop dword [eax + eax]
aesimc xmm0, xmmword [eax]
sub eax, 0x10
movaps xmmword [ecx], xmm0
lea ecx, [ecx + 0x10]
cmp eax, edx
ja 0x4123a0
movaps xmm0, xmmword [eax]
movaps xmmword [ecx], xmm0
pop ebp
ret
Function at 0x4123c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movaps xmm2, xmmword [ecx]
aeskeygenassist xmm0, xmm2, 1
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 2
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movaps xmmword [ecx + 0x10], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
movaps xmmword [ecx + 0x20], xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movaps xmmword [ecx + 0x30], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
movaps xmmword [ecx + 0x40], xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movaps xmmword [ecx + 0x50], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
movaps xmmword [ecx + 0x60], xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pxor xmm1, xmm0
pslldq xmm2, 4
movaps xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm1
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movaps xmmword [ecx + 0x70], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm2
movaps xmmword [ecx + 0x80], xmm2
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm0
movaps xmm3, xmm2
pxor xmm3, xmm1
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm0, xmm0, 0xff
pxor xmm0, xmm3
movaps xmmword [ecx + 0x90], xmm3
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmm1
pslldq xmm3, 4
pxor xmm0, xmm3
movaps xmmword [ecx + 0xa0], xmm0
ret
Function at 0x4125e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
movq xmm2, qword [ecx + 0x10]
movaps xmm1, xmmword [ecx]
aeskeygenassist xmm0, xmm2, 1
pshufd xmm3, xmm0, 0x55
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm2
movups xmmword [ecx + 0x18], xmm3
movaps xmm0, xmm1
movd dword [ecx + 0x28], xmm1
psrldq xmm0, 4
movd dword [ecx + 0x2c], xmm0
aeskeygenassist xmm0, xmm1, 2
pshufd xmm4, xmm0, 0x55
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pshufd xmm2, xmm4, 0xff
pxor xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm1
movups xmmword [ecx + 0x30], xmm4
movaps xmm0, xmm2
movd dword [ecx + 0x40], xmm2
psrldq xmm0, 4
movd dword [ecx + 0x44], xmm0
aeskeygenassist xmm0, xmm2, 4
pshufd xmm3, xmm0, 0x55
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm2
movaps xmm0, xmm1
movd dword [ecx + 0x58], xmm1
psrldq xmm0, 4
movd dword [ecx + 0x5c], xmm0
movups xmmword [ecx + 0x48], xmm3
aeskeygenassist xmm0, xmm1, 8
pshufd xmm4, xmm0, 0x55
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pshufd xmm2, xmm4, 0xff
pxor xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm1
movaps xmm0, xmm2
movd dword [ecx + 0x70], xmm2
psrldq xmm0, 4
movd dword [ecx + 0x74], xmm0
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm3, xmm0, 0x55
movups xmmword [ecx + 0x60], xmm4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm2
movups xmmword [ecx + 0x78], xmm3
movaps xmm0, xmm1
movd dword [ecx + 0x88], xmm1
psrldq xmm0, 4
movd dword [ecx + 0x8c], xmm0
aeskeygenassist xmm0, xmm1, 0x20
pshufd xmm4, xmm0, 0x55
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pslldq xmm3, 4
pxor xmm4, xmm3
pshufd xmm2, xmm4, 0xff
pxor xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm1
movaps xmm0, xmm2
movd dword [ecx + 0xa0], xmm2
psrldq xmm0, 4
movd dword [ecx + 0xa4], xmm0
movups xmmword [ecx + 0x90], xmm4
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm5, xmm0, 0x55
pxor xmm5, xmm4
pslldq xmm4, 4
pxor xmm5, xmm4
pslldq xmm4, 4
pxor xmm5, xmm4
pslldq xmm4, 4
pxor xmm5, xmm4
pshufd xmm3, xmm5, 0xff
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
movaps xmm0, xmm3
movd dword [ecx + 0xb8], xmm3
psrldq xmm0, 4
movd dword [ecx + 0xbc], xmm0
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0x55
movups xmmword [ecx + 0xa8], xmm5
pxor xmm1, xmm5
pslldq xmm5, 4
pxor xmm1, xmm5
pslldq xmm5, 4
pxor xmm1, xmm5
pslldq xmm5, 4
pxor xmm1, xmm5
pshufd xmm0, xmm1, 0xff
pxor xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm3
movd dword [ecx + 0xd0], xmm0
psrldq xmm0, 4
movups xmmword [ecx + 0xc0], xmm1
movd dword [ecx + 0xd4], xmm0
ret
Function at 0x412c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
mov edx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 8], eax
mov eax, esi
mov dword [ebp - 0x14], edx
sub ecx, eax
push edi
mov edx, 4
mov dword [ebp - 4], ecx
xor edi, edi
sub ebx, eax
sub edx, eax
nop word [eax + eax]
mov eax, dword [ebx + esi]
lea esi, [esi + 4]
xor eax, dword [esi - 4]
add edi, 4
mov dword [ecx + esi - 4], eax
lea eax, [edx + esi]
cmp eax, 8
jbe 0x412c90
mov edx, 8
mov eax, edx
sub eax, edi
mov dword [ebp - 0x18], eax
cmp edi, edx
jae 0x412d72
cmp eax, 0x20
jb 0x412d52
mov eax, dword [ebp - 0x14]
lea esi, [edi + eax]
lea ecx, [eax + 7]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea ecx, [edi + eax]
add eax, 7
cmp esi, eax
ja 0x412ce6
cmp dword [ebp - 0xc], ecx
jae 0x412d4d
mov esi, dword [ebp - 8]
lea eax, [esi + 7]
cmp dword [ebp - 0x10], eax
ja 0x412cf9
lea eax, [edi + esi]
cmp dword [ebp - 0xc], eax
jae 0x412d4d
mov eax, dword [ebp - 0x18]
and eax, 0x1f
sub edx, eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x18], edx
sub esi, dword [ebp - 0x14]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
movups xmm0, xmmword [ecx]
add edi, 0x20
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + ebx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx + esi - 0x20], xmm1
movups xmm1, xmmword [edx + eax - 0x20]
movups xmm0, xmmword [ecx - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edi, dword [ebp - 0x18]
jb 0x412d16
mov edx, 8
jmp 0x412d54
mov esi, dword [ebp - 4]
jmp 0x412d54
mov esi, ecx
cmp edi, 8
jae 0x412d72
mov eax, dword [ebp + 8]
add eax, edi
sub edx, edi
mov cl, byte [eax + ebx]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x412d60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
push edi
mov edi, ecx
cmp esi, 0x80
je 0x41644d
cmp esi, 0xc0
je 0x41644d
cmp esi, 0x100
je 0x41644d
pop edi
mov eax, 0xffffffec
pop esi
pop ebp
ret
push ebx
push ecx
mov edx, esi
mov ecx, eax
call fcn.004156e0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41646c
mov eax, dword [ebx + 4]
and eax, 0x1f
cmp eax, 0x10
je 0x416476
mov eax, 0xffffffec
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, edi
call fcn.00415750
mov edx, ebx
mov ecx, edi
call fcn.004157b0
test eax, eax
jne 0x416471
mov ecx, dword [edi]
test ecx, ecx
jne 0x41649a
pop ebx
pop edi
mov eax, 0xffff9f00
pop esi
pop ebp
ret
test dword [ecx + 4], 0x2000000
jne 0x4164b2
mov eax, dword [ecx + 4]
shr eax, 2
and eax, 0x3c0
cmp eax, esi
jne 0x416490
mov dword [edi + 4], esi
mov dword [edi + 8], 1
mov eax, dword [ecx + 4]
shr eax, 0x1a
and eax, 0x1f
push esi
push dword [ebp + 8]
mov eax, dword [eax*4 + 0x4846a0]
push dword [edi + 0x3c]
mov eax, dword [eax + 0x20]
call eax
add esp, 0xc
test eax, eax
jne 0x416471
pop ebx
mov ecx, edi
pop edi
pop esi
pop ebp
jmp fcn.00416270