Function at 0x47b1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor edx, edx
push ebx
xor ebx, ebx
add ecx, 0x90
push esi
push edi
mov dword [ebp - 0x334], ecx
mov eax, ecx
mov dword [ebp - 0x330], ecx
cmp dword [eax], 0
je 0x47b22f
mov eax, dword [ecx + ebx*4]
xor esi, esi
lea edi, [esi + 0x20]
mov edi, edi
movzx ecx, word [eax]
lea eax, [eax + 4]
add edx, ecx
movzx ecx, word [eax - 2]
add esi, ecx
dec edi
jne 0x47b210
mov eax, dword [ebp - 0x330]
add edx, esi
mov ecx, dword [ebp - 0x334]
inc ebx
add eax, 4
mov dword [ebp - 0x330], eax
cmp ebx, 4
jl 0x47b201
mov esi, dword [ecx]
test esi, esi
je 0x47b920
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x94]
test edi, edi
je 0x47b5ce
movdqa xmm0, xmmword [0x5d85d0]
movdqu xmmword [ebp - 0x198], xmm0
mov dword [ebp - 8], 0
movdqa xmm0, xmmword [0x5d85b0]
movdqu xmmword [ebp - 0x188], xmm0
movdqa xmm0, xmmword [0x5d85a0]
movdqu xmmword [ebp - 0x178], xmm0
movdqa xmm0, xmmword [0x5d8590]
movdqu xmmword [ebp - 0x168], xmm0
movdqa xmm0, xmmword [0x5d8570]
movdqu xmmword [ebp - 0x158], xmm0
movdqa xmm0, xmmword [0x5d8560]
movdqu xmmword [ebp - 0x148], xmm0
movdqa xmm0, xmmword [0x5d8550]
movdqu xmmword [ebp - 0x138], xmm0
movdqa xmm0, xmmword [0x5d8540]
movdqu xmmword [ebp - 0x128], xmm0
movdqa xmm0, xmmword [0x5d8520]
movdqu xmmword [ebp - 0x118], xmm0
movdqa xmm0, xmmword [0x5d8500]
movdqu xmmword [ebp - 0x108], xmm0
movdqa xmm0, xmmword [0x5d84b0]
movdqu xmmword [ebp - 0xf8], xmm0
movdqa xmm0, xmmword [0x5d8490]
movdqu xmmword [ebp - 0xe8], xmm0
movdqa xmm0, xmmword [0x5d8480]
movdqu xmmword [ebp - 0xd8], xmm0
movdqa xmm0, xmmword [0x5d8460]
movdqu xmmword [ebp - 0xc8], xmm0
movdqa xmm0, xmmword [0x5d8440]
movdqu xmmword [ebp - 0xb8], xmm0
movdqa xmm0, xmmword [0x5d8420]
movdqu xmmword [ebp - 0xa8], xmm0
movdqa xmm0, xmmword [0x5d8400]
movdqu xmmword [ebp - 0x98], xmm0
movdqa xmm0, xmmword [0x5d83e0]
movdqu xmmword [ebp - 0x88], xmm0
movdqa xmm0, xmmword [0x5d83a0]
movdqu xmmword [ebp - 0x78], xmm0
movdqa xmm0, xmmword [0x5d8370]
movdqu xmmword [ebp - 0x68], xmm0
movdqa xmm0, xmmword [0x5d8340]
movdqu xmmword [ebp - 0x58], xmm0
movdqa xmm0, xmmword [0x5d8300]
movdqu xmmword [ebp - 0x48], xmm0
movdqa xmm0, xmmword [str.71__20_974JF__FDB_]
movdqu xmmword [ebp - 0x38], xmm0
movdqa xmm0, xmmword [0x5d82a0]
movdqu xmmword [ebp - 0x28], xmm0
movdqa xmm0, xmmword [0x5d8280]
movdqu xmmword [ebp - 0x18], xmm0
movdqa xmm0, xmmword [0x5d88a0]
movdqu xmmword [ebp - 0x32c], xmm0
movdqa xmm0, xmmword [0x5d8890]
movdqu xmmword [ebp - 0x31c], xmm0
movdqa xmm0, xmmword [0x5d8880]
movdqu xmmword [ebp - 0x30c], xmm0
movdqa xmm0, xmmword [0x5d8870]
movdqu xmmword [ebp - 0x2fc], xmm0
movdqa xmm0, xmmword [0x5d8860]
movdqu xmmword [ebp - 0x2ec], xmm0
movdqa xmm0, xmmword [0x5d8850]
movdqu xmmword [ebp - 0x2dc], xmm0
movdqa xmm0, xmmword [0x5d8840]
movdqu xmmword [ebp - 0x2cc], xmm0
movdqa xmm0, xmmword [0x5d8820]
movdqu xmmword [ebp - 0x2bc], xmm0
movdqa xmm0, xmmword [0x5d8800]
movdqu xmmword [ebp - 0x2ac], xmm0
movdqa xmm0, xmmword [0x5d87e0]
movdqu xmmword [ebp - 0x29c], xmm0
movdqa xmm0, xmmword [0x5d87d0]
movdqu xmmword [ebp - 0x28c], xmm0
movdqa xmm0, xmmword [0x5d87b0]
movdqu xmmword [ebp - 0x27c], xmm0
movdqa xmm0, xmmword [0x5d8790]
movdqu xmmword [ebp - 0x26c], xmm0
movdqa xmm0, xmmword [0x5d8780]
movdqu xmmword [ebp - 0x25c], xmm0
movdqa xmm0, xmmword [0x5d8760]
movdqu xmmword [ebp - 0x24c], xmm0
movdqa xmm0, xmmword [0x5d8750]
movzx eax, word [esi + 0x6a]
movzx ecx, word [edi + 0x7e]
movdqu xmmword [ebp - 0x23c], xmm0
add ecx, eax
movzx eax, word [esi + 4]
movdqa xmm0, xmmword [0x5d8730]
add ecx, eax
movzx eax, word [edi]
movdqu xmmword [ebp - 0x22c], xmm0
add ecx, eax
mov dword [ebp - 0x19c], 0
movdqa xmm0, xmmword [0x5d8710]
xor eax, eax
movdqu xmmword [ebp - 0x21c], xmm0
movdqa xmm0, xmmword [0x5d86e0]
movdqu xmmword [ebp - 0x20c], xmm0
movdqa xmm0, xmmword [0x5d86b0]
movdqu xmmword [ebp - 0x1fc], xmm0
movdqa xmm0, xmmword [0x5d8680]
movdqu xmmword [ebp - 0x1ec], xmm0
movdqa xmm0, xmmword [0x5d8640]
movdqu xmmword [ebp - 0x1dc], xmm0
movdqa xmm0, xmmword [0x5d8610]
movdqu xmmword [ebp - 0x1cc], xmm0
movdqa xmm0, xmmword [0x5d85c0]
movdqu xmmword [ebp - 0x1bc], xmm0
movdqa xmm0, xmmword [0x5d83c0]
movdqu xmmword [ebp - 0x1ac], xmm0
lea esp, [esp]
cmp ecx, dword [ebp + eax*4 - 0x198]
jge 0x47b5bc
cmp edx, dword [ebp + eax*4 - 0x32c]
jge 0x47b5bc
inc eax
cmp eax, 0x64
jl 0x47b590
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
pop edi
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x47b920
movdqa xmm0, xmmword [0x5d8530]
movdqu xmmword [ebp - 0x32c], xmm0
mov dword [ebp - 0x19c], 0
movdqa xmm0, xmmword [0x5d8510]
movdqu xmmword [ebp - 0x31c], xmm0
movdqa xmm0, xmmword [0x5d84f0]
movdqu xmmword [ebp - 0x30c], xmm0
movdqa xmm0, xmmword [0x5d84d0]
movdqu xmmword [ebp - 0x2fc], xmm0
movdqa xmm0, xmmword [0x5d84c0]
movdqu xmmword [ebp - 0x2ec], xmm0
movdqa xmm0, xmmword [0x5d84a0]
movdqu xmmword [ebp - 0x2dc], xmm0
movdqa xmm0, xmmword [0x5d8470]
movdqu xmmword [ebp - 0x2cc], xmm0
movdqa xmm0, xmmword [0x5d8450]
movdqu xmmword [ebp - 0x2bc], xmm0
movdqa xmm0, xmmword [0x5d8430]
movdqu xmmword [ebp - 0x2ac], xmm0
movdqa xmm0, xmmword [0x5d8410]
movdqu xmmword [ebp - 0x29c], xmm0
movdqa xmm0, xmmword [0x5d83f0]
movdqu xmmword [ebp - 0x28c], xmm0
movdqa xmm0, xmmword [0x5d83d0]
movdqu xmmword [ebp - 0x27c], xmm0
movdqa xmm0, xmmword [0x5d83b0]
movdqu xmmword [ebp - 0x26c], xmm0
movdqa xmm0, xmmword [0x5d8390]
movdqu xmmword [ebp - 0x25c], xmm0
movdqa xmm0, xmmword [0x5d8380]
movdqu xmmword [ebp - 0x24c], xmm0
movdqa xmm0, xmmword [0x5d8360]
movdqu xmmword [ebp - 0x23c], xmm0
movdqa xmm0, xmmword [0x5d8350]
movdqu xmmword [ebp - 0x22c], xmm0
movdqa xmm0, xmmword [0x5d8330]
movdqu xmmword [ebp - 0x21c], xmm0
movdqa xmm0, xmmword [0x5d8310]
movdqu xmmword [ebp - 0x20c], xmm0
movdqa xmm0, xmmword [0x5d82f0]
movdqu xmmword [ebp - 0x1fc], xmm0
movdqa xmm0, xmmword [0x5d82e0]
movdqu xmmword [ebp - 0x1ec], xmm0
movdqa xmm0, xmmword [0x5d82c0]
movdqu xmmword [ebp - 0x1dc], xmm0
movdqa xmm0, xmmword [0x5d82b0]
movdqu xmmword [ebp - 0x1cc], xmm0
movdqa xmm0, xmmword [0x5d8290]
movdqu xmmword [ebp - 0x1bc], xmm0
movdqa xmm0, xmmword [0x5d8270]
movdqu xmmword [ebp - 0x1ac], xmm0
movdqa xmm0, xmmword [0x5d8830]
movdqu xmmword [ebp - 0x198], xmm0
movdqa xmm0, xmmword [0x5d8810]
movdqu xmmword [ebp - 0x188], xmm0
movdqa xmm0, xmmword [0x5d87f0]
movdqu xmmword [ebp - 0x178], xmm0
movdqa xmm0, xmmword [0x5d87c0]
movdqu xmmword [ebp - 0x168], xmm0
movdqa xmm0, xmmword [0x5d87a0]
movdqu xmmword [ebp - 0x158], xmm0
movdqa xmm0, xmmword [0x5d8770]
movdqu xmmword [ebp - 0x148], xmm0
movdqa xmm0, xmmword [0x5d8740]
movdqu xmmword [ebp - 0x138], xmm0
movdqa xmm0, xmmword [0x5d8720]
movdqu xmmword [ebp - 0x128], xmm0
movdqa xmm0, xmmword [0x5d8700]
movdqu xmmword [ebp - 0x118], xmm0
movdqa xmm0, xmmword [0x5d86f0]
movdqu xmmword [ebp - 0x108], xmm0
movdqa xmm0, xmmword [0x5d86d0]
movdqu xmmword [ebp - 0xf8], xmm0
movdqa xmm0, xmmword [0x5d86c0]
movdqu xmmword [ebp - 0xe8], xmm0
movdqa xmm0, xmmword [0x5d86a0]
movdqu xmmword [ebp - 0xd8], xmm0
movdqa xmm0, xmmword [0x5d8690]
movdqu xmmword [ebp - 0xc8], xmm0
movdqa xmm0, xmmword [0x5d8670]
movdqu xmmword [ebp - 0xb8], xmm0
movdqa xmm0, xmmword [0x5d8660]
movzx eax, word [esi + 4]
movdqu xmmword [ebp - 0xa8], xmm0
movzx ecx, word [esi + 0x6a]
movdqa xmm0, xmmword [0x5d8650]
add ecx, eax
movdqu xmmword [ebp - 0x98], xmm0
xor eax, eax
mov dword [ebp - 8], 0
movdqa xmm0, xmmword [0x5d8630]
movdqu xmmword [ebp - 0x88], xmm0
movdqa xmm0, xmmword [0x5d8620]
movdqu xmmword [ebp - 0x78], xmm0
movdqa xmm0, xmmword [0x5d8600]
movdqu xmmword [ebp - 0x68], xmm0
movdqa xmm0, xmmword [0x5d85f0]
movdqu xmmword [ebp - 0x58], xmm0
movdqa xmm0, xmmword [0x5d85e0]
movdqu xmmword [ebp - 0x48], xmm0
movdqa xmm0, xmmword [0x5d8580]
movdqu xmmword [ebp - 0x38], xmm0
movdqa xmm0, xmmword [0x5d84e0]
movdqu xmmword [ebp - 0x28], xmm0
movdqa xmm0, xmmword [0x5d8320]
movdqu xmmword [ebp - 0x18], xmm0
mov edi, edi
cmp ecx, dword [ebp + eax*4 - 0x32c]
jge 0x47b5bc
cmp edx, dword [ebp + eax*4 - 0x198]
jge 0x47b5bc
inc eax
cmp eax, 0x64
jl 0x47b900
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret