Function at 0x10031180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
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 0x100311b7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x10031dc3
mov eax, dword [ebp - 4]
add eax, 1
xor edx, edx
div dword [0x10069f74]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
add edx, dword [0x10069f88]
sub edx, dword [0x10069f7c]
mov eax, dword [0x10069f7c]
imul eax, dword [0x10069f80]
imul eax, dword [0x10069f78]
imul eax, dword [0x10069f80]
add edx, eax
sub edx, dword [0x10069f84]
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f78]
imul ecx, dword [0x10069f88]
imul ecx, dword [0x10069f7c]
add edx, ecx
sub edx, dword [0x10069f80]
add edx, dword [0x10069f78]
sub edx, dword [0x10069f7c]
mov eax, dword [0x10069f7c]
imul eax, dword [0x10069f80]
imul eax, dword [0x10069f78]
imul eax, dword [0x10069f80]
add edx, eax
sub edx, dword [0x10069f84]
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f78]
imul ecx, dword [0x10069f88]
imul ecx, dword [0x10069f7c]
add edx, ecx
sub edx, dword [0x10069f80]
add edx, dword [0x10069f78]
sub edx, dword [0x10069f88]
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edx]
add eax, dword [ebp - 0x14]
xor edx, edx
div dword [0x10069f74]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 4]
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
mov edx, dword [0x10069f78]
imul edx, dword [0x10069f84]
sub ecx, edx
sub ecx, dword [0x10069f88]
add ecx, dword [0x10069f84]
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f88]
mov eax, dword [0x10069f7c]
imul eax, dword [0x10069f78]
sub ecx, eax
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f7c]
imul edx, dword [0x10069f78]
sub ecx, edx
sub ecx, dword [0x10069f80]
add ecx, dword [0x10069f7c]
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f78]
add ecx, dword [0x10069f84]
add ecx, dword [0x10069f7c]
add ecx, dword [0x10069f80]
mov eax, dword [0x10069f84]
imul eax, dword [0x10069f7c]
add ecx, dword [0x10069f7c]
add eax, ecx
sub eax, dword [0x10069f88]
sub eax, dword [0x10069f78]
add eax, dword [0x10069f80]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov byte [ebp - 5], dl
mov eax, dword [ebp - 0x14]
add eax, dword [0x10069f88]
add eax, dword [0x10069f88]
add eax, dword [0x10069f88]
mov ecx, dword [ebp - 4]
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
mov edx, dword [0x10069f80]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
add ecx, edx
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
mov edx, dword [0x10069f80]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
add ecx, edx
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
mov edx, dword [0x10069f80]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
add edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x10069f78]
imul edx, dword [0x10069f7c]
add ecx, dword [0x10069f84]
add edx, ecx
sub edx, dword [0x10069f80]
mov eax, dword [0x10069f78]
imul eax, dword [0x10069f7c]
add edx, dword [0x10069f84]
add eax, edx
sub eax, dword [0x10069f80]
mov ecx, dword [0x10069f78]
imul ecx, dword [0x10069f7c]
add eax, dword [0x10069f84]
add ecx, eax
sub ecx, dword [0x10069f80]
mov edx, dword [ebp + 8]
mov al, byte [ebp - 5]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 4]
sub ecx, dword [0x10069f80]
mov edx, dword [0x10069f80]
imul edx, dword [0x10069f80]
sub ecx, edx
sub ecx, dword [0x10069f84]
add ecx, dword [0x10069f80]
mov eax, dword [0x10069f78]
imul eax, dword [0x10069f7c]
add ecx, dword [0x10069f84]
add eax, ecx
add eax, dword [0x10069f7c]
sub eax, dword [0x10069f78]
sub eax, dword [0x10069f80]
mov ecx, dword [0x10069f80]
imul ecx, dword [0x10069f80]
sub eax, ecx
sub eax, dword [0x10069f84]
add eax, dword [0x10069f80]
mov edx, dword [0x10069f78]
imul edx, dword [0x10069f7c]
add eax, dword [0x10069f84]
add edx, eax
add edx, dword [0x10069f7c]
sub edx, dword [0x10069f78]
sub edx, dword [0x10069f80]
mov eax, dword [0x10069f80]
imul eax, dword [0x10069f80]
sub edx, eax
sub edx, dword [0x10069f84]
add edx, dword [0x10069f80]
mov ecx, dword [0x10069f78]
imul ecx, dword [0x10069f7c]
add edx, dword [0x10069f84]
add ecx, edx
add ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f78]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f88]
mov edx, dword [ebp - 0x14]
sub edx, ecx
sub edx, dword [0x10069f80]
add edx, dword [0x10069f78]
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f88]
sub edx, ecx
sub edx, dword [0x10069f80]
add edx, dword [0x10069f78]
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f88]
sub edx, ecx
sub edx, dword [0x10069f80]
add edx, dword [0x10069f78]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
add eax, edx
xor edx, edx
div dword [0x10069f74]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f88]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f84]
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
mov edx, dword [0x10069f78]
imul edx, dword [0x10069f80]
add eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
add eax, dword [0x10069f7c]
sub eax, dword [0x10069f78]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f84]
sub eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f84]
sub eax, ecx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f84]
sub eax, edx
sub eax, dword [0x10069f80]
sub eax, dword [0x10069f78]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f88]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f84]
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
mov edx, dword [0x10069f78]
imul edx, dword [0x10069f80]
add eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
add eax, dword [0x10069f7c]
sub eax, dword [0x10069f78]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f84]
sub eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f84]
sub eax, ecx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f84]
sub eax, edx
sub eax, dword [0x10069f80]
sub eax, dword [0x10069f78]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f88]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f84]
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
mov edx, dword [0x10069f78]
imul edx, dword [0x10069f80]
add eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
add eax, dword [0x10069f7c]
sub eax, dword [0x10069f78]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f84]
sub eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f84]
sub eax, ecx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f84]
sub eax, edx
sub eax, dword [0x10069f80]
sub eax, dword [0x10069f78]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f88]
sub eax, dword [0x10069f84]
sub eax, dword [0x10069f84]
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
mov edx, dword [0x10069f78]
imul edx, dword [0x10069f80]
add eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f88]
sub eax, ecx
add eax, dword [0x10069f88]
add eax, dword [0x10069f7c]
sub eax, dword [0x10069f78]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f84]
sub eax, edx
mov ecx, dword [0x10069f88]
imul ecx, dword [0x10069f84]
sub eax, ecx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f84]
sub eax, edx
sub eax, dword [0x10069f80]
sub eax, dword [0x10069f78]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x10069f7c]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f88]
add ecx, edx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f88]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
add ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f80]
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f84]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f88]
sub ecx, edx
sub ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f7c]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f88]
add ecx, edx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f88]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
add ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f80]
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f84]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f88]
sub ecx, edx
sub ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f7c]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f88]
add ecx, edx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f88]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
add ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f80]
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f84]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f88]
sub ecx, edx
sub ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f7c]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f88]
add ecx, edx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f88]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
add ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f80]
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f84]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f88]
sub ecx, edx
sub ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f7c]
mov edx, dword [0x10069f84]
imul edx, dword [0x10069f88]
add ecx, edx
mov edx, dword [0x10069f7c]
imul edx, dword [0x10069f88]
imul edx, dword [0x10069f80]
imul edx, dword [0x10069f78]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f88]
sub ecx, dword [0x10069f78]
add ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f80]
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f84]
imul edx, dword [0x10069f78]
imul edx, dword [0x10069f88]
sub ecx, edx
sub ecx, dword [0x10069f7c]
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + ecx]
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + eax]
xor eax, ecx
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f84]
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f84]
mov esi, dword [0x10069f84]
imul esi, dword [0x10069f84]
mov edi, dword [0x10069f88]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f88]
mov ebx, dword [0x10069f78]
imul ebx, dword [0x10069f80]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10069f88]
imul eax, dword [0x10069f88]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f84]
mov dword [ebp - 0x20], edx
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f84]
mov dword [ebp - 0x24], esi
mov esi, dword [0x10069f84]
imul esi, dword [0x10069f84]
mov dword [ebp - 0x28], edi
mov edi, dword [0x10069f88]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f88]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [0x10069f78]
imul ebx, dword [0x10069f80]
mov dword [ebp - 0x30], eax
mov eax, dword [0x10069f88]
imul eax, dword [0x10069f88]
mov dword [ebp - 0x34], ecx
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f84]
mov dword [ebp - 0x38], edx
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f84]
mov dword [ebp - 0x3c], esi
mov esi, dword [0x10069f84]
imul esi, dword [0x10069f84]
mov dword [ebp - 0x40], edi
mov edi, dword [0x10069f88]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f88]
mov dword [ebp - 0x44], ebx
mov ebx, dword [0x10069f78]
imul ebx, dword [0x10069f80]
mov dword [ebp - 0x48], eax
mov eax, dword [0x10069f88]
imul eax, dword [0x10069f88]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [0x10069f7c]
imul ecx, dword [0x10069f84]
mov dword [ebp - 0x50], edx
mov edx, dword [0x10069f88]
imul edx, dword [0x10069f84]
mov dword [ebp - 0x54], esi
mov esi, dword [0x10069f84]
imul esi, dword [0x10069f84]
mov dword [ebp - 0x58], edi
mov edi, dword [0x10069f88]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f7c]
imul edi, dword [0x10069f88]
mov dword [ebp - 0x5c], ebx
mov ebx, dword [0x10069f78]
imul ebx, dword [0x10069f80]
mov dword [ebp - 0x60], eax
mov eax, dword [0x10069f88]
imul eax, dword [0x10069f88]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f84]
sub ecx, eax
add ecx, dword [0x10069f88]
add ecx, ebx
sub ecx, edi
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f78]
sub ecx, esi
sub ecx, edx
mov eax, dword [ebp - 0x64]
sub ecx, eax
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f84]
mov edx, dword [ebp - 0x60]
sub ecx, edx
add ecx, dword [0x10069f88]
mov eax, dword [ebp - 0x5c]
add ecx, eax
mov edx, dword [ebp - 0x58]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f78]
mov eax, dword [ebp - 0x54]
sub ecx, eax
mov edx, dword [ebp - 0x50]
sub ecx, edx
mov eax, dword [ebp - 0x4c]
sub ecx, eax
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f84]
mov edx, dword [ebp - 0x48]
sub ecx, edx
add ecx, dword [0x10069f88]
mov eax, dword [ebp - 0x44]
add ecx, eax
mov edx, dword [ebp - 0x40]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f78]
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov edx, dword [ebp - 0x38]
sub ecx, edx
mov eax, dword [ebp - 0x34]
sub ecx, eax
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f88]
sub ecx, dword [0x10069f84]
sub ecx, dword [0x10069f84]
mov edx, dword [ebp - 0x30]
sub ecx, edx
add ecx, dword [0x10069f88]
mov eax, dword [ebp - 0x2c]
add ecx, eax
mov edx, dword [ebp - 0x28]
sub ecx, edx
add ecx, dword [0x10069f88]
add ecx, dword [0x10069f7c]
sub ecx, dword [0x10069f78]
mov eax, dword [ebp - 0x24]
sub ecx, eax
mov edx, dword [ebp - 0x20]
sub ecx, edx
mov eax, dword [ebp - 0x1c]
sub ecx, eax
sub ecx, dword [0x10069f80]
sub ecx, dword [0x10069f78]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov byte [edx + ecx], al
jmp 0x100311ae
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret