Function at 0x442ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
and ecx, 7
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 5
jae 0x442f15
xor eax, eax
jmp 0x443161
mov edx, dword [ebp + 0x10]
add edx, 5
mov dword [ebp + 0x10], edx
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx - 4]
mov dword [ebp - 0x14], eax
jmp 0x442f46
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x14]
jae 0x442f66
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
and ecx, 0xfe
cmp ecx, 0xe8
jne 0x442f64
jmp 0x442f66
jmp 0x442f3d
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jb 0x442f7c
jmp 0x44312d
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 3
jbe 0x442f94
mov dword [ebp - 4], 0
jmp 0x443005
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov edx, dword [ebp - 4]
shl edx, cl
and edx, 7
mov dword [ebp - 4], edx
je 0x443005
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x4d38ec]
mov edx, 4
sub edx, ecx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax + edx]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x4d38e4]
test eax, eax
je 0x442fe3
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x442fe3
movzx edx, byte [ebp - 0x15]
cmp edx, 0xff
jne 0x443005
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
shl ecx, 1
and ecx, 7
or ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x442f25
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x443029
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 4]
cmp ecx, 0xff
jne 0x443111
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 4]
shl eax, 0x18
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 3]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 2]
shl edx, 8
or eax, edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 1]
or eax, edx
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x18], 0
je 0x44306b
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x443079
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 4], 0
jne 0x443081
jmp 0x4430d1
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x4d38ec]
shl ecx, 3
mov dword [ebp - 0x24], ecx
mov ecx, 0x18
sub ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
shr edx, cl
mov byte [ebp - 0x25], dl
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x4430b7
movzx ecx, byte [ebp - 0x25]
cmp ecx, 0xff
je 0x4430b7
jmp 0x4430d1
mov ecx, 0x20
sub ecx, dword [ebp - 0x24]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
jmp 0x443057
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
and eax, 1
sub eax, 1
not eax
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], al
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
mov eax, dword [ebp - 0x10]
mov byte [eax + 3], dl
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
mov edx, dword [ebp - 0x10]
mov byte [edx + 2], cl
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 1], cl
mov edx, dword [ebp - 8]
add edx, 5
mov dword [ebp - 8], edx
jmp 0x443128
mov eax, dword [ebp - 4]
shl eax, 1
and eax, 7
or eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x442f25
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 3
jbe 0x443145
mov dword [ebp - 0x2c], 0
jmp 0x443156
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov eax, dword [ebp - 4]
shl eax, cl
and eax, 7
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret