Function at 0x480ad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov word [esp + 0x62], 0x266
mov dword [esp + 0x50], 0x434cc773
mov edi, edx
and edi, edi
mov ebx, esi
and ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
call fcn.0047eea0
mov ecx, 0x52d3b980
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, edx
mul ecx
mov ecx, dword [esp + 0x24]
imul esi, ecx, 0x52d3b980
add edx, esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x68], 0xc721d68e
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
mov esi, edx
add esi, 0x14
mov edx, dword [edx + 0x14]
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
or ebx, 0x4c337530
mov eax, dword [esp + 0x30]
test eax, eax
setne al
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x64], 0xbbd7a67e
cmp edx, esi
mov byte [esp + 0x1f], al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
je 0x480d2e
jmp 0x480d96
mov eax, dword [esp + 0x14]
and eax, 0x25b81699
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], ecx
jmp 0x480d2e
mov eax, dword [esp + 0x54]
add eax, 0xfffffff8
mov dword [esp + 0x44], eax
jmp 0x480d2e
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x504c5820
mov eax, dword [esp + 0x28]
or eax, 0x2674de1e
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0x62]
add eax, 0xfffffdb4
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x64], edi
mov ebx, edi
mov dl, bl
mov dword [esp + 0x10], ecx
mov cl, dl
shr edi, cl
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x28]
mov ebx, edi
mov cl, bl
xor ebx, ebx
mov edx, 0x2da03190
mov byte [esp + 0xf], cl
shrd edx, ebx, cl
mov cl, byte [esp + 0xf]
test cl, 0x20
cmovne edx, ebx
cmovne ebx, ebx
mov ecx, dword [esp + 0x10]
movzx esi, word [esi + ecx*2]
mov di, si
mov ecx, esi
add ecx, 0xffffffbf
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edx
add esi, 0x20
movzx edx, cx
mov cx, ax
movzx eax, cx
sub edx, eax
cmovb di, si
movzx eax, di
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
movzx esi, word [ebx + esi*2]
sub esi, eax
sete byte [esp + 0x43]
mov eax, dword [esp + 0x28]
not eax
mov ebx, dword [esp + 0x24]
not ebx
test di, di
setne cl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
add eax, 1
and cl, byte [esp + 0x43]
cmp eax, dword [esp + 0x3c]
setb ch
and cl, ch
mov dword [esp + 0x34], eax
test cl, 1
mov dword [esp + 8], edx
mov dword [esp + 4], esi
jne 0x480bda
jmp 0x480d09
mov eax, 0x13f154cd
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x64], 0x50583a8f
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x18]
cmp eax, edx
je 0x480d2e
jmp 0x480d96
mov eax, dword [esp + 0x28]
xor eax, 0x1b0f67ca
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
test byte [esp + 0x43], 1
jne 0x480bae
jmp 0x480e26
mov eax, dword [esp + 0x44]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
movzx eax, word [esp + 0x62]
add eax, 0xfffffd9b
mov ecx, dword [esp + 0x38]
movzx ecx, word [ecx]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], edx
or edx, edx
mov bl, al
mov dword [esp], ecx
mov cl, bl
mov eax, dword [esp]
shr eax, cl
mov si, ax
mov dword [esp + 0x64], edx
movzx eax, si
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x12aee7b0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0
cmp si, 0
je 0x480e26
jmp 0x480bda
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov ecx, eax
add ecx, 0x24
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x14]
mov dl, cl
mov cl, dl
mov esi, dword [esp + 0x14]
shr esi, cl
mov dword [esp + 0x64], esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
and eax, eax
mov esi, dword [esp + 0x24]
and esi, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
and esi, 0x11003f82
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0
mov esi, dword [esp + 0x30]
cmp dword [eax], esi
sete cl
mov dl, byte [esp + 0x1f]
and dl, cl
test dl, 1
jne 0x480bca
jmp 0x480d3a
mov eax, dword [esp + 0x28]
or eax, 0x66a1893d
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x40e3254c
cmp edx, 0x46fb9e9f
jae 0x480e26
jmp 0x480cd1