Function at 0x457dd8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.004390c5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
xchg edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
xchg edx, eax
sub eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x457fbc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x10
jne 0x457fb1
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0044f111
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x457e86
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x10
jne 0x457ea3
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jae 0x457ea3
jmp 0x457ea7
xor eax, eax
jmp 0x457eaa
xor eax, eax
inc eax
cmp eax, 0
jne 0x457e7b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x457ec3
mov eax, dword [0x5778c4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
xor al, 1
cmp eax, 0
je 0x457ee2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
jne 0x457ee2
jmp 0x457ee6
xor eax, eax
jmp 0x457ee9
xor eax, eax
inc eax
cmp eax, 0
je 0x457f9b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
push eax
call fcn.0044ebdc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5717f8]
cmp eax, edx
je 0x457f37
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x571800]
cmp eax, edx
je 0x457f37
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x571808]
cmp eax, edx
je 0x457f37
xor eax, eax
jmp 0x457f3a
xor eax, eax
inc eax
cmp eax, 0
je 0x457f49
mov eax, dword [0x5778dc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5717fc]
cmp eax, edx
je 0x457f74
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x571804]
cmp eax, edx
je 0x457f74
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x57180c]
cmp eax, edx
je 0x457f74
xor eax, eax
jmp 0x457f77
xor eax, eax
inc eax
cmp eax, 0
je 0x457f86
mov eax, dword [0x5778f0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5717b8]
cmp eax, edx
jne 0x457f9b
mov eax, dword [0x5778c4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x28]
shl eax, 4
add eax, edx
push eax
push dword [ebp - 0x14]
call fcn.0042f873
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jb 0x457e31
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
xchg edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
xchg edx, eax
sub eax, edx
mov edx, dword [ebp - 0x1c]
cmp eax, edx
seta al
xor ah, ah
cwde
leave
ret 0xc