Function at 0x1000e355
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xf0]
sar eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
shr eax, 0x18
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 8]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add eax, 0x20
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
jne 0x1000e553
jmp 0x1000e687
mov eax, dword [ebp - 0x28]
shr eax, 0x18
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 0x28]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [eax*4 + 0x10028ff0]
xor eax, dword [ecx*4 + 0x100293f0]
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100297f0]
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10029bf0]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 4], eax
jmp 0x1000e40c
mov eax, dword [ebp - 0x28]
shr eax, 0x18
movzx eax, byte [eax + 0x10029ff0]
shl eax, 0x18
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 8
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
xor eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 8]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
movzx eax, byte [eax + 0x10029ff0]
shl eax, 0x18
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 8
xor eax, ecx
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
xor eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 0x18]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x18
movzx eax, byte [eax + 0x10029ff0]
shl eax, 0x18
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [ebp - 0x28]
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 8
xor eax, ecx
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
xor eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 0x14]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x18
movzx eax, byte [eax + 0x10029ff0]
shl eax, 0x18
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
shl ecx, 8
xor eax, ecx
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
movzx ecx, byte [ecx + 0x10029ff0]
xor eax, ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebp - 4]
ror ecx, 8
and ecx, 0xff00ff00
or eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
leave
ret