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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov ecx, 0x412
mov esi, 0x4073b8
mov edi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x48
jle 0x4042ba
mov dword [ebp + 0xc], 0x48
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
and dword [ebp - 0x1c], 0
jmp 0x4042d6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x12
jge 0x40439c
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x4042fe
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x18]
or ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x40432a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x18]
or ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x404356
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x18]
or ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x404382
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4], eax
jmp 0x4042cf
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
jmp 0x4043b2
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x12
jge 0x4043e4
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00404884
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
jmp 0x4043aa
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
jmp 0x4043fb
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x400
jge 0x404430
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00404884
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
jmp 0x4043f3
pop edi
pop esi
leave
ret