Function at 0x467ba0
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70ae0d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x7b7fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
ja 0x467bda
mov edi, 2
jmp 0x467be8
mov eax, 0x18
cmp eax, esi
sbb edi, edi
neg edi
add edi, 3
lea eax, [edi + edi]
push 0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
call fcn.00458bc0
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
lea eax, [edi*8]
mov dword [ebp - 0x14], esi
mov dword [ebp + 0xc], 4
test esi, esi
je 0x467c84
test ebx, ebx
jne 0x467c2b
call fcn.0068bca3
mov dword [eax], 0x16
jmp 0x467c78
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x467c43
cmp eax, esi
jb 0x467c43
push esi
push ecx
push ebx
call fcn.00678240
add esp, 0xc
jmp 0x467c7d
push eax
push 0
push ebx
call fcn.00678c60
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x467c62
call fcn.0068bca3
mov dword [eax], 0x16
jmp 0x467c78
lea eax, [edi*8]
cmp eax, esi
jae 0x467c84
call fcn.0068bca3
mov dword [eax], 0x22
call fcn.00681d70
lea eax, [edi*8]
sub eax, esi
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00678c60
add esp, 0xc
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.0045d8d0
xor esi, esi
mov dword [ebp + 8], esi
push edi
mov edx, ebx
mov ecx, esi
call fcn.00467a50
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
push edi
mov esi, dword [edx*4 + 0x767bb8]
lea edx, [ebx + 4]
xor esi, dword [ecx*4 + 0x7677b8]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor esi, dword [ecx*4 + str.9g]
mov ecx, dword [ebp + 8]
xor esi, dword [eax*4 + 0x7673b8]
lea ecx, [ecx + 1]
call fcn.00467a50
mov ecx, eax
mov ebx, dword [ebp + 8]
shr ecx, 0x10
add esp, 8
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x767bb8]
xor edx, dword [ecx*4 + 0x7677b8]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + str.9g]
xor edx, dword [eax*4 + 0x7673b8]
mov eax, dword [ebp - 0x10]
rol edx, 8
mov eax, dword [eax + 0xbc]
lea ecx, [edx + esi]
mov dword [eax + ebx*4], ecx
lea ecx, [esi + edx*2]
mov eax, dword [ebp - 0x10]
mov esi, ebx
mov ebx, dword [ebp - 0x18]
rol ecx, 9
mov eax, dword [eax + 0xbc]
mov dword [eax + esi*4 + 4], ecx
add esi, 2
mov dword [ebp + 8], esi
cmp esi, 0x28
jb 0x467ca5
push 0
lea eax, [edi + edi]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00458bc0
lea ecx, [edi*8]
mov dword [ebp + 0xc], eax
add ecx, 0xfffffff8
xor esi, esi
add ecx, eax
mov dword [ebp + 8], ecx
nop word [eax + eax]
mov edx, dword [ebx + esi*8]
mov ecx, dword [ebx + esi*8 + 4]
call fcn.004677c0
mov ecx, dword [ebp + 8]
inc esi
mov dword [ecx], eax
sub ecx, 8
mov dword [ebp + 8], ecx
cmp esi, edi
jb 0x467d90
xor eax, eax
mov esi, 0x800
mov dword [ebp + 8], eax
mov edx, dword [ebp + 0xc]
mov ecx, eax
push edi
call fcn.00467a50
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
movzx ecx, bl
mov edx, dword [eax + 0x10cc]
mov ecx, dword [ecx*4 + 0x7673b8]
mov dword [esi + edx - 0x800], ecx
mov ecx, ebx
mov edx, dword [eax + 0x10cc]
mov eax, ebx
shr ecx, 8
movzx ecx, cl
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
mov ecx, dword [ecx*4 + 0x7677b8]
mov dword [esi + edx - 0x400], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x767bb8]
mov ecx, dword [edx + 0x10cc]
mov dword [esi + ecx], eax
mov ecx, dword [edx + 0x10cc]
mov eax, dword [ebx*4 + str.9g]
mov dword [esi + ecx + 0x400], eax
add esi, 4
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp esi, 0xc00
jb 0x467db6
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edi, edx
rep stosd dword es:[edi], eax
push edx
call fcn.0068c018
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edi, edx
rep stosd dword es:[edi], eax
push edx
call fcn.0068c018
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc