Function at 0x523cb0
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, 0x5b71f4
mov dword [ebp - 8], eax
mov eax, 0x10
push ebx
sub eax, 0x5b71f4
mov ebx, 8
push esi
mov esi, ecx
mov dword [ebp - 4], eax
push edi
mov eax, 0x14
mov dword [ebp - 0x10], esi
xor edi, edi
sub ebx, 0x5b71f4
sub eax, 0x5b71f4
mov dword [esi + 8], 0
mov dword [ebp - 0xc], eax
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [ebx + 0x5b71f4]
mov eax, dword [edi + 0x5b71f0]
add edx, edi
mov dword [edi + ecx], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x5b71f4]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x5b71f8]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
lea edx, [eax + 0x5b71f4]
mov eax, dword [edi + 0x5b71fc]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi]
lea edx, [eax + 0x5b71f4]
mov eax, dword [edi + 0x5b7200]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi]
lea edx, [eax + 0x5b71f4]
mov eax, dword [edi + 0x5b7204]
add edx, edi
add edi, 0x18
mov dword [edx + ecx], eax
cmp edi, 0x48
jl 0x523d00
mov edx, 8
sub edx, 0x5b7244
xor edi, edi
mov dword [ebp - 8], edx
jmp 0x523d90
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0x40
lea ebx, [ebx]
mov ecx, dword [esi + 4]
lea edx, [edx + 0x5b7244]
mov eax, dword [edi + 0x5b7240]
lea ebx, [ebx + 0x10]
add edx, edi
mov dword [edi + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5b7244]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5b7248]
mov dword [edx + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5b724c]
add edi, 0x10
dec dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ebx + ecx - 0x10], eax
jne 0x523da0
cmp edi, 0x1000
jl 0x523d90
mov ecx, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
jmp 0x523e00
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
movzx eax, byte [edi + eax]
mov byte [ebp - 1], al
lea eax, [edi + 1]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [ebp - 2], al
lea eax, [edi + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [ebp - 3], al
lea eax, [edi + 3]
cdq
idiv ecx
mov ecx, esi
mov esi, dword [ebp - 0x10]
movzx eax, byte [edx + ecx]
mov ecx, dword [esi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 4]
xor dword [ecx + ebx], eax
lea eax, [edi + 4]
mov ecx, dword [ebp + 0xc]
add ebx, 4
cdq
idiv ecx
mov edi, edx
cmp ebx, 0x48
jl 0x523e00
mov dword [ebp + 0xc], 0
xor edi, edi
mov dword [ebp + 8], 0
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.00523430
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov dword [edi + ecx], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
mov dword [edi + ecx + 4], eax
add edi, 8
cmp edi, 0x48
jl 0x523e64
xor edi, edi
mov edi, edi
mov ebx, 0x80
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.00523430
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi + 4], eax
add edi, 8
dec ebx
jne 0x523e95
cmp edi, 0x1000
jl 0x523e90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc