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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x592a80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00401470
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx], vtable.BlowFishEnc.0
push 0x48
call fcn.00414eea
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x68], eax
push 0x1000
call fcn.00414eea
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x34]
add eax, 4
push eax
call fcn.00508300
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x401098
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x12
jge 0x4010b6
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx*4 + 0x58a008]
mov dword [eax + ecx*4], edx
jmp 0x40108f
mov dword [ebp - 0x14], 0
jmp 0x4010c8
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x40110f
mov dword [ebp - 0x28], 0
jmp 0x4010e0
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x100
jge 0x40110d
mov edx, dword [ebp - 0x14]
shl edx, 0xa
mov eax, dword [ebp - 0x14]
shl eax, 0xa
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x6c]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov edx, dword [edx + esi*4 + 0x58a050]
mov dword [eax + ecx*4], edx
jmp 0x4010d7
jmp 0x4010bf
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
jmp 0x401128
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x12
jge 0x401201
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x28]
movsx edx, byte [ecx + 4]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0x18]
and eax, 0xffffff
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
add eax, 1
cdq
idiv dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
movsx edx, byte [ecx + edx + 4]
and edx, 0xff
shl edx, 0x10
mov eax, dword [ebp - 0x18]
and eax, 0xff00ffff
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
add eax, 2
cdq
idiv dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
movsx edx, byte [ecx + edx + 4]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0x18]
and eax, 0xffff00ff
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
add eax, 3
cdq
idiv dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
movsx edx, byte [ecx + edx + 4]
and edx, 0xff
mov eax, dword [ebp - 0x18]
and eax, 0xffffff00
or eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + ecx*4]
xor edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x28]
add eax, 4
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
jmp 0x40111f
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
jmp 0x401221
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x12
jge 0x401258
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00401540
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [eax + ecx*4 + 4], edx
jmp 0x401218
mov dword [ebp - 0x14], 0
jmp 0x40126a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x4012ca
mov dword [ebp - 0x28], 0
jmp 0x401282
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x100
jge 0x4012c8
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00401540
mov ecx, dword [ebp - 0x14]
shl ecx, 0xa
mov edx, dword [ebp - 0x34]
add ecx, dword [edx + 0x6c]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x14]
shl eax, 0xa
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x6c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 4], ecx
jmp 0x401279
jmp 0x401261
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4