Function at 0x52a8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov edx, dword [ebp + 0x10]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x38], eax
test edx, edx
je 0x52ae5a
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp edi, 0x20
setae al
lea ecx, [edi - 0x20]
cmp ecx, esi
mov ebx, dword [ebp + 0x18]
setae cl
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
test al, cl
jne 0x52a995
cmp edi, esi
jb 0x52a995
cmp edx, 0x10
jb 0x52a9f2
nop dword [eax]
mov dword [esp], esi
mov ecx, dword [ebp + 0x1c]
mov esi, edx
call dword [section..00cfg]
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push edi
call dword [ebp + 0x1c]
mov edx, esi
mov esi, dword [esp + 0xc]
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [ebx]
xor ecx, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 4]
xor ecx, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 8]
xor ecx, dword [esp + 0x28]
mov dword [esi + 8], ecx
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + 0xc]
xor ecx, dword [esp + 0x2c]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0xc], eax
add edx, 0xfffffff0
add edi, 0x10
add esi, 0x10
cmp edx, 0xf
ja 0x52a920
mov dword [esp], esi
jmp 0x52aa0c
cmp edx, 0x10
jb 0x52a9fc
nop word [eax + eax]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 0x1c]
call dword [section..00cfg]
push dword [ebp + 0x14]
push esi
push edi
call dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 0xc
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, dword [ebx + 4]
xor dword [esi + 4], eax
mov eax, dword [ebx + 8]
xor dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
xor dword [esi + 0xc], eax
add edx, 0xfffffff0
lea eax, [edi + 0x10]
add esi, 0x10
mov ebx, edi
mov edi, eax
cmp edx, 0xf
ja 0x52a9a0
mov dword [esp], esi
lea eax, [edi - 0x10]
mov ebx, dword [ebp + 0x18]
jmp 0x52aa04
mov dword [esp], esi
mov esi, edx
mov ecx, dword [ebp + 0x1c]
jmp 0x52aa16
mov dword [esp], esi
mov eax, ebx
mov ecx, dword [ebp + 0x1c]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebx], xmm0
test edx, edx
mov esi, edx
je 0x52ae5a
call dword [section..00cfg]
lea eax, [esp + 0x20]
push dword [ebp + 0x14]
push eax
push edi
call ecx
add esp, 0xc
xor eax, eax
cmp esi, 8
mov edx, esi
mov dword [esp + 4], esi
jae 0x52aab3
mov esi, dword [esp]
mov ecx, eax
or ecx, 1
test dl, 1
je 0x52aa5a
mov dl, byte [edi + eax]
mov dh, byte [ebx + eax]
xor dh, byte [esp + eax + 0x20]
mov byte [esi + eax], dh
mov byte [ebx + eax], dl
mov edx, dword [esp + 4]
mov eax, ecx
cmp edx, ecx
je 0x52aa93
nop
movzx ecx, byte [edi + eax]
movzx edx, byte [ebx + eax]
xor dl, byte [esp + eax + 0x20]
mov byte [esi + eax], dl
mov byte [ebx + eax], cl
movzx ecx, byte [edi + eax + 1]
movzx edx, byte [ebx + eax + 1]
xor dl, byte [esp + eax + 0x21]
mov byte [esi + eax + 1], dl
mov edx, dword [esp + 4]
mov byte [ebx + eax + 1], cl
add eax, 2
cmp edx, eax
jne 0x52aa60
cmp edx, 0xf
ja 0x52ae5a
mov eax, 0x10
sub eax, edx
cmp eax, 8
jae 0x52aca0
mov eax, edx
jmp 0x52adfc
mov ecx, edi
mov edi, dword [esp]
lea esi, [edi + edx]
mov dword [esp + 0x14], esi
lea esi, [ebx + edx]
mov dword [esp + 8], esi
lea esi, [ecx + edx]
mov dword [esp + 0x10], esi
cmp edi, dword [esp + 8]
setb byte [esp + 0x1c]
mov esi, dword [esp + 0x14]
cmp esi, ebx
seta byte [esp + 0x18]
cmp edi, dword [esp + 0x10]
setb byte [esp + 0xf]
cmp ecx, esi
setb byte [esp + 0xe]
add edx, esp
add edx, 0x20
cmp edi, edx
mov edi, ecx
setb byte [esp + 0xd]
lea ecx, [esp + 0x20]
cmp esi, ecx
seta byte [esp + 0x14]
cmp dword [esp + 0x10], ebx
seta byte [esp + 0x10]
mov esi, dword [esp + 8]
cmp edi, esi
setb byte [esp + 0xc]
cmp edx, ebx
seta bh
cmp esi, ecx
seta cl
mov dl, byte [esp + 0x18]
test byte [esp + 0x1c], dl
jne 0x52adb7
mov dl, byte [esp + 0xe]
and byte [esp + 0xf], dl
mov edx, dword [esp + 4]
jne 0x52ad9d
mov ch, byte [esp + 0x14]
and byte [esp + 0xd], ch
jne 0x52ad9d
mov ch, byte [esp + 0xc]
and byte [esp + 0x10], ch
jne 0x52ad9d
and bh, cl
mov ebx, dword [ebp + 0x18]
mov esi, dword [esp]
jne 0x52aa3a
xor eax, eax
cmp edx, 0x20
jb 0x52ac68
mov eax, edx
and eax, 0xffffffe0
lea ecx, [eax - 0x20]
mov edx, ecx
shr edx, 5
add edx, 1
test ecx, ecx
mov dword [esp + 8], edx
je 0x52ada5
and edx, 0xfffffffe
xor ecx, ecx
nop
movups xmm0, xmmword [edi + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
movups xmm2, xmmword [esp + ecx + 0x20]
movups xmm3, xmmword [esp + ecx + 0x30]
movups xmm4, xmmword [ebx + ecx]
xorps xmm4, xmm2
movups xmm2, xmmword [ebx + ecx + 0x10]
xorps xmm2, xmm3
movups xmmword [esi + ecx], xmm4
movups xmmword [esi + ecx + 0x10], xmm2
movups xmmword [ebx + ecx], xmm0
movups xmmword [ebx + ecx + 0x10], xmm1
movdqu xmm0, xmmword [edi + ecx + 0x20]
movups xmm1, xmmword [edi + ecx + 0x30]
movups xmm2, xmmword [esp + ecx + 0x40]
movups xmm3, xmmword [esp + ecx + 0x50]
movups xmm4, xmmword [ebx + ecx + 0x20]
xorps xmm4, xmm2
movups xmm2, xmmword [ebx + ecx + 0x30]
xorps xmm2, xmm3
movups xmmword [esi + ecx + 0x20], xmm4
movups xmmword [esi + ecx + 0x30], xmm2
movdqu xmmword [ebx + ecx + 0x20], xmm0
movups xmmword [ebx + ecx + 0x30], xmm1
add ecx, 0x40
add edx, 0xfffffffe
jne 0x52aba0
test byte [esp + 8], 1
je 0x52ac53
movdqu xmm0, xmmword [edi + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
movups xmm2, xmmword [esp + ecx + 0x20]
movups xmm3, xmmword [esp + ecx + 0x30]
movups xmm4, xmmword [ebx + ecx]
xorps xmm4, xmm2
movups xmm2, xmmword [ebx + ecx + 0x10]
xorps xmm2, xmm3
movups xmmword [esi + ecx], xmm4
movups xmmword [esi + ecx + 0x10], xmm2
movdqu xmmword [ebx + ecx], xmm0
movups xmmword [ebx + ecx + 0x10], xmm1
mov edx, dword [esp + 4]
cmp edx, eax
je 0x52aa93
test dl, 0x18
je 0x52aa3a
mov ecx, eax
mov eax, edx
and eax, 0xfffffff8
nop
movq xmm0, qword [edi + ecx]
movsd xmm1, qword [esp + ecx + 0x20]
movsd xmm2, qword [ebx + ecx]
xorps xmm2, xmm1
movlps qword [esi + ecx], xmm2
movq qword [ebx + ecx], xmm0
add ecx, 8
cmp eax, ecx
jne 0x52ac70
cmp edx, eax
jne 0x52aa3a
jmp 0x52aa93
mov dword [esp], eax
lea eax, [ebx + edx]
add edx, edi
lea ecx, [edi + 0x10]
cmp eax, ecx
jae 0x52acbf
lea ecx, [ebx + 0x10]
cmp edx, ecx
jae 0x52acbf
mov eax, dword [esp + 4]
jmp 0x52adfc
mov dword [esp + 0x10], edx
mov dword [esp + 8], edi
xor edx, edx
mov ecx, dword [esp]
cmp ecx, 0x10
jb 0x52adc7
mov dword [esp + 0x18], eax
mov edx, ecx
and edx, 0xfffffff0
lea esi, [edx - 0x10]
mov ecx, esi
shr ecx, 4
add ecx, 1
mov edi, ecx
and edi, 3
mov dword [esp + 0x1c], edi
xor edi, edi
cmp esi, 0x30
jb 0x52ad50
and ecx, 0xfffffffc
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 4]
add esi, edi
add esi, 0x30
mov ebx, dword [esp + 8]
add ebx, edi
add ebx, 0x30
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [ebx + edi - 0x30]
movups xmmword [esi + edi - 0x30], xmm0
movups xmm0, xmmword [ebx + edi - 0x20]
movups xmmword [esi + edi - 0x20], xmm0
movups xmm0, xmmword [ebx + edi - 0x10]
movups xmmword [esi + edi - 0x10], xmm0
movdqu xmm0, xmmword [ebx + edi]
movdqu xmmword [esi + edi], xmm0
add edi, 0x40
add ecx, 0xfffffffc
jne 0x52ad20
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebx, dword [ebp + 0x18]
je 0x52ad81
add edi, dword [esp + 4]
lea ecx, [ebx + edi]
add edi, dword [esp + 8]
shl eax, 4
xor esi, esi
nop dword [eax + eax]
movdqu xmm0, xmmword [edi + esi]
movdqu xmmword [ecx + esi], xmm0
add esi, 0x10
cmp eax, esi
jne 0x52ad70
mov ecx, dword [esp]
cmp ecx, edx
mov edi, dword [esp + 8]
je 0x52ae5a
test cl, 8
jne 0x52adc3
mov eax, dword [esp + 4]
add eax, edx
jmp 0x52adfc
mov ebx, dword [ebp + 0x18]
jmp 0x52aa37
xor ecx, ecx
test byte [esp + 8], 1
jne 0x52ac1d
jmp 0x52ac53
mov ebx, dword [ebp + 0x18]
mov edx, dword [esp + 4]
jmp 0x52aa37
mov eax, dword [esp + 0x18]
mov esi, 0x10
mov edi, dword [esp + 4]
sub esi, edi
mov dword [esp], esi
and esi, 0xfffffff8
add edi, esi
mov ecx, dword [esp + 0x10]
nop
movq xmm0, qword [ecx + edx]
movq qword [eax + edx], xmm0
add edx, 8
cmp esi, edx
jne 0x52ade0
cmp dword [esp], esi
mov eax, edi
mov edi, dword [esp + 8]
je 0x52ae5a
mov ecx, eax
neg ecx
mov esi, eax
and ecx, 3
je 0x52ae1f
mov eax, esi
nop dword [eax]
movzx edx, byte [edi + eax]
mov byte [ebx + eax], dl
add eax, 1
add ecx, 0xffffffff
jne 0x52ae10
add esi, 0xfffffff3
cmp esi, 3
jb 0x52ae5a
nop word [eax + eax]
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
movzx ecx, byte [edi + eax + 1]
mov byte [ebx + eax + 1], cl
movzx ecx, byte [edi + eax + 2]
mov byte [ebx + eax + 2], cl
movzx ecx, byte [edi + eax + 3]
mov byte [ebx + eax + 3], cl
add eax, 4
cmp eax, 0x10
jne 0x52ae30
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.006c9121
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret