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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 0xc], esi
cmp byte [esi + 0xc], 0
jne 0x4388bd
push 0x48
call fcn.004dd200
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4386ca
push 0x1000
call fcn.004dd200
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x4386d3
push dword [esi]
call fcn.004d7ea4
add esp, 4
mov dword [esi], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, 0xc
sub eax, 0x556374
mov dword [ebp + 0x10], eax
mov eax, 0x10
sub eax, 0x556374
push ebx
mov dword [ebp - 4], eax
mov ebx, 8
push edi
mov eax, 0x14
xor edi, edi
sub ebx, 0x556374
sub eax, 0x556374
mov dword [ebp - 8], eax
nop
mov ecx, dword [esi]
lea edx, [ebx + 0x556374]
mov eax, dword [edi + 0x556370]
add edx, edi
mov dword [edi + ecx], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x556374]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x556378]
mov dword [edx + ecx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
lea edx, [eax + 0x556374]
mov eax, dword [edi + 0x55637c]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi]
lea edx, [eax + 0x556374]
mov eax, dword [edi + 0x556380]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
lea edx, [eax + 0x556374]
mov eax, dword [edi + 0x556384]
add edx, edi
add edi, 0x18
mov dword [edx + ecx], eax
cmp edi, 0x48
jl 0x438710
mov eax, 8
sub eax, 0x5563bc
xor edi, edi
mov dword [ebp - 8], eax
lea ebx, [edi + 0xc]
mov dword [ebp + 0x10], 0x40
nop dword [eax]
mov ecx, dword [esi + 4]
lea edx, [edi + 0x5563bc]
mov eax, dword [edx - 4]
lea ebx, [ebx + 0x10]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [edx]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [edx + 4]
add ecx, edx
mov edx, dword [ebp - 8]
mov dword [ecx + edx], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x5563c4]
add edi, 0x10
sub dword [ebp + 0x10], 1
mov dword [ebx + ecx - 0x10], eax
jne 0x4387a0
cmp edi, 0x1000
jl 0x438793
mov ecx, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
nop
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
movzx eax, byte [edi + eax]
mov byte [ebp + 0x13], al
lea eax, [edi + 1]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [ebp + 0x12], al
lea eax, [edi + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov byte [ebp + 0x11], al
lea eax, [edi + 3]
cdq
idiv ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
mov ecx, dword [esi]
mov byte [ebp + 0x10], al
mov eax, dword [ebp + 0x10]
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 0x4387f0
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.00437c60
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 0x438854
xor edi, edi
nop
mov ebx, 0x80
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.00437c60
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
sub ebx, 1
jne 0x438885
cmp edi, 0x1000
jl 0x438880
pop edi
mov byte [esi + 0xc], 1
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc