Function at 0x457e86
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.00439167
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 0x45806a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x10
jne 0x45805f
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0044f191
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 0x457f34
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 0x457f51
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jae 0x457f51
jmp 0x457f55
xor eax, eax
jmp 0x457f58
xor eax, eax
inc eax
cmp eax, 0
jne 0x457f29
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x457f71
mov eax, dword [0x5779b0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
xor al, 1
cmp eax, 0
je 0x457f90
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
jne 0x457f90
jmp 0x457f94
xor eax, eax
jmp 0x457f97
xor eax, eax
inc eax
cmp eax, 0
je 0x458049
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
push eax
call fcn.0044ec5c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5718e4]
cmp eax, edx
je 0x457fe5
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5718ec]
cmp eax, edx
je 0x457fe5
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5718f4]
cmp eax, edx
je 0x457fe5
xor eax, eax
jmp 0x457fe8
xor eax, eax
inc eax
cmp eax, 0
je 0x457ff7
mov eax, dword [0x5779c8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5718e8]
cmp eax, edx
je 0x458022
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5718f0]
cmp eax, edx
je 0x458022
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5718f8]
cmp eax, edx
je 0x458022
xor eax, eax
jmp 0x458025
xor eax, eax
inc eax
cmp eax, 0
je 0x458034
mov eax, dword [0x5779dc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x5718a4]
cmp eax, edx
jne 0x458049
mov eax, dword [0x5779b0]
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.0042f906
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 0x457edf
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