Function at 0x4284f0
Capabilities:
Encrypt data using twofish

Disassembly:
push 0xffffffffffffffff
push 0x66b468
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x44]
cmp ebx, 0x10
ja 0x42852c
mov dword [esp + 0x44], 2
jmp 0x42853e
mov eax, 0x18
cmp eax, ebx
sbb eax, eax
neg eax
add eax, 3
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x44]
add edi, edi
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
call fcn.00414250
add esp, 4
test edi, edi
jne 0x428561
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x428577
lea ecx, [edi*4]
push ecx
call fcn.004198a0
add esp, 4
mov dword [esp + 0x14], eax
mov esi, eax
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x40]
push ebx
add edi, edi
push edx
add edi, edi
mov dword [esp + 0x40], 0
push edi
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 4
call fcn.006111dc
sub edi, ebx
push edi
lea eax, [esi + ebx]
push 0
push eax
call fcn.0060fff0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041bd40
add esp, 0x20
xor ebx, ebx
jmp 0x4285c7
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
push edx
mov eax, ebx
call fcn.004283a0
mov ecx, eax
mov edx, eax
shr ecx, 0x18
mov edi, dword [ecx*4 + str.9g]
shr edx, 0x10
movzx edx, dl
xor edi, dword [edx*4 + 0x6a7ca0]
mov ecx, eax
shr ecx, 8
movzx edx, cl
xor edi, dword [edx*4 + 0x6a78a0]
mov ecx, dword [esp + 0x48]
movzx eax, al
xor edi, dword [eax*4 + 0x6a74a0]
push ecx
lea eax, [ebx + 1]
add esi, 4
call fcn.004283a0
mov ecx, eax
shr ecx, 0x10
movzx esi, cl
mov edx, eax
shr edx, 0x18
mov ecx, dword [edx*4 + str.9g]
xor ecx, dword [esi*4 + 0x6a7ca0]
mov edx, eax
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + 0x6a78a0]
movzx eax, al
xor ecx, dword [eax*4 + 0x6a74a0]
mov eax, dword [ebp + 0xbc]
add esp, 8
rol ecx, 8
lea edx, [ecx + edi]
mov dword [eax + ebx*4], edx
mov edx, dword [ebp + 0xbc]
lea ecx, [edi + ecx*2]
rol ecx, 9
mov dword [edx + ebx*4 + 4], ecx
add ebx, 2
cmp ebx, 0x28
jb 0x4285c3
mov esi, dword [esp + 0x18]
push esi
call fcn.00414250
xor edi, edi
add esp, 4
cmp esi, edi
jne 0x428692
mov dword [esp + 0x40], edi
jmp 0x4286a6
lea eax, [esi*4]
push eax
call fcn.004198a0
add esp, 4
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x44]
cmp esi, edi
jbe 0x4286e5
mov ecx, dword [esp + 0x40]
lea ebx, [ecx + esi*8 - 8]
jmp 0x4286c0
mov eax, dword [esp + 0x14]
mov edx, dword [eax + edi*8 + 4]
add eax, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edi*8]
push edx
call fcn.004280e0
mov dword [ebx], eax
inc edi
add esp, 4
sub ebx, 8
cmp edi, esi
jb 0x4286c0
xor ebx, ebx
mov edi, 0x800
jmp 0x4286f4
mov esi, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x44]
mov eax, ebx
call fcn.004283a0
mov edx, dword [ebp + 0x10cc]
movzx ecx, al
mov ecx, dword [ecx*4 + 0x6a74a0]
mov dword [edx + edi - 0x800], ecx
mov edx, eax
shr edx, 8
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x6a78a0]
mov edx, dword [ebp + 0x10cc]
mov dword [edx + edi - 0x400], ecx
mov edx, eax
shr edx, 0x10
movzx ecx, dl
mov edx, dword [ebp + 0x10cc]
mov ecx, dword [ecx*4 + 0x6a7ca0]
mov dword [edi + edx], ecx
mov edx, dword [ebp + 0x10cc]
shr eax, 0x18
mov eax, dword [eax*4 + str.9g]
mov dword [edx + edi + 0x400], eax
add edi, 4
add esp, 4
inc ebx
cmp edi, 0xc00
jb 0x4286f0
mov edx, esi
mov esi, dword [esp + 0x18]
mov edi, edx
xor eax, eax
mov ecx, esi
push edx
rep stosd dword es:[edi], eax
call fcn.0061588e
mov edx, dword [esp + 0x18]
mov edi, edx
xor eax, eax
mov ecx, esi
push edx
rep stosd dword es:[edi], eax
call fcn.0061588e
add esp, 8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc