Function at 0x4b26db
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax]
mov edx, dword [ebp + 8]
cmp dword [edx + 4], ecx
jae 0x4b2726
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov cx, word [eax + 2]
xor ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [eax], edx
jmp 0x4b274b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x4b28f6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x20], 0
jne 0x4b28dc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 8]
and ecx, 7
test ecx, ecx
jne 0x4b2836
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
cmp dword [eax + 0x40], 0
jl 0x4b27b7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [edx + 0x3c]
cmp edx, dword [ecx + 0x40]
jl 0x4b27b7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 8]
or edx, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 8], edx
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x4b282e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x1c]
sub ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
cmp dword [edx + 0x1c], 0
jge 0x4b27ee
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.0048d880
add esp, 8
mov dword [ebp - 0x20], eax
jmp 0x4b2828
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x3c]
add ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x18]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
jmp 0x4b283d
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4b285a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 1
mov dword [ebp - 0x18], 0xff
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x1c]
mov byte [ebp - 0x14], al
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x18]
mov byte [ecx + 0x1c], dl
mov eax, dword [ebp - 0x14]
and eax, 0xff
cmp eax, 0xff
jne 0x4b28be
cmp dword [ebp - 0x18], 0x8f
jle 0x4b28a0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 0xff00
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 8
jmp 0x4b28bc
mov edx, dword [ebp - 0x18]
shl edx, 9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 7
jmp 0x4b28da
mov ecx, dword [ebp - 0x18]
shl ecx, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov dword [edx + 8], 8
jmp 0x4b28f6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, 0xff00
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0x8000
test edx, edx
je 0x4b274b
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret