Function at 0x1005fa60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [edx]
mov dword [ecx], eax
movzx eax, byte [edx + 4]
mov byte [ecx + 4], al
movzx eax, byte [edx + 5]
mov byte [ecx + 5], al
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
vmovdqu xmm0, xmmword [edx + 0x14]
vmovdqu xmmword [ecx + 0x14], xmm0
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
vmovdqu xmm0, xmmword [edx + 0x28]
vmovdqu xmmword [ecx + 0x28], xmm0
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
vmovdqu xmm0, xmmword [edx + 0x3c]
vmovdqu xmmword [ecx + 0x3c], xmm0
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [edx + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [edx + 0x6c]
mov dword [ecx + 0x6c], eax
mov eax, dword [edx + 0x70]
mov dword [ecx + 0x70], eax
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x74], eax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x7c], eax
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x80], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x84], eax
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x88], eax
mov eax, dword [edx + 0x8c]
mov dword [ecx + 0x8c], eax
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x90], eax
mov eax, dword [edx + 0x94]
mov dword [ecx + 0x94], eax
mov eax, dword [edx + 0x98]
mov dword [ecx + 0x98], eax
mov eax, dword [edx + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [edx + 0xa0]
mov dword [ecx + 0xa0], eax
mov eax, dword [edx + 0xa4]
mov dword [ecx + 0xa4], eax
mov eax, dword [edx + 0xa8]
mov dword [ecx + 0xa8], eax
mov eax, dword [edx + 0xac]
mov dword [ecx + 0xac], eax
mov eax, dword [edx + 0xb0]
mov dword [ecx + 0xb0], eax
mov eax, dword [edx + 0xb4]
mov dword [ecx + 0xb4], eax
mov eax, dword [edx + 0xb8]
mov dword [ecx + 0xb8], eax
mov eax, dword [edx + 0xbc]
mov dword [ecx + 0xbc], eax
mov eax, dword [edx + 0xc0]
mov dword [ecx + 0xc0], eax
mov eax, dword [edx + 0xc4]
mov dword [ecx + 0xc4], eax
mov eax, dword [edx + 0xc8]
mov dword [ecx + 0xc8], eax
mov eax, dword [edx + 0xcc]
mov dword [ecx + 0xcc], eax
mov eax, dword [edx + 0xd0]
mov dword [ecx + 0xd0], eax
mov eax, dword [edx + 0xd4]
mov dword [ecx + 0xd4], eax
mov eax, dword [edx + 0xd8]
mov dword [ecx + 0xd8], eax
mov eax, dword [edx + 0xdc]
mov dword [ecx + 0xdc], eax
mov eax, dword [edx + 0xe0]
mov dword [ecx + 0xe0], eax
mov eax, dword [edx + 0xe4]
mov dword [ecx + 0xe4], eax
mov eax, dword [edx + 0xe8]
mov dword [ecx + 0xe8], eax
mov eax, dword [edx + 0xec]
mov dword [ecx + 0xec], eax
mov eax, dword [edx + 0xf0]
mov dword [ecx + 0xf0], eax
mov eax, dword [edx + 0xf4]
mov dword [ecx + 0xf4], eax
mov eax, dword [edx + 0xf8]
mov dword [ecx + 0xf8], eax
mov eax, dword [edx + 0xfc]
mov dword [ecx + 0xfc], eax
mov eax, dword [edx + 0x100]
mov dword [ecx + 0x100], eax
mov eax, dword [edx + 0x104]
mov dword [ecx + 0x104], eax
movzx eax, byte [edx + 0x108]
mov byte [ecx + 0x108], al
movzx eax, byte [edx + 0x109]
mov byte [ecx + 0x109], al
mov eax, dword [edx + 0x10c]
mov dword [ecx + 0x10c], eax
mov eax, dword [edx + 0x110]
mov dword [ecx + 0x110], eax
mov eax, dword [edx + 0x114]
mov dword [ecx + 0x114], eax
mov eax, dword [edx + 0x118]
mov dword [ecx + 0x118], eax
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x11c], eax
movzx eax, byte [edx + 0x120]
mov byte [ecx + 0x120], al
movzx eax, byte [edx + 0x121]
mov byte [ecx + 0x121], al
mov eax, dword [edx + 0x124]
mov dword [ecx + 0x124], eax
movzx eax, byte [edx + 0x128]
mov byte [ecx + 0x128], al
mov eax, dword [edx + 0x12c]
mov dword [ecx + 0x12c], eax
mov eax, dword [edx + 0x130]
mov dword [ecx + 0x130], eax
movzx eax, byte [edx + 0x134]
mov byte [ecx + 0x134], al
movzx eax, byte [edx + 0x135]
mov byte [ecx + 0x135], al
movzx eax, byte [edx + 0x136]
mov byte [ecx + 0x136], al
movzx eax, byte [edx + 0x137]
mov byte [ecx + 0x137], al
movzx eax, byte [edx + 0x138]
mov byte [ecx + 0x138], al
vmovdqu xmm0, xmmword [edx + 0x13c]
vmovdqu xmmword [ecx + 0x13c], xmm0
mov eax, dword [edx + 0x14c]
mov dword [ecx + 0x14c], eax
mov eax, dword [edx + 0x150]
mov dword [ecx + 0x150], eax
mov eax, dword [edx + 0x154]
lea esi, [ecx + 0x1b0]
mov dword [ecx + 0x154], eax
mov edi, edx
mov eax, dword [edx + 0x158]
sub edi, ecx
mov dword [ecx + 0x158], eax
mov ebx, 0x14
mov eax, dword [edx + 0x15c]
mov dword [ecx + 0x15c], eax
mov eax, dword [edx + 0x160]
mov dword [ecx + 0x160], eax
mov eax, dword [edx + 0x164]
mov dword [ecx + 0x164], eax
mov eax, dword [edx + 0x168]
mov dword [ecx + 0x168], eax
mov eax, dword [edx + 0x16c]
mov dword [ecx + 0x16c], eax
mov eax, dword [edx + 0x170]
mov dword [ecx + 0x170], eax
mov eax, dword [edx + 0x174]
mov dword [ecx + 0x174], eax
mov eax, dword [edx + 0x178]
mov dword [ecx + 0x178], eax
mov eax, dword [edx + 0x17c]
mov dword [ecx + 0x17c], eax
mov eax, dword [edx + 0x180]
mov dword [ecx + 0x180], eax
mov eax, dword [edx + 0x184]
mov dword [ecx + 0x184], eax
mov eax, dword [edx + 0x188]
mov dword [ecx + 0x188], eax
movzx eax, byte [edx + 0x18c]
mov byte [ecx + 0x18c], al
mov eax, dword [edx + 0x190]
mov dword [ecx + 0x190], eax
mov eax, dword [edx + 0x194]
mov dword [ecx + 0x194], eax
mov eax, dword [edx + 0x198]
mov dword [ecx + 0x198], eax
mov eax, dword [edx + 0x19c]
mov dword [ecx + 0x19c], eax
movzx eax, byte [edx + 0x1a0]
mov byte [ecx + 0x1a0], al
mov eax, dword [edx + 0x1a4]
mov dword [ecx + 0x1a4], eax
mov eax, dword [edx + 0x1a8]
mov dword [ecx + 0x1a8], eax
movzx eax, byte [edx + 0x1ac]
mov byte [ecx + 0x1ac], al
movzx eax, byte [edx + 0x1ad]
mov byte [ecx + 0x1ad], al
nop word [eax + eax]
lea esi, [esi + 0xc]
vmovq xmm0, qword [edi + esi - 0xc]
vmovq qword [esi - 0xc], xmm0
mov eax, dword [edi + esi - 4]
mov dword [esi - 4], eax
sub ebx, 1
jne 0x1005fee0
mov eax, dword [edx + 0x2a0]
mov dword [ecx + 0x2a0], eax
mov eax, dword [edx + 0x2a4]
mov dword [ecx + 0x2a4], eax
mov eax, dword [edx + 0x2a8]
mov dword [ecx + 0x2a8], eax
mov eax, dword [edx + 0x2ac]
mov dword [ecx + 0x2ac], eax
mov eax, dword [edx + 0x2b0]
mov dword [ecx + 0x2b0], eax
mov eax, dword [edx + 0x2b4]
mov dword [ecx + 0x2b4], eax
mov eax, dword [edx + 0x2b8]
mov dword [ecx + 0x2b8], eax
mov eax, dword [edx + 0x2bc]
mov dword [ecx + 0x2bc], eax
mov eax, dword [edx + 0x2c0]
mov dword [ecx + 0x2c0], eax
mov eax, dword [edx + 0x2c4]
mov dword [ecx + 0x2c4], eax
mov eax, dword [edx + 0x2c8]
mov dword [ecx + 0x2c8], eax
mov eax, dword [edx + 0x2cc]
mov dword [ecx + 0x2cc], eax
mov eax, dword [edx + 0x2d0]
mov dword [ecx + 0x2d0], eax
mov eax, dword [edx + 0x2d4]
mov dword [ecx + 0x2d4], eax
mov eax, dword [edx + 0x2d8]
mov dword [ecx + 0x2d8], eax
mov eax, dword [edx + 0x2dc]
mov dword [ecx + 0x2dc], eax
mov eax, dword [edx + 0x2e0]
mov dword [ecx + 0x2e0], eax
mov eax, dword [edx + 0x2e4]
mov dword [ecx + 0x2e4], eax
mov eax, dword [edx + 0x2e8]
mov dword [ecx + 0x2e8], eax
mov eax, dword [edx + 0x2ec]
mov dword [ecx + 0x2ec], eax
mov eax, dword [edx + 0x2f0]
mov dword [ecx + 0x2f0], eax
mov eax, dword [edx + 0x2f4]
mov dword [ecx + 0x2f4], eax
mov eax, dword [edx + 0x2f8]
mov dword [ecx + 0x2f8], eax
mov eax, dword [edx + 0x2fc]
mov dword [ecx + 0x2fc], eax
mov eax, dword [edx + 0x300]
mov dword [ecx + 0x300], eax
mov eax, dword [edx + 0x304]
mov dword [ecx + 0x304], eax
mov eax, dword [edx + 0x308]
mov dword [ecx + 0x308], eax
mov eax, dword [edx + 0x30c]
mov dword [ecx + 0x30c], eax
mov eax, dword [edx + 0x310]
mov dword [ecx + 0x310], eax
mov eax, dword [edx + 0x314]
mov dword [ecx + 0x314], eax
mov eax, dword [edx + 0x318]
mov dword [ecx + 0x318], eax
mov eax, dword [edx + 0x31c]
mov dword [ecx + 0x31c], eax
mov eax, dword [edx + 0x320]
mov dword [ecx + 0x320], eax
mov eax, dword [edx + 0x324]
mov dword [ecx + 0x324], eax
mov al, byte [edx + 0x328]
mov byte [ecx + 0x328], al
mov eax, dword [edx + 0x32c]
mov dword [ecx + 0x32c], eax
mov eax, dword [edx + 0x330]
pop edi
mov dword [ecx + 0x330], eax
mov eax, dword [edx + 0x334]
pop esi
mov dword [ecx + 0x334], eax
mov eax, dword [edx + 0x338]
pop ebx
mov dword [ecx + 0x338], eax
mov eax, dword [edx + 0x33c]
mov dword [ecx + 0x33c], eax
mov eax, dword [edx + 0x340]
mov dword [ecx + 0x340], eax
mov eax, ecx
pop ebp
ret 4