Function at 0x6d5fe0
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, 0x876730
mov ebp, 1
lea ecx, [esi + 0x1000]
dec eax
sub ebp, ecx
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
jmp 0x6d6018
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
movsx ebx, word [esp + 0x2c]
add ebp, ecx
mov edi, dword [esp + 0x28]
add ecx, 4
mov eax, dword [eax + ebp]
mov dword [esp + 0x18], eax
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x24]
cdq
idiv ebx
xor eax, eax
mov al, byte [edx + edi]
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, ebp
shl edi, 0x18
xor edi, edx
cdq
idiv ebx
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [ecx - 4], edi
mov bl, byte [edx + eax]
lea eax, [ebp + 1]
shl ebx, 0x10
xor ebx, edi
movsx edi, word [esp + 0x2c]
cdq
idiv edi
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [ecx - 4], ebx
mov ah, byte [edx + edi]
mov edi, eax
lea eax, [ebp + 2]
xor edi, ebx
movsx ebx, word [esp + 0x2c]
cdq
idiv ebx
mov ebx, dword [esp + 0x28]
xor eax, eax
mov dword [ecx - 4], edi
mov al, byte [edx + ebx]
xor eax, edi
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x24]
add eax, 4
cmp eax, 0x48
mov dword [esp + 0x24], eax
jl 0x6d6010
lea ebp, [esi + 0x800]
mov ecx, 0x876778
sub ebp, esi
mov edx, 0x876b78
mov dword [esp + 0x24], ebp
mov ebp, 0x877378
sub ebp, esi
lea edi, [esi + 0x400]
mov ebx, 0x876f78
mov dword [esp + 0x18], ebp
lea ebp, [esi + 0xc00]
sub ecx, esi
sub edx, esi
sub edi, esi
sub ebx, esi
sub ebp, esi
mov eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], 0x100
jmp 0x6d60fc
mov ebx, dword [esp + 0x28]
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
mov ebp, dword [edx + eax]
mov dword [edi + eax], ebp
mov ebp, dword [esp + 0x24]
mov ebx, dword [ebx + eax]
mov dword [eax + ebp], ebx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov ebx, dword [ebx + eax]
mov dword [eax + ebp], ebx
mov ebx, dword [esp + 0x2c]
add eax, 4
dec ebx
mov dword [esp + 0x2c], ebx
jne 0x6d60f8
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
xor edi, edi
lea edx, [esp + 0x18]
push esi
push edx
push ecx
push eax
call fcn.006d6240
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0x1000]
add edi, 2
add esp, 0x10
cmp edi, 0x12
mov dword [edx + edi*4 - 8], eax
mov dword [edx + edi*4 - 4], ecx
jl 0x6d613b
xor edi, edi
lea edx, [esp + 0x18]
push esi
push edx
push ecx
push eax
call fcn.006d6240
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + edi*4], eax
mov dword [esi + edi*4 + 4], ecx
add edi, 2
add esp, 0x10
cmp edi, 0x100
jl 0x6d616b
xor edi, edi
lea edx, [esp + 0x18]
push esi
push edx
push ecx
push eax
call fcn.006d6240
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0x400]
add edi, 2
add esp, 0x10
cmp edi, 0x100
mov dword [edx + edi*4 - 8], eax
mov dword [edx + edi*4 - 4], ecx
jl 0x6d6197
xor edi, edi
lea edx, [esp + 0x18]
push esi
push edx
push ecx
push eax
call fcn.006d6240
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0x800]
add edi, 2
add esp, 0x10
cmp edi, 0x100
mov dword [edx + edi*4 - 8], eax
mov dword [edx + edi*4 - 4], ecx
jl 0x6d61ca
xor edi, edi
lea edx, [esp + 0x18]
push esi
push edx
push ecx
push eax
call fcn.006d6240
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0xc00]
add edi, 2
add esp, 0x10
cmp edi, 0x100
mov dword [edx + edi*4 - 8], eax
mov dword [edx + edi*4 - 4], ecx
jl 0x6d61fd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret