Function at 0x484a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [ecx]
mov edi, ecx
test ebx, ebx
je 0x484a6d
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
cmp ecx, edx
jae 0x484a6d
movzx eax, byte [ebx + ecx]
cmp eax, 0x49
je 0x484a84
cmp eax, 0x42
jne 0x484a6d
lea esi, [ecx + 1]
cmp esi, edx
mov dword [edi + 8], esi
jae 0x484b1f
cmp byte [ebx + esi], 0x5f
jne 0x484b1f
lea eax, [ecx + 2]
xor edx, edx
mov dword [edi + 8], eax
mov eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb edx, 0
jb 0x484bce
jmp 0x484c1f
mov ecx, edi
xor edx, edx
call fcn.004801a0
mov ebx, eax
add bl, bl
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
inc ecx
xor edx, edx
mov dword [edi + 8], ecx
mov ecx, edi
call fcn.004801a0
test al, al
jne 0x484c5b
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x484ab7
mov edx, 0x5805bb
push 1
call fcn.0046af00
add esp, 4
test al, al
jne 0x484c5b
mov eax, dword [edi]
mov bl, 1
test eax, eax
je 0x484a7a
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, dword [edi + 8]
cmp ecx, dword [edi + 4]
jae 0x484ae2
cmp byte [eax + ecx], 0x45
je 0x484c82
sub esi, 1
jb 0x484b05
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x484b05
mov edx, 0x580865
push 2
call fcn.0046af00
add esp, 4
test al, al
jne 0x484c5b
mov ecx, edi
call fcn.00481850
test al, al
jne 0x484c5b
mov eax, dword [edi]
test eax, eax
jne 0x484ad0
jmp 0x484a7a
cmp esi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
cmova edx, esi
xor ecx, ecx
mov dword [ebp - 0x20], edx
xor edx, edx
nop word cs:[eax + eax]
nop
cmp dword [ebp - 0x20], esi
je 0x484c1f
movzx eax, byte [ebx + esi]
cmp al, 0x5f
je 0x484bb8
mov bl, 1
mov dword [ebp - 0x10], ebx
mov ebx, eax
add bl, 0xd0
cmp bl, 0xa
jb 0x484b80
mov ah, al
add ah, 0x9f
cmp ah, 0x1a
jae 0x484b6e
add al, 0xa9
jmp 0x484b7e
mov ah, al
add ah, 0xbf
cmp ah, 0x1a
jae 0x484c24
add al, 0xe3
mov ebx, eax
mov eax, edx
mov edx, 0x3e
inc esi
mul edx
mov edx, 0x3e
mov edi, eax
mov eax, ecx
seto bh
mul edx
add edx, edi
mov edi, dword [ebp - 0x1c]
setb cl
or cl, bh
mov dword [edi + 8], esi
jne 0x484c24
mov ecx, eax
movzx ebx, bl
add ecx, ebx
mov ebx, dword [ebp - 0x18]
adc edx, 0
jae 0x484b40
jmp 0x484c24
inc esi
add ecx, 1
adc edx, 0
mov dword [edi + 8], esi
jb 0x484c1f
mov eax, dword [ebp - 0x14]
cmp ecx, eax
sbb edx, 0
jae 0x484c1f
mov eax, dword [edi + 0xc]
inc eax
cmp eax, 0x1f4
ja 0x484c62
cmp dword [edi + 0x10], 0
je 0x484c7b
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov dword [edi + 8], ecx
mov ecx, edi
mov dword [edi + 0xc], eax
movsd qword [ebp - 0x28], xmm1
movsd qword [ebp - 0x30], xmm0
call fcn.00484a10
movsd xmm0, qword [ebp - 0x30]
movsd xmm1, qword [ebp - 0x28]
movsd qword [edi], xmm0
movsd qword [edi + 8], xmm1
jmp 0x484a7c
mov al, 1
mov dword [ebp - 0x10], eax
xor eax, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x484c72
mov ebx, dword [ebp - 0x10]
mov esi, eax
mov edx, 0x580844
mov eax, ebx
xor al, 1
test bl, bl
mov ebx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
movzx eax, al
cmovne edx, ebx
lea eax, [eax + eax*8 + 0x10]
push eax
call fcn.0046af00
add esp, 4
test al, al
mov eax, esi
je 0x484c72
mov bl, 2
jmp 0x484a7a
mov al, 1
mov dword [ebp - 0x10], 0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x484c2d
mov dword [edi], 0
mov byte [edi + 4], al
xor ebx, ebx
jmp 0x484a7a
inc ecx
mov dword [edi + 8], ecx
jmp 0x484a7a