Function at 0x610350
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x703eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
cdq
push edi
and edx, 7
lea ebx, [edx + eax]
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
mov dword [ebp - 0x54], esi
sar ebx, 3
call fcn.005236f0
add esp, 0xc
lea ecx, [esi + 0x18]
call fcn.0061c880
lea ecx, [esi + 0x18]
cmp eax, 0x40
jbe 0x6103b7
call fcn.00595640
test eax, eax
je 0x6103de
lea ecx, [esi + 0x18]
call fcn.00595640
mov ecx, 0x10
mov esi, eax
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x54]
jmp 0x6103de
call fcn.00595640
test eax, eax
je 0x6103de
lea ecx, [esi + 0x18]
call fcn.0061c880
push eax
lea ecx, [esi + 0x18]
call fcn.00595640
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00523380
add esp, 0xc
mov edx, 0xc
sub edx, 0x7157f4
mov dword [ebp - 0x4c], edx
mov edx, 0x10
sub edx, 0x7157f4
mov dword [ebp - 0x50], edx
mov ecx, 8
sub ecx, 0x7157f4
mov edx, 0x14
xor eax, eax
sub edx, 0x7157f4
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], edx
jmp 0x610423
mov ecx, dword [ebp - 0x54]
mov edi, dword [eax + 0x7157f0]
mov edx, dword [esi]
mov dword [eax + edx], edi
mov edi, dword [eax + 0x7157f4]
mov edx, dword [esi]
mov dword [eax + edx + 4], edi
mov edi, dword [eax + 0x7157f8]
mov edx, dword [esi]
lea ecx, [ecx + eax + 0x7157f4]
mov dword [ecx + edx], edi
mov ecx, dword [ebp - 0x4c]
mov edi, dword [eax + 0x7157fc]
lea edx, [ecx + eax + 0x7157f4]
mov ecx, dword [esi]
mov dword [edx + ecx], edi
mov edx, dword [ebp - 0x50]
mov edi, dword [eax + 0x715800]
lea ecx, [edx + eax + 0x7157f4]
mov edx, dword [esi]
mov dword [ecx + edx], edi
mov ecx, dword [ebp - 0x48]
mov edi, dword [eax + 0x715804]
lea edx, [ecx + eax + 0x7157f4]
mov ecx, dword [esi]
add eax, 0x18
mov dword [edx + ecx], edi
cmp eax, 0x48
jl 0x610420
mov eax, 8
sub eax, 0x71583c
mov dword [ebp - 0x48], eax
xor eax, eax
jmp 0x6104b0
lea ecx, [eax + 0xc]
mov dword [ebp - 0x54], 0x40
lea ebx, [ebx]
mov edi, dword [eax + 0x715838]
mov edx, dword [esi + 4]
mov dword [eax + edx], edi
mov edi, dword [eax + 0x71583c]
mov edx, dword [esi + 4]
mov dword [edx + eax + 4], edi
mov edx, dword [esi + 4]
add edx, dword [ebp - 0x48]
mov edi, dword [eax + 0x715840]
mov dword [edx + eax + 0x71583c], edi
mov edi, dword [eax + 0x715844]
mov edx, dword [esi + 4]
mov dword [ecx + edx], edi
add eax, 0x10
add ecx, 0x10
dec dword [ebp - 0x54]
jne 0x6104c0
cmp eax, 0x1000
jl 0x6104b0
xor edi, edi
mov dword [ebp - 0x4c], edi
mov ecx, 0xc
mov eax, dword [esi]
lea edx, [ecx + eax - 0xc]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
mov eax, dword [ebp - 0x4c]
add eax, 3
shl edx, 8
mov dword [ebp - 0x48], edx
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, dword [ebp - 0x4c]
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [ecx + eax - 8]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [eax + ecx - 4]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x50], eax
mov edi, edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [eax + ecx + 4]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov eax, dword [esi]
mov edi, edx
lea edx, [eax + ecx + 8]
mov dword [ebp - 0x50], edx
lea eax, [edi + 1]
cdq
idiv ebx
mov dword [ebp - 0x4c], edi
add ecx, 0x18
movzx eax, byte [ebp + edx - 0x44]
movzx edx, byte [ebp + edi - 0x44]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [ebp - 0x48], eax
lea eax, [edi + 2]
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x44]
mov edx, dword [ebp - 0x48]
or edx, eax
shl edx, 8
mov dword [ebp - 0x48], edx
mov eax, edi
add eax, 3
cdq
idiv ebx
mov eax, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x44]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x50]
xor dword [eax], edx
mov eax, edi
add eax, 4
cdq
idiv ebx
mov edi, edx
mov dword [ebp - 0x4c], edi
cmp ecx, 0x54
jl 0x610514
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], ebx
xor edi, edi
lea ebx, [ebx]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.0060fad0
mov edx, dword [esi]
mov eax, dword [ebp - 0x4c]
mov dword [edi + edx], eax
mov ecx, dword [esi]
mov edx, dword [ebp - 0x54]
mov dword [edi + ecx + 4], edx
add edi, 8
cmp edi, 0x48
jl 0x610770
xor edi, edi
lea ebx, [ebx]
mov ebx, 0x80
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.0060fad0
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x4c]
mov dword [edi + edx], eax
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x54]
mov dword [edi + ecx + 4], edx
add edi, 8
dec ebx
jne 0x6107a5
cmp edi, 0x1000
jl 0x6107a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00521602
mov esp, ebp
pop ebp
ret