Function at 0x63980b
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 0x6398a5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x6398c1
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 0x63989c
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x6398d9
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jge 0x639c4e
mov dword [ebp - 0x5c], 0
jmp 0x6398f5
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x100
jge 0x639c49
mov dword [ebp - 0x88], 0x100
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x78], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x84], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
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
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x88]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x9c], 0x100
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x8c], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x98], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
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
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x9c]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xb0], 0x100
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xa0], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xac], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
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
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0xb0]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xc4], 0x100
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xb4], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xc0], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
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
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0xc4]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x10]
shl edx, 0xa
mov eax, dword [ebp + 8]
add eax, edx
mov ecx, dword [ebp - 0x6c]
shl ecx, 8
mov edx, dword [ebp - 0x68]
shl edx, 0x10
mov esi, dword [ebp - 0x74]
shl esi, 0x18
or esi, edx
or esi, ecx
or esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + ecx*4], esi
jmp 0x6398ec
jmp 0x6398d0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], 0
jmp 0x639c67
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x639cd9
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
jmp 0x639c86
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x639cba
mov ecx, dword [ebp - 0x64]
shl ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x5c]
movsx eax, byte [edx]
or ecx, eax
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp + 0x10]
jl 0x639cb8
mov dword [ebp - 0x5c], 0
jmp 0x639c7d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x1000]
xor edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x1000], edx
jmp 0x639c5e
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x639cf9
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x639d35
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00639dae
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4 + 0x1000], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4 + 0x1004], edx
jmp 0x639cf0
mov dword [ebp - 0x10], 0
jmp 0x639d47
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x639da9
mov dword [ebp - 0x5c], 0
jmp 0x639d5f
mov ecx, dword [ebp - 0x5c]
add ecx, 2
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0x100
jge 0x639da7
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00639dae
add esp, 0xc
mov edx, dword [ebp - 0x10]
shl edx, 0xa
mov eax, dword [ebp + 8]
add eax, edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov dword [eax + ecx*4], edx
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 - 0xc]
mov dword [ecx + edx*4 + 4], eax
jmp 0x639d56
jmp 0x639d3e
pop esi
mov esp, ebp
pop ebp
ret