Function at 0x2a962d70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x1c
call fcn.2a8cb5a0
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
mov edx, dword [esp + 0x28]
mov eax, edx
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, ecx
movlpd qword [esp + 0x14], xmm0
shld eax, ebp, 5
push esi
mov esi, dword [esp + 0x2c]
shl ebp, 5
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebp
push edi
mov edi, esi
test eax, eax
jb 0x2a962e14
ja 0x2a962db6
test ebp, ebp
je 0x2a962e14
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
movzx eax, byte [edi]
lea edi, [edi + 4]
mov dword [ebx], eax
movzx edx, byte [edi - 3]
shl edx, 8
or edx, eax
mov dword [ebx], edx
movzx ecx, byte [edi - 2]
shl ecx, 0x10
or ecx, edx
mov dword [ebx], ecx
movzx eax, byte [edi - 1]
shl eax, 0x18
or eax, ecx
add esi, 1
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
adc eax, 0
add ebx, 4
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jb 0x2a962dc2
ja 0x2a962e08
cmp esi, ebp
jb 0x2a962dc2
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
mov edi, 1
cmp eax, dword [esp + 0x40]
ja 0x2a962e72
jb 0x2a962e29
cmp edi, dword [esp + 0x3c]
jae 0x2a962e72
mov eax, ecx
mov ebp, ecx
mov dword [esp + 0x10], eax
shl ebp, 7
xor esi, esi
push edx
push ecx
mov eax, ebx
sub eax, ebp
push eax
push ebx
call fcn.2a962850
mov ecx, dword [esp + 0x44]
add esp, 0x10
mov edx, dword [esp + 0x38]
add edi, 1
adc esi, 0
add ebx, ebp
cmp esi, dword [esp + 0x40]
jb 0x2a962e36
ja 0x2a962e64
cmp edi, dword [esp + 0x3c]
jb 0x2a962e36
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
jmp 0x2a962e76
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x3c]
mov eax, edi
push dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
shl eax, 7
add eax, 0xffffff80
imul eax, dword [esp + 0x14]
push ecx
add eax, dword [esp + 0x54]
push eax
push ebx
call fcn.2a962850
mov ecx, dword [esp + 0x50]
add esp, 0x10
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
test ecx, ecx
jb 0x2a962f93
ja 0x2a962ebd
test edi, edi
je 0x2a962f93
mov eax, dword [esp + 0x10]
lea edx, [ebx - 0x40]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
shl eax, 7
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
push ecx
push edi
push 0
push dword [edx]
call fcn.2a981dd0
mov edi, eax
xorps xmm0, xmm0
imul edi, dword [esp + 0x10]
movlpd qword [esp + 0x14], xmm0
shl edi, 7
add edi, dword [esp + 0x4c]
test ebx, ebx
jb 0x2a962f44
ja 0x2a962f11
test ebp, ebp
je 0x2a962f44
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [esi + ecx*4]
lea edi, [edi + 4]
mov esi, dword [esp + 0x48]
xor eax, dword [edi - 4]
mov dword [esi + ecx*4], eax
add ecx, 1
mov esi, dword [esp + 0x44]
adc edx, 0
cmp edx, ebx
jb 0x2a962f20
ja 0x2a962f44
cmp ecx, ebp
jb 0x2a962f20
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x50]
push esi
call fcn.2a962850
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov edx, dword [esp + 0x24]
add eax, 1
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
adc edx, 0
mov dword [esp + 0x24], edx
cmp edx, ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jb 0x2a962ee5
ja 0x2a962f8d
cmp eax, edi
jb 0x2a962ee5
mov esi, dword [esp + 0x30]
jmp 0x2a962f97
mov ebx, dword [esp + 0x14]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
test ebx, ebx
jb 0x2a962fe5
ja 0x2a962faa
test ebp, ebp
je 0x2a962fe5
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
lea esi, [esi + 4]
mov ecx, dword [eax + edx*4]
mov eax, ecx
shr eax, 8
mov byte [esi - 4], cl
mov byte [esi - 3], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
add edx, 1
mov byte [esi - 2], al
adc edi, 0
mov byte [esi - 1], cl
cmp edi, ebx
jb 0x2a962fb2
ja 0x2a962fe5
cmp edx, ebp
jb 0x2a962fb2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret