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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call section..text
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40fe1c
mov eax, dword [ebp - 0x14]
jmp 0x4101fe
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xf0]
shl edx, 2
mov dword [ebp - 0xc], edx
jmp 0x40fe4c
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 4
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x40ff11
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 4]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 8]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [esi + edx*4 + 0xc]
mov dword [ecx + eax*4 + 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x40fe3a
mov dword [ebp - 8], 1
jmp 0x40ff23
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0xf0]
jge 0x4101fc
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 4], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx]
shr ecx, 0x18
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + ecx]
shr ecx, 0x10
and ecx, 0xff
mov eax, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
mov ecx, dword [edx*4 + 0x5e8e88]
xor ecx, dword [eax*4 + 0x5e8a88]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax]
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
xor ecx, dword [edx*4 + 0x5e8688]
mov eax, 4
imul edx, eax, 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + edx]
and edx, 0xff
mov eax, dword [edx*4 + str.ccccwwww]
and eax, 0xff
xor ecx, dword [eax*4 + 0x5e8288]
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 4]
mov dword [edx + eax], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax]
shr edx, 0x18
mov eax, dword [edx*4 + str.ccccwwww]
and eax, 0xff
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
mov eax, dword [eax*4 + 0x5e8e88]
xor eax, dword [edx*4 + 0x5e8a88]
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x5e8688]
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x5e8288]
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax]
shr edx, 0x18
mov eax, dword [edx*4 + str.ccccwwww]
and eax, 0xff
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
mov eax, dword [eax*4 + 0x5e8e88]
xor eax, dword [edx*4 + 0x5e8a88]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x5e8688]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x5e8288]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + ecx], eax
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx]
shr eax, 0x18
mov ecx, dword [eax*4 + str.ccccwwww]
and ecx, 0xff
mov edx, 4
imul eax, edx, 3
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax]
shr eax, 0x10
and eax, 0xff
mov edx, dword [eax*4 + str.ccccwwww]
and edx, 0xff
mov eax, dword [ecx*4 + 0x5e8e88]
xor eax, dword [edx*4 + 0x5e8a88]
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx]
shr edx, 8
and edx, 0xff
mov ecx, dword [edx*4 + str.ccccwwww]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5e8688]
mov edx, 4
imul ecx, edx, 3
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx]
and ecx, 0xff
mov edx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff
xor eax, dword [edx*4 + 0x5e8288]
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + edx], eax
jmp 0x40ff1a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret