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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d238d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x78d5fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
push esi
call dword [eax + 0x14]
cmp esi, 0x10
ja 0x69d3d2
mov ebx, 2
jmp 0x69d3e0
mov eax, 0x18
cmp eax, esi
sbb ebx, ebx
neg ebx
add ebx, 3
lea eax, [ebx + ebx]
push eax
lea ecx, [ebp - 0x28]
call fcn.0069c6a0
push esi
push dword [ebp + 8]
mov esi, dword [ebp - 0x20]
lea eax, [ebx + ebx]
push eax
push esi
push 0
mov dword [ebp - 4], 0
call fcn.00699490
add esp, 0x14
lea eax, [esi + 4]
xor edx, edx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
push ebx
push esi
push edx
call fcn.0069d730
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
push ebx
mov esi, dword [edx*4 + 0x72da40]
push dword [ebp + 8]
xor esi, dword [ecx*4 + 0x72d640]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor esi, dword [ecx*4 + str.9g]
xor esi, dword [eax*4 + 0x72d240]
mov eax, dword [ebp + 0xc]
inc eax
push eax
call fcn.0069d730
mov ecx, eax
add esp, 0x18
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x72da40]
xor edx, dword [ecx*4 + 0x72d640]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + str.9g]
xor edx, dword [eax*4 + 0x72d240]
mov eax, dword [edi + 0xbc]
mov edi, dword [ebp + 0xc]
rol edx, 8
lea ecx, [edx + esi]
mov dword [eax + edi*4], ecx
lea ecx, [esi + edx*2]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x20]
rol ecx, 9
mov eax, dword [edi + 0xbc]
mov dword [eax + edx*4 + 4], ecx
add edx, 2
mov dword [ebp + 0xc], edx
cmp edx, 0x28
jb 0x69d414
lea eax, [ebx + ebx]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0069c6a0
mov edi, dword [ebp - 0x14]
xor esi, esi
add edi, 0xfffffff8
lea edi, [edi + ebx*8]
mov eax, dword [ebp - 0x20]
push dword [eax + esi*8]
mov eax, dword [ebp + 8]
push dword [eax + esi*8]
call fcn.0069d100
inc esi
mov dword [edi], eax
add esp, 8
lea edi, [edi - 8]
cmp esi, ebx
jb 0x69d4e6
xor esi, esi
mov edi, 0x800
nop dword [eax + eax]
mov eax, esi
mov ecx, ebx
shl eax, 8
or eax, esi
shl eax, 8
or eax, esi
shl eax, 8
or eax, esi
sub ecx, 2
je 0x69d5d0
sub ecx, 1
je 0x69d585
sub ecx, 1
jne 0x69d661
mov ecx, eax
shr ecx, 0x18
movzx edx, byte [ecx + 0x72d140]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x72d040]
xor edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx eax, al
movzx ecx, byte [ecx + 0x72d040]
xor edx, ecx
movzx eax, byte [eax + 0x72d140]
shl edx, 8
xor edx, eax
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + 0x18]
mov eax, edx
mov ecx, eax
shr ecx, 0x18
movzx edx, byte [ecx + 0x72d040]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x72d040]
xor edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx eax, al
movzx ecx, byte [ecx + 0x72d140]
xor edx, ecx
movzx eax, byte [eax + 0x72d140]
shl edx, 8
xor edx, eax
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + 0x10]
mov eax, edx
mov ecx, eax
shr ecx, 0x18
movzx edx, byte [ecx + 0x72d140]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x72d040]
xor edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
shl edx, 8
movzx ecx, byte [ecx + 0x72d140]
movzx eax, byte [eax + 0x72d040]
xor edx, ecx
shl edx, 8
xor edx, eax
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + 8]
mov eax, edx
mov ecx, edx
shr ecx, 0x10
shr eax, 0x18
movzx ecx, cl
movzx eax, byte [eax + 0x72d140]
movzx ecx, byte [ecx + 0x72d140]
shl eax, 8
xor eax, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl eax, 8
movzx ecx, byte [ecx + 0x72d040]
xor eax, ecx
movzx ecx, dl
shl eax, 8
movzx ecx, byte [ecx + 0x72d040]
xor eax, ecx
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx]
mov edx, dword [ebp - 0x10]
inc esi
movzx ecx, al
mov edx, dword [edx + 0x10cc]
mov ecx, dword [ecx*4 + 0x72d240]
mov dword [edx + edi - 0x800], ecx
mov ecx, eax
mov edx, dword [ebp - 0x10]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx + 0x10cc]
mov ecx, dword [ecx*4 + 0x72d640]
mov dword [edx + edi - 0x400], ecx
mov ecx, eax
mov edx, dword [ebp - 0x10]
shr ecx, 0x10
movzx ecx, cl
shr eax, 0x18
mov edx, dword [edx + 0x10cc]
mov ecx, dword [ecx*4 + 0x72da40]
mov dword [edi + edx], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + str.9g]
mov ecx, dword [ecx + 0x10cc]
mov dword [ecx + edi + 0x400], eax
add edi, 4
cmp edi, 0xc00
jb 0x69d510
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edi, edx
rep stosd dword es:[edi], eax
push edx
mov byte [ebp - 4], 1
call fcn.0061ae00
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov edi, edx
rep stosd dword es:[edi], eax
push edx
mov dword [ebp - 4], 2
call fcn.0061ae00
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