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

Disassembly:
mov eax, 0x14
call fcn.101e1c60
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x2c]
mov ebx, edi
shld ecx, ebx, 5
xor edx, edx
shl ebx, 5
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
cmp ecx, edx
jb 0x101a2e1a
ja 0x101a2de0
cmp ebx, edx
jbe 0x101a2e1a
nop
movzx ebp, byte [eax]
mov dword [esi], ebp
movzx ebp, byte [eax + 1]
shl ebp, 8
or dword [esi], ebp
movzx ebp, byte [eax + 2]
shl ebp, 0x10
or dword [esi], ebp
movzx ebp, byte [eax + 3]
shl ebp, 0x18
or dword [esi], ebp
add eax, 4
add dword [esp + 0x14], 1
adc edx, 0
add esi, 4
cmp edx, ecx
jb 0x101a2de0
ja 0x101a2e1a
cmp dword [esp + 0x14], ebx
jb 0x101a2de0
mov ebx, dword [esp + 0x38]
xor ebp, ebp
mov eax, 1
mov dword [esp + 0x14], eax
cmp ebp, ebx
ja 0x101a2e74
jb 0x101a2e35
cmp eax, dword [esp + 0x34]
jae 0x101a2e74
mov eax, edi
shl eax, 7
mov dword [esp + 0x10], eax
jmp 0x101a2e44
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
push ecx
mov edx, esi
push edi
sub edx, eax
push edx
push esi
call fcn.101a2a00
add esp, 0x10
add dword [esp + 0x14], 1
adc ebp, 0
add esi, dword [esp + 0x10]
cmp ebp, ebx
jb 0x101a2e40
ja 0x101a2e74
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jb 0x101a2e40
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
dec edx
imul edx, edi
push ecx
shl edx, 7
add edx, dword [esp + 0x48]
push edi
push edx
push esi
call fcn.101a2a00
xor eax, eax
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp ebx, eax
jb 0x101a2f60
ja 0x101a2eb5
cmp dword [esp + 0x34], eax
jbe 0x101a2f60
mov eax, edi
shl eax, 7
lea ecx, [eax + esi - 0x40]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push ebx
push ecx
push 0
push eax
call fcn.101e67f0
imul eax, edi
shl eax, 7
add eax, dword [esp + 0x44]
xor ecx, ecx
xor edx, edx
test esi, esi
jb 0x101a2f20
ja 0x101a2ef6
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x101a2f20
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx + ecx*4]
xor ebx, dword [eax]
mov ebp, dword [esp + 0x40]
add eax, 4
mov dword [ebp + ecx*4], ebx
add ecx, 1
adc edx, 0
cmp edx, esi
jb 0x101a2ef6
ja 0x101a2f1c
cmp ecx, dword [esp + 0x1c]
jb 0x101a2ef6
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push edi
push eax
push ecx
call fcn.101a2a00
mov eax, dword [esp + 0x28]
add esp, 0x10
add dword [esp + 0x14], 1
adc eax, 0
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x101a2ec6
ja 0x101a2f60
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x34]
jb 0x101a2ec6
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
xor esi, esi
xor edi, edi
test ebp, ebp
jb 0x101a2fb2
ja 0x101a2f80
test edx, edx
je 0x101a2fb2
lea ebx, [ebx]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + esi*4]
mov byte [eax], cl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov ebx, ecx
shr ebx, 0x10
shr ecx, 0x18
mov byte [eax + 2], bl
mov byte [eax + 3], cl
add eax, 4
add esi, 1
adc edi, 0
cmp edi, ebp
jb 0x101a2f80
ja 0x101a2fb2
cmp esi, edx
jb 0x101a2f80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret