Function at 0x5aa8e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, str.srcciphers_twofish_twofish.c
test esi, esi
jne 0x5aa90d
push 0x1e2
push edi
push str.pt___NULL
call fcn.005accb1
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x5aa926
push 0x1e3
push edi
push str.ct___NULL
call fcn.005accb1
add esp, 0xc
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x5aa940
push 0x1e4
push edi
push str.skey___NULL
call fcn.005accb1
add esp, 0xc
push 4
pop edi
push edi
lea eax, [ebp + 8]
push esi
push eax
call fcn.00643300
push edi
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00643300
push edi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00643300
push edi
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00643300
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x1020]
xor eax, dword [ebx + 0x1000]
add esp, 0x30
mov edx, dword [ebp - 0x14]
xor edx, dword [ebx + 0x1004]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebx + 0x1008]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebx + 0x100c]
push 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
pop edi
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov edx, dword [ebx + ecx*4 + 0xc00]
mov ecx, dword [ebp - 0xc]
xor edx, dword [ebx + eax*4 + 0x800]
mov eax, ecx
shr eax, 0x18
xor edx, dword [ebx + eax*4]
movzx eax, cl
xor edx, dword [ebx + eax*4 + 0x400]
mov eax, dword [ebp + 8]
mov ecx, eax
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov ecx, dword [ebx + ecx*4 + 0xc00]
xor ecx, dword [ebx + eax*4 + 0x800]
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
xor ecx, dword [ebx + eax*4 + 0x400]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [ebx + eax*4]
mov eax, dword [esi]
add ecx, edx
add eax, ecx
xor eax, dword [ebp - 4]
ror eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
rol eax, 1
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
add eax, ecx
add eax, edx
mov edx, dword [ebp - 8]
xor edx, eax
mov eax, edx
mov dword [ebp - 0x10], edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 8], edx
mov edx, dword [ebx + ecx*4 + 0xc00]
mov ecx, dword [ebp - 8]
xor edx, dword [ebx + eax*4 + 0x800]
mov eax, ecx
shr eax, 0x18
xor edx, dword [ebx + eax*4]
movzx eax, cl
xor edx, dword [ebx + eax*4 + 0x400]
mov eax, dword [ebp - 4]
mov ecx, eax
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov ecx, dword [ebx + ecx*4 + 0xc00]
xor ecx, dword [ebx + eax*4 + 0x800]
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
xor ecx, dword [ebx + eax*4 + 0x400]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [ebx + eax*4]
mov eax, dword [esi + 8]
add ecx, edx
add eax, ecx
xor eax, dword [ebp + 8]
ror eax, 1
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
rol eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
lea esi, [esi + 0x10]
add eax, ecx
add eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
sub edi, 1
jne 0x5aa9ba
mov eax, dword [ebp + 0x10]
mov esi, dword [ebx + 0x1014]
mov edi, dword [ebx + 0x1018]
mov ebx, dword [ebx + 0x101c]
mov eax, dword [eax + 0x1010]
xor ebx, edx
xor eax, dword [ebp - 4]
xor esi, dword [ebp - 8]
xor edi, dword [ebp + 8]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push 4
push eax
push dword [ebp + 0xc]
call fcn.00643300
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push 4
push eax
lea eax, [esi + 4]
push eax
call fcn.00643300
push 4
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push eax
lea eax, [esi + 8]
push eax
call fcn.00643300
push 4
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [esi + 0xc]
push eax
call fcn.00643300
add esp, 0x30
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret