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

Disassembly:
mov eax, 0x14
call fcn.00544cc0
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 0x534e8a
ja 0x534e50
cmp ebx, edx
jbe 0x534e8a
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 0x534e50
ja 0x534e8a
cmp dword [esp + 0x14], ebx
jb 0x534e50
mov ebx, dword [esp + 0x38]
xor ebp, ebp
mov eax, 1
mov dword [esp + 0x14], eax
cmp ebp, ebx
ja 0x534ee4
jb 0x534ea5
cmp eax, dword [esp + 0x34]
jae 0x534ee4
mov eax, edi
shl eax, 7
mov dword [esp + 0x10], eax
jmp 0x534eb4
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.00534a70
add esp, 0x10
add dword [esp + 0x14], 1
adc ebp, 0
add esi, dword [esp + 0x10]
cmp ebp, ebx
jb 0x534eb0
ja 0x534ee4
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jb 0x534eb0
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.00534a70
xor eax, eax
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp ebx, eax
jb 0x534fd0
ja 0x534f25
cmp dword [esp + 0x34], eax
jbe 0x534fd0
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.00544f30
imul eax, edi
shl eax, 7
add eax, dword [esp + 0x44]
xor ecx, ecx
xor edx, edx
test esi, esi
jb 0x534f90
ja 0x534f66
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x534f90
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 0x534f66
ja 0x534f8c
cmp ecx, dword [esp + 0x1c]
jb 0x534f66
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.00534a70
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 0x534f36
ja 0x534fd0
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x34]
jb 0x534f36
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 0x535022
ja 0x534ff0
test edx, edx
je 0x535022
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 0x534ff0
ja 0x535022
cmp esi, edx
jb 0x534ff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret