Function at 0x402910
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, 0x610004
mov dword [ebp - 4], eax
mov eax, 0x10
push ebx
sub eax, 0x610004
mov ebx, 8
push esi
mov dword [ebp - 8], eax
sub ebx, 0x610004
push edi
mov eax, 0x14
xor edi, edi
mov esi, ecx
sub eax, 0x610004
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
mov ecx, dword [esi]
lea edx, [ebx + 0x610004]
mov eax, dword [edi + section..data]
add edx, edi
mov dword [edi + ecx], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x610004]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi]
mov eax, dword [edi + 0x610008]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi]
lea edx, [eax + 0x610004]
mov eax, dword [edi + 0x61000c]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
lea edx, [eax + 0x610004]
mov eax, dword [edi + 0x610010]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi]
lea edx, [eax + 0x610004]
mov eax, dword [edi + 0x610014]
add edx, edi
add edi, 0x18
mov dword [edx + ecx], eax
cmp edi, 0x48
jl 0x402952
mov edx, 8
mov eax, 0xc
sub edx, 0x61004c
sub eax, 0x61004c
mov dword [ebp - 4], edx
xor edi, edi
mov dword [ebp - 0xc], eax
nop dword [eax]
nop word [eax + eax]
mov ebx, 0x40
nop word [eax + eax]
mov ecx, dword [esi + 4]
lea edx, [edx + 0x61004c]
mov eax, dword [edi + 0x610048]
add edx, edi
mov dword [edi + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x61004c]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x610050]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 4]
lea edx, [eax + 0x61004c]
mov eax, dword [edi + 0x610054]
add edx, edi
add edi, 0x10
mov dword [edx + ecx], eax
mov edx, dword [ebp - 4]
sub ebx, 1
jne 0x402a00
cmp edi, 0x1000
jl 0x4029f0
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
lea eax, [ebx + 1]
mov edi, dword [esi]
cdq
add edi, ecx
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
movzx ecx, byte [edx + eax]
movzx eax, byte [ebx + eax]
shl eax, 8
or ecx, eax
lea eax, [ebx + 2]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + esi]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + esi]
or ecx, eax
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 4]
xor dword [edi], ecx
cdq
idiv dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add ecx, 4
mov ebx, edx
mov dword [ebp - 4], ecx
cmp ecx, 0x48
jl 0x402a60
mov dword [ebp + 0xc], 0
xor edi, edi
mov dword [ebp + 8], 0
nop word [eax + eax]
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00402320
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
mov dword [edi + ecx], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov dword [edi + ecx + 4], eax
add edi, 8
cmp edi, 0x48
jl 0x402ad0
xor edi, edi
nop word [eax + eax]
mov ebx, 0x80
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00402320
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [edi + ecx + 4], eax
add edi, 8
sub ebx, 1
jne 0x402b05
cmp edi, 0x1000
jl 0x402b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8