Function at 0x4eabf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4eae11
sub esp, 0x24
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
jmp 0x4eac1f
cmp dword [esp + 0x1c], 5
jl 0x4eac28
jmp 0x4eac2a
jmp 0x4eac33
mov byte [esp + 0x38], 0
add esp, 0x24
ret
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], eax
setg al
mov byte [esp + 0x13], al
jg 0x4eac46
jmp 0x4eac7d
mov eax, dword [esp + 0x28]
test byte [eax], al
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 8], ecx
call eax
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x12], al
xor eax, 1
mov byte [esp + 0x13], al
jmp 0x4eac7f
jmp 0x4eac7f
movzx eax, byte [esp + 0x13]
test al, al
jne 0x4eac8a
jmp 0x4eac92
inc dword [esp + 0x20]
jmp 0x4eac90
jmp 0x4eac33
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], eax
je 0x4eac9e
jmp 0x4eaca7
mov byte [esp + 0x38], 1
add esp, 0x24
ret
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
cmp eax, 0x32
jl 0x4eacb6
jmp 0x4eacbf
mov byte [esp + 0x38], 0
add esp, 0x24
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
test byte [ecx], al
mov ecx, dword [ecx + 0x14]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call ecx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x30]
cmp eax, 2
jge 0x4eacf3
jmp 0x4ead01
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x18], eax
jmp 0x4ead9d
jmp 0x4ead03
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x20]
cmp eax, 2
jge 0x4ead12
jmp 0x4ead1d
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x14], eax
jmp 0x4ead2a
jmp 0x4ead1f
jmp 0x4ead21
inc dword [esp + 0x1c]
jmp 0x4eac1f
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x34], eax
jg 0x4ead36
jmp 0x4ead99
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
test byte [ecx], al
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call ecx
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x13], al
test al, al
jne 0x4ead6a
jmp 0x4ead97
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
test byte [ecx], al
mov ecx, dword [ecx + 0x14]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call ecx
jmp 0x4ead91
inc dword [esp + 0x14]
jmp 0x4ead2a
jmp 0x4ead9b
jmp 0x4ead9b
jmp 0x4ead1f
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x4eada7
jmp 0x4eae0a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
test byte [ecx], al
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call ecx
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x13], al
test al, al
jne 0x4eaddb
jmp 0x4eae08
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
test byte [ecx], al
mov ecx, dword [ecx + 0x14]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call ecx
jmp 0x4eae02
dec dword [esp + 0x18]
jmp 0x4ead9d
jmp 0x4eae0c
jmp 0x4eae0c
jmp 0x4ead03
call fcn.004743b0
jmp fcn.004eabf0