Function at 0x401c10
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xc
sub eax, 0x5a7114
mov dword [ebp - 8], eax
push ebx
mov eax, 0x10
sub eax, 0x5a7114
push esi
mov dword [ebp - 4], eax
mov ebx, 8
push edi
mov eax, 0x14
xor edi, edi
sub ebx, 0x5a7114
mov esi, ecx
sub eax, 0x5a7114
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x5a7110]
mov dword [edi + ecx], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x5a7114]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x5a7118]
lea edx, [ebx + 0x5a7114]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
lea edx, [eax + 0x5a7114]
mov eax, dword [edi + 0x5a711c]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi]
lea edx, [eax + 0x5a7114]
mov eax, dword [edi + 0x5a7120]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi]
lea edx, [eax + 0x5a7114]
mov eax, dword [edi + 0x5a7124]
add edx, edi
add edi, 0x18
mov dword [edx + ecx], eax
cmp edi, 0x48
jl 0x401c52
mov edx, 8
sub edx, 0x5a715c
mov dword [ebp - 8], edx
xor edi, edi
jmp 0x401ce0
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0x40
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5a7158]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5a715c]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5a7160]
lea edx, [edx + 0x5a715c]
add edx, edi
add edi, 0x10
dec dword [ebp - 4]
mov dword [edx + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5a7154]
mov edx, dword [ebp - 8]
mov dword [ebx + ecx], eax
lea ebx, [ebx + 0x10]
jne 0x401cf0
cmp edi, 0x1000
jl 0x401ce0
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [ebx + 1]
cdq
idiv dword [ebp + 0xc]
mov edi, dword [esi]
mov eax, dword [ebp + 8]
add edi, ecx
mov esi, dword [ebp + 8]
movzx ecx, byte [edx + eax]
movzx eax, byte [ebx + eax]
shl eax, 8
or ecx, eax
lea eax, [ebx + 2]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + esi]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + esi]
or ecx, eax
lea eax, [ebx + 4]
cdq
idiv dword [ebp + 0xc]
xor dword [edi], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 8], ecx
mov ebx, edx
cmp ecx, 0x48
jl 0x401d46
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0
xor edi, edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00401690
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
mov dword [edi + ecx], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov dword [edi + ecx + 4], eax
add edi, 8
cmp edi, 0x48
jl 0x401db0
xor edi, edi
lea ebx, [ebx]
mov ebx, 0x80
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00401690
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [edi + ecx + 4], eax
add edi, 8
dec ebx
jne 0x401de5
cmp edi, 0x1000
jl 0x401de0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8