Function at 0x101054a0
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c
call fcn.10010ae0
push 0x1048
push 0x10200f28
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0x48
jle 0x101054d6
mov dword [ebp + 0xc], 0x48
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
jmp 0x101054f7
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x12
jge 0x101055bf
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x10105521
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x1010554d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x10105579
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jb 0x101055a5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4], eax
jmp 0x101054ee
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x101055df
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jge 0x10105610
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.101031c0
add esp, 8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4 + 4], edx
jmp 0x101055d6
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x1010562b
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x400
jge 0x1010565f
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.101031c0
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10105622
mov esp, ebp
pop ebp
ret