Function at 0x403c7b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push esi
mov dword [ebp - 0x58], 0x243f6a88
mov dword [ebp - 0x54], 0x85a308d3
mov dword [ebp - 0x50], 0x13198a2e
mov dword [ebp - 0x4c], 0x3707344
mov dword [ebp - 0x48], 0xa4093822
mov dword [ebp - 0x44], 0x299f31d0
mov dword [ebp - 0x40], 0x82efa98
mov dword [ebp - 0x3c], 0xec4e6c89
mov dword [ebp - 0x38], 0x452821e6
mov dword [ebp - 0x34], 0x38d01377
mov dword [ebp - 0x30], 0xbe5466cf
mov dword [ebp - 0x2c], 0x34e90c6c
mov dword [ebp - 0x28], 0xc0ac29b7
mov dword [ebp - 0x24], 0xc97c50dd
mov dword [ebp - 0x20], 0x3f84d5b5
mov dword [ebp - 0x1c], 0xb5470917
mov dword [ebp - 0x18], 0x9216d5d9
mov dword [ebp - 0x14], 0x8979fb1b
mov dword [ebp - 0x10], 0
jmp 0x403d15
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x403d31
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [edx + ecx*4 + 0x1000], eax
jmp 0x403d0c
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x403d49
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jge 0x4040ae
mov dword [ebp - 0x5c], 0
jmp 0x403d65
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x100
jge 0x4040a9
mov dword [ebp - 0x88], 0x100
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x78], edx
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x84], eax
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x78]
imul ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
imul edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x84]
add eax, edx
xor edx, edx
div dword [0x40c1c4]
mov eax, edx
imul eax, dword [0x40c1c4]
add eax, ecx
xor edx, edx
div dword [0x40c1c0]
mov eax, edx
add eax, 1
xor edx, edx
div dword [0x40c1c0]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
imul eax, dword [ebp - 0x88]
xor edx, edx
div dword [0x40c1c4]
and eax, 0xff
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x9c], 0x100
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x8c], edx
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x98], eax
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0x94], edx
mov ecx, dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
imul edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x98]
add eax, edx
xor edx, edx
div dword [0x40c1c4]
mov eax, edx
imul eax, dword [0x40c1c4]
add eax, ecx
xor edx, edx
div dword [0x40c1c0]
mov eax, edx
add eax, 1
xor edx, edx
div dword [0x40c1c0]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
imul eax, dword [ebp - 0x9c]
xor edx, edx
div dword [0x40c1c4]
and eax, 0xff
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xb0], 0x100
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xa0], edx
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xac], eax
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xa8], edx
mov ecx, dword [ebp - 0xa0]
imul ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
imul edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa0]
imul eax, dword [ebp - 0xac]
add eax, edx
xor edx, edx
div dword [0x40c1c4]
mov eax, edx
imul eax, dword [0x40c1c4]
add eax, ecx
xor edx, edx
div dword [0x40c1c0]
mov eax, edx
add eax, 1
xor edx, edx
div dword [0x40c1c0]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
imul eax, dword [ebp - 0xb0]
xor edx, edx
div dword [0x40c1c4]
and eax, 0xff
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xc4], 0x100
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xb4], edx
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x40c1c8]
xor edx, edx
div dword [0x40c1c4]
mov dword [ebp - 0xbc], edx
mov ecx, dword [ebp - 0xb4]
imul ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
imul edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb4]
imul eax, dword [ebp - 0xc0]
add eax, edx
xor edx, edx
div dword [0x40c1c4]
mov eax, edx
imul eax, dword [0x40c1c4]
add eax, ecx
xor edx, edx
div dword [0x40c1c0]
mov eax, edx
add eax, 1
xor edx, edx
div dword [0x40c1c0]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [0x40c1c4]
imul eax, dword [ebp - 0xc4]
xor edx, edx
div dword [0x40c1c4]
and eax, 0xff
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x10]
shl eax, 0xa
mov ecx, dword [ebp + 8]
add ecx, eax
mov edx, dword [ebp - 0x6c]
shl edx, 8
mov eax, dword [ebp - 0x68]
shl eax, 0x10
mov esi, dword [ebp - 0x74]
shl esi, 0x18
or esi, eax
or esi, edx
or esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + edx*4], esi
jmp 0x403d5c
jmp 0x403d40
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], 0
jmp 0x4040c7
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x404139
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
jmp 0x4040e6
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 4
jge 0x40411a
mov edx, dword [ebp - 0x64]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x5c]
movsx ecx, byte [eax]
or edx, ecx
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp + 0x10]
jl 0x404118
mov dword [ebp - 0x5c], 0
jmp 0x4040dd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x1000]
xor eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 0x1000], eax
jmp 0x4040be
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x404159
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x404195
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040420e
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x1000], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x1004], eax
jmp 0x404150
mov dword [ebp - 0x10], 0
jmp 0x4041a7
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x404209
mov dword [ebp - 0x5c], 0
jmp 0x4041bf
mov edx, dword [ebp - 0x5c]
add edx, 2
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 0x100
jge 0x404207
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040420e
add esp, 0xc
mov eax, dword [ebp - 0x10]
shl eax, 0xa
mov ecx, dword [ebp + 8]
add ecx, eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 0xa
mov edx, dword [ebp + 8]
add edx, ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 + 4], ecx
jmp 0x4041b6
jmp 0x40419e
pop esi
mov esp, ebp
pop ebp
ret