Function at 0x46fb8c
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 0x46fba1
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46fb9a
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 0x46fc57
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x484704]
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 + 0x484604]
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 + 0x484604]
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 + 0x484704]
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 0x46fcd2
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x484704]
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 + 0x484704]
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 + 0x484604]
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 + 0x484604]
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 + 0x484604]
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 + 0x484704]
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 + 0x484604]
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 + 0x484704]
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 + 0x484604]
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 + 0x484604]
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 + 0x484704]
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 + 0x484704]
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 + 0x484804]
mov edx, dword [ebp - 0x14]
xor eax, dword [edx*4 + 0x484c04]
mov edx, dword [ebp - 0x18]
xor eax, dword [edx*4 + 0x485004]
mov edx, dword [ebp - 0x1c]
xor eax, dword [edx*4 + 0x485404]
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