Function at 0x52a360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x84], ebx
test edx, edx
je 0x52a6be
push esi
push edi
cmp dword [eax + 0x40], 0x40
jb 0x52a693
movups xmm0, xmmword [eax]
mov dword [ebp - 0x70], 0xa
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x24], xmm0
mov ecx, dword [ebp - 0x1c]
movups xmm0, xmmword [eax + 0x30]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x3c]
movups xmmword [ebp - 0x14], xmm0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x44]
nop
add ecx, dword [ebp - 0x68]
xor esi, ecx
mov dword [ebp - 0x5c], ecx
rol esi, 0x10
add edi, esi
mov ecx, edi
xor ecx, dword [ebp - 0x68]
rol ecx, 0xc
add dword [ebp - 0x5c], ecx
xor esi, dword [ebp - 0x5c]
rol esi, 8
add edi, esi
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x64], edi
xor edi, ecx
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x74]
xor edx, ecx
mov dword [ebp - 0x4c], ecx
rol edx, 0x10
add esi, edx
rol edi, 7
mov ecx, esi
xor ecx, dword [ebp - 0x74]
rol ecx, 0xc
add dword [ebp - 0x4c], ecx
xor edx, dword [ebp - 0x4c]
rol edx, 8
add esi, edx
mov dword [ebp - 0x7c], edx
mov edx, esi
mov dword [ebp - 0x60], esi
mov esi, dword [ebp - 0x6c]
xor edx, ecx
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x78]
xor esi, ecx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x48]
rol esi, 0x10
add ecx, esi
rol edx, 7
mov dword [ebp - 0x48], ecx
xor ecx, dword [ebp - 0x78]
rol ecx, 0xc
add dword [ebp - 0x50], ecx
xor esi, dword [ebp - 0x50]
rol esi, 8
add dword [ebp - 0x48], esi
mov dword [ebp - 0x6c], esi
mov esi, dword [ebp - 0x48]
xor esi, ecx
mov ecx, dword [ebp - 0x58]
add ecx, ebx
rol esi, 7
xor eax, ecx
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x54]
rol eax, 0x10
add ecx, eax
mov dword [ebp - 0x54], ecx
xor ecx, ebx
mov ebx, dword [ebp - 0x58]
rol ecx, 0xc
add ebx, ecx
xor eax, ebx
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x54]
rol eax, 8
add ebx, eax
mov dword [ebp - 0x54], ebx
xor ebx, ecx
mov ecx, dword [ebp - 0x5c]
add ecx, edx
rol ebx, 7
xor eax, ecx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x48]
rol eax, 0x10
add ecx, eax
mov dword [ebp - 0x48], ecx
xor ecx, edx
mov edx, dword [ebp - 0x5c]
rol ecx, 0xc
add edx, ecx
xor eax, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x48]
rol eax, 8
add edx, eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x1c], edx
xor edx, ecx
mov ecx, dword [ebp - 0x4c]
add ecx, esi
rol edx, 7
mov dword [ebp - 0x4c], ecx
xor ecx, dword [ebp - 0x68]
rol ecx, 0x10
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x54]
add edx, ecx
mov dword [ebp - 0x54], edx
xor edx, esi
mov esi, dword [ebp - 0x4c]
rol edx, 0xc
add esi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], esi
xor esi, ecx
mov ecx, dword [ebp - 0x54]
rol esi, 8
add ecx, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], ecx
xor ecx, edx
mov edx, dword [ebp - 0x64]
rol ecx, 7
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x50]
add ecx, ebx
mov dword [ebp - 0x50], ecx
xor ecx, dword [ebp - 0x7c]
rol ecx, 0x10
add edx, ecx
xor ebx, edx
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x50]
rol ebx, 0xc
add edx, ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x3c], edx
xor edx, ecx
mov ecx, dword [ebp - 0x64]
rol edx, 8
add ecx, edx
mov dword [ebp - 0x7c], edx
xor ebx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x58]
add ecx, edi
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x58], ecx
xor ecx, dword [ebp - 0x6c]
rol ecx, 0x10
add edx, ecx
rol ebx, 7
mov dword [ebp - 0x60], edx
xor edx, edi
mov edi, dword [ebp - 0x58]
rol edx, 0xc
add edi, edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x38], edi
xor edi, ecx
mov ecx, dword [ebp - 0x60]
rol edi, 8
add ecx, edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x20], ecx
xor ecx, edx
mov edx, dword [ebp - 0x7c]
rol ecx, 7
sub dword [ebp - 0x70], 1
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x5c]
jne 0x52a410
mov dword [ebp - 8], eax
lea edi, [ebp - 0x44]
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x40]
sub edi, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x84]
xor esi, esi
sub ecx, eax
lea edx, [eax + 8]
mov eax, ecx
nop word [eax + eax]
mov ecx, dword [edx - 8]
lea edx, [edx + 0x10]
add dword [ebp + esi*4 - 0x44], ecx
mov ecx, dword [edx - 0x14]
add dword [ebp + esi*4 - 0x40], ecx
add esi, 4
mov ecx, dword [edx - 0x10]
add dword [edi + edx - 0x10], ecx
mov ecx, dword [edx - 0xc]
add dword [eax + edx - 0x10], ecx
cmp esi, 0x10
jl 0x52a620
mov eax, dword [ebp - 0x80]
xor edi, edi
lea esi, [eax + 0x45]
nop
mov cl, byte [ebp + edi*4 - 0x44]
lea esi, [esi + 4]
mov edx, dword [ebp + edi*4 - 0x44]
inc edi
mov byte [esi - 5], cl
mov ecx, edx
shr ecx, 8
mov byte [esi - 4], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
mov byte [esi - 3], cl
mov byte [esi - 2], dl
cmp edi, 0x10
jl 0x52a650
mov dword [eax + 0x40], 0
add dword [eax + 0x30], 1
jne 0x52a68a
inc dword [eax + 0x34]
cmp dword [eax + 0x40], 0x40
mov edx, dword [ebp + 0x10]
jae 0x52a6b4
test edx, edx
je 0x52a6bc
mov ecx, dword [eax + 0x40]
dec edx
mov dword [ebp + 0x10], edx
mov cl, byte [ecx + eax + 0x44]
xor byte [ebx], cl
inc ebx
inc dword [eax + 0x40]
cmp dword [eax + 0x40], 0x40
mov dword [ebp - 0x84], ebx
jb 0x52a693
test edx, edx
jne 0x52a390
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret