Function at 0x4aa8a8
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x4aa8bd
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4aa8b6
mov edx, esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax - 4], 0x20
jne 0x4aa973
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax - 4], 0x18
jl 0x4aa9ee
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x4e2f24]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x4e3024]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x4e3124]
mov edx, dword [ebp - 0x14]
xor eax, dword [edx*4 + 0x4e3524]
mov edx, dword [ebp - 0x18]
xor eax, dword [edx*4 + 0x4e3924]
mov edx, dword [ebp - 0x1c]
xor eax, dword [edx*4 + 0x4e3d24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret