Function at 0x535e3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0x10]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 4]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0x14]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 8]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0x18]
mov dword [eax], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0x1c]
mov dword [eax + 4], edx
mov edx, 0xe
mov ecx, dword [eax + 8]
add ecx, ecx
and ecx, 0x1fe
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [eax + 8]
shr ebx, 7
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
xor ecx, dword [esi + ebx*4 + 4]
mov ebx, dword [eax + 8]
shr ebx, 0xf
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
xor ecx, dword [esi + ebx*4 + 0x800]
mov ebx, dword [eax + 8]
shr ebx, 0x17
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
xor ecx, dword [esi + ebx*4 + 0x804]
mov ebx, dword [eax + 0xc]
shr ebx, 0x17
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
mov ebx, dword [esi + ebx*4]
mov esi, dword [eax + 0xc]
add esi, esi
and esi, 0x1fe
mov edi, dword [ebp - 0xc]
xor ebx, dword [edi + esi*4 + 4]
mov esi, dword [eax + 0xc]
shr esi, 7
and esi, 0x1fe
mov edi, dword [ebp - 0xc]
xor ebx, dword [edi + esi*4 + 0x800]
mov esi, dword [eax + 0xc]
shr esi, 0xf
and esi, 0x1fe
mov edi, dword [ebp - 0xc]
xor ebx, dword [edi + esi*4 + 0x804]
mov dword [ebp - 4], ebx
mov ebx, dword [eax]
add ebx, ebx
mov esi, dword [eax]
shr esi, 0x1f
or ebx, esi
mov dword [eax], ebx
lea ebx, [edx + 1]
add ebx, ebx
add ebx, 8
mov esi, dword [ebp - 8]
mov ebx, dword [esi + ebx*4]
mov esi, ecx
add esi, dword [ebp - 4]
add ebx, esi
xor dword [eax], ebx
lea ebx, [edx + 1]
add ebx, ebx
add ebx, 8
mov esi, dword [ebp - 8]
mov ebx, dword [esi + ebx*4 + 4]
mov esi, dword [ebp - 4]
add esi, esi
add ecx, esi
add ebx, ecx
xor dword [eax + 4], ebx
mov ecx, dword [eax + 4]
shr ecx, 1
mov ebx, dword [eax + 4]
shl ebx, 0x1f
or ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [eax]
add ecx, ecx
and ecx, 0x1fe
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [eax]
shr ebx, 7
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
xor ecx, dword [esi + ebx*4 + 4]
mov ebx, dword [eax]
shr ebx, 0xf
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
xor ecx, dword [esi + ebx*4 + 0x800]
mov ebx, dword [eax]
shr ebx, 0x17
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
xor ecx, dword [esi + ebx*4 + 0x804]
mov ebx, dword [eax + 4]
shr ebx, 0x17
and ebx, 0x1fe
mov esi, dword [ebp - 0xc]
mov ebx, dword [esi + ebx*4]
mov esi, dword [eax + 4]
add esi, esi
and esi, 0x1fe
mov edi, dword [ebp - 0xc]
xor ebx, dword [edi + esi*4 + 4]
mov esi, dword [eax + 4]
shr esi, 7
and esi, 0x1fe
mov edi, dword [ebp - 0xc]
xor ebx, dword [edi + esi*4 + 0x800]
mov esi, dword [eax + 4]
shr esi, 0xf
and esi, 0x1fe
mov edi, dword [ebp - 0xc]
xor ebx, dword [edi + esi*4 + 0x804]
mov dword [ebp - 4], ebx
mov ebx, dword [eax + 8]
add ebx, ebx
mov esi, dword [eax + 8]
shr esi, 0x1f
or ebx, esi
mov dword [eax + 8], ebx
mov ebx, edx
add ebx, ebx
add ebx, 8
mov esi, dword [ebp - 8]
mov ebx, dword [esi + ebx*4]
mov esi, ecx
add esi, dword [ebp - 4]
add ebx, esi
xor dword [eax + 8], ebx
mov ebx, edx
add ebx, ebx
add ebx, 8
mov esi, dword [ebp - 8]
mov ebx, dword [esi + ebx*4 + 4]
mov esi, dword [ebp - 4]
add esi, esi
add ecx, esi
add ebx, ecx
xor dword [eax + 0xc], ebx
mov ecx, dword [eax + 0xc]
shr ecx, 1
mov ebx, dword [eax + 0xc]
shl ebx, 0x1f
or ecx, ebx
mov dword [eax + 0xc], ecx
sub edx, 2
test edx, edx
jge 0x535e90
xor ebx, ebx
mov edx, eax
mov ecx, dword [ebp + 8]
lea esi, [ebx]
mov edi, dword [ebp - 8]
mov esi, dword [edi + esi*4]
xor esi, dword [edx]
mov dword [ecx], esi
inc ebx
add ecx, 4
add edx, 4
cmp ebx, 4
jne 0x536084
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4