Function at 0x52bec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
xor edx, edx
push ebx
push esi
push edi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov bl, byte [eax + 1]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
shl ebx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 3]
add eax, 4
or edx, ebx
xor ebx, ebx
mov dword [ebp - 4], edx
xor edx, edx
mov dl, byte [eax]
mov bl, byte [eax + 1]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
shl ebx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 3]
add eax, 4
or edx, ebx
xor ebx, ebx
mov dword [ebp - 8], edx
xor edx, edx
mov dl, byte [eax]
mov bl, byte [eax + 1]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
shl ebx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 3]
add eax, 4
or edx, ebx
xor ebx, ebx
mov dword [ebp - 0xc], edx
xor edx, edx
mov dl, byte [eax]
mov bl, byte [eax + 1]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
shl ebx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 3]
add eax, 4
or edx, ebx
xor ebx, ebx
mov dword [ebp - 0x10], edx
xor edx, edx
mov dl, byte [eax]
mov bl, byte [eax + 1]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ebx, 8
or edx, ebx
or edx, eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x170], ecx
mov ecx, 1
xor edx, edx
inc ecx
mov dword [eax], edx
add eax, 4
cmp ecx, 0x10
jl 0x52bfa7
mov ecx, 0x10
lea eax, [ebp - 0x13c]
mov edx, dword [eax]
inc ecx
xor edx, dword [eax - 0x14]
xor edx, dword [eax - 0x2c]
xor edx, dword [eax - 0x34]
mov dword [eax + 0xc], edx
add eax, 4
cmp ecx, 0x50
jl 0x52bfbf
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea ebx, [ebp - 0x170]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 0x24], ebx
mov ebx, edx
mov esi, edx
shl esi, 5
mov edi, eax
shr ebx, 0x1b
inc ecx
not edi
or ebx, esi
mov esi, dword [ebp - 0x18]
and edi, dword [ebp - 0x1c]
and esi, eax
or esi, edi
add ebx, esi
mov esi, dword [ebp - 0x24]
add ebx, dword [ebp - 0x20]
add ebx, dword [esi]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
add ebx, 0xaa857398
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov esi, eax
shl eax, 0x1e
shr esi, 2
or esi, eax
mov eax, edx
mov dword [ebp - 0x18], esi
mov edx, ebx
add dword [ebp - 0x24], 4
cmp ecx, 0x14
jl 0x52bff9
mov ecx, 0x14
lea ebx, [ebp - 0x120]
mov dword [ebp - 0x28], ebx
mov ebx, edx
mov esi, edx
shl esi, 5
inc ecx
shr ebx, 0x1b
or ebx, esi
mov esi, dword [ebp - 0x18]
xor esi, eax
xor esi, dword [ebp - 0x1c]
add ebx, esi
mov esi, dword [ebp - 0x28]
add ebx, dword [ebp - 0x20]
add ebx, dword [esi]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
add ebx, 0x938e7ffa
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov esi, eax
shl eax, 0x1e
shr esi, 2
or esi, eax
mov eax, edx
mov dword [ebp - 0x18], esi
mov edx, ebx
add dword [ebp - 0x28], 4
cmp ecx, 0x28
jl 0x52c058
mov ecx, 0x28
lea ebx, [ebp - 0xd0]
mov dword [ebp - 0x2c], ebx
mov ebx, edx
mov esi, edx
shl esi, 5
mov edi, dword [ebp - 0x1c]
shr ebx, 0x1b
and edi, eax
or ebx, esi
mov esi, dword [ebp - 0x18]
and esi, eax
inc ecx
or esi, edi
mov edi, dword [ebp - 0x18]
and edi, dword [ebp - 0x1c]
or esi, edi
add ebx, esi
mov esi, dword [ebp - 0x2c]
add ebx, dword [ebp - 0x20]
add ebx, dword [esi]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
add ebx, 0x736a7d8a
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov esi, eax
shl eax, 0x1e
shr esi, 2
or esi, eax
mov eax, edx
mov dword [ebp - 0x18], esi
mov edx, ebx
add dword [ebp - 0x2c], 4
cmp ecx, 0x3c
jl 0x52c0b1
mov ecx, 0x3c
lea ebx, [ebp - 0x80]
mov dword [ebp - 0x30], ebx
mov ebx, edx
mov esi, edx
shl esi, 5
inc ecx
shr ebx, 0x1b
or ebx, esi
mov esi, dword [ebp - 0x18]
xor esi, eax
xor esi, dword [ebp - 0x1c]
add ebx, esi
mov esi, dword [ebp - 0x30]
add ebx, dword [ebp - 0x20]
add ebx, dword [esi]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
add ebx, 0x837bba77
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov esi, eax
shl eax, 0x1e
shr esi, 2
or esi, eax
mov eax, edx
mov dword [ebp - 0x18], esi
mov edx, ebx
add dword [ebp - 0x30], 4
cmp ecx, 0x50
jl 0x52c113
mov ecx, dword [ebp + 0x10]
add edx, dword [ebp - 4]
mov dword [ecx], edx
add eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
add eax, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x20]
mov dword [eax + 0x10], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret