Function at 0x10003460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0
jmp 0x10003495
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x100037aa
mov eax, dword [ebp - 4]
add eax, 1
xor edx, edx
div dword [0x1005d120]
mov dword [ebp - 4], edx
mov edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edx]
add eax, dword [ebp - 0x14]
xor edx, edx
div dword [0x1005d120]
mov dword [ebp - 0x14], edx
mov ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
add ecx, dword [ebp - 4]
mov edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
add ecx, edx
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
add eax, dword [ebp + 8]
mov cl, byte [eax + ecx]
mov byte [ebp - 5], cl
mov edx, dword [ebp - 0x14]
sub edx, dword [0x1005d12c]
add edx, dword [0x1005d130]
add edx, dword [0x1005d134]
sub edx, dword [0x1005d12c]
add edx, dword [0x1005d130]
sub edx, dword [0x1005d12c]
add edx, dword [0x1005d130]
add edx, dword [0x1005d134]
sub edx, dword [0x1005d12c]
add edx, dword [0x1005d130]
mov eax, dword [ebp - 4]
add eax, dword [0x1005d130]
mov ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
add eax, ecx
mov ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
add eax, ecx
sub eax, dword [0x1005d12c]
add eax, dword [0x1005d130]
add eax, dword [0x1005d134]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x14]
add eax, dword [0x1005d130]
mov ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
add eax, dword [0x1005d130]
add ecx, eax
mov edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
add ecx, edx
sub ecx, dword [0x1005d12c]
add ecx, dword [0x1005d130]
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
add ecx, eax
sub ecx, dword [0x1005d12c]
add ecx, dword [0x1005d130]
mov edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
add ecx, edx
sub ecx, dword [0x1005d12c]
add ecx, dword [0x1005d130]
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
add ecx, eax
sub ecx, dword [0x1005d12c]
add ecx, dword [0x1005d130]
mov edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
add edx, dword [ebp + 8]
mov al, byte [ebp - 5]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx eax, byte [ecx]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
movzx ecx, byte [edx]
add eax, ecx
xor edx, edx
div dword [0x1005d120]
mov dword [ebp - 0x10], edx
mov edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
imul edx, dword [0x1005d134]
add edx, dword [ebp - 0xc]
add edx, dword [0x1005d130]
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
add edx, eax
sub edx, dword [0x1005d12c]
add edx, dword [0x1005d130]
mov ecx, dword [ebp - 0x10]
add ecx, dword [0x1005d130]
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d12c]
imul eax, dword [0x1005d130]
sub ecx, eax
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
add ecx, eax
sub ecx, dword [0x1005d12c]
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
add ecx, eax
sub ecx, dword [0x1005d12c]
add ecx, dword [0x1005d130]
add ecx, dword [0x1005d130]
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
add ecx, eax
sub ecx, dword [0x1005d12c]
add ecx, dword [0x1005d130]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + ecx]
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax + edx]
xor edx, ecx
mov eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
imul eax, dword [0x1005d134]
mov ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
imul ecx, dword [0x1005d134]
add ecx, dword [ebp - 0xc]
add ecx, dword [0x1005d130]
add ecx, eax
sub ecx, dword [0x1005d12c]
add ecx, dword [0x1005d130]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], dl
jmp 0x1000348c
pop esi
mov esp, ebp
pop ebp
ret