Function at 0x5614b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.0057a200
mov eax, dword [0x5faea4]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xe4]
lea edx, [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
push ebx
neg eax
push ebp
mov ebp, dword [esp + 0xe8]
and eax, 0xf
add edx, eax
mov dword [esp + 0xc], ebp
push esi
push edi
mov edi, dword [esp + 0xec]
lea eax, [edx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
lea ebx, [edx + 0x40]
lea eax, [edi + 0x120]
mov dword [esp + 0x2c], edx
mov esi, dword [edi + 0x2b0]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [eax], 0
push eax
cmp esi, 0x40
ja 0x561738
lea eax, [edi + 0x100]
mov dword [esp + 0x40], 0x80
push eax
push 0x80
push 0x5ed9e8
push edx
call fcn.00444c00
push dword [esp + 0x40]
lea eax, [edi + 0x178]
push eax
call fcn.00543ee0
mov eax, dword [esp + 0x44]
add esp, 0x1c
movups xmm0, xmmword [edi + 0x284]
xor ebp, ebp
mov dword [edi + 0x170], 0
test byte [edi + 0x50], 2
movups xmmword [eax], xmm0
mov dword [edi + 0x298], 0xd
mov dword [edi + 0x29c], 0
mov dword [edi + 0x2a0], esi
mov dword [edi + 0x2a4], 0
je 0x5615fe
test esi, esi
je 0x561713
mov eax, dword [esp + 0x10]
mov edx, ebx
sub eax, ebx
mov ebp, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
sub eax, ebx
mov ebx, dword [esp + 0x34]
mov edi, eax
nop dword [eax + eax]
movzx ecx, byte [edx + ebx]
lea edx, [edx + 1]
movzx eax, byte [edx - 1]
xor ecx, eax
mov byte [edx - 1], cl
mov byte [edx + edi - 1], cl
sub esi, 1
jne 0x5615e0
jmp 0x56170b
test esi, esi
je 0x561713
mov ecx, dword [esp + 0x14]
cmp esi, 0x20
jb 0x5616ca
lea eax, [ecx - 1]
xor ebp, ebp
lea edx, [esi - 1]
add eax, esi
add edx, ebx
mov dword [esp + 0x18], edx
cmp ebx, eax
ja 0x56162f
cmp edx, ecx
jae 0x5616ca
mov edx, dword [esp + 0x10]
lea eax, [edx - 1]
add eax, esi
cmp ebx, eax
ja 0x561646
cmp dword [esp + 0x18], edx
jae 0x5616ce
cmp ecx, eax
ja 0x561653
lea eax, [ecx - 1]
add eax, esi
cmp eax, edx
jae 0x5616ce
mov eax, esi
lea edi, [ecx + 0x10]
and eax, 0xffffffe0
mov edx, ebx
mov dword [esp + 0x34], eax
mov eax, ecx
sub eax, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
sub eax, ecx
mov ecx, eax
nop dword [eax]
movups xmm0, xmmword [edx]
lea eax, [edx + esi]
add ebp, 0x20
lea edx, [edx + 0x20]
lea edi, [edi + 0x20]
movups xmm1, xmmword [eax + ecx]
pxor xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm2, xmmword [ecx + edi - 0x20]
movups xmmword [edx - 0x20], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [edx - 0x10]
movups xmmword [edx - 0x10], xmm2
pxor xmm1, xmm0
movups xmmword [edi - 0x20], xmm1
cmp ebp, ebx
jb 0x561680
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp ebp, esi
jae 0x561713
mov edi, edx
sub esi, ebp
sub edi, ecx
add ebx, ebp
sub ecx, dword [esp + 0x20]
add ebp, esi
mov dword [esp + 0x38], ebp
mov ebp, ecx
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
mov al, byte [ebx]
lea ecx, [ebx + ebp]
mov dl, byte [ecx + edi]
lea ebx, [ebx + 1]
xor al, dl
mov byte [ebx - 1], dl
mov byte [ecx], al
sub esi, 1
jne 0x5616f0
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov esi, ebp
lea eax, [ebx + ebp]
neg esi
and esi, 0xf
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + ebp]
add esp, 0xc
add ebx, eax
lea edx, [eax + 0x10]
mov esi, ebp
jmp 0x561834
lea ecx, [edi + 0x100]
mov dword [esp + 0x40], 0x40
push ecx
push 0x40
push 0x5ed9e8
push edx
call fcn.00444c00
push dword [esp + 0x40]
lea eax, [edi + 0x178]
push eax
call fcn.00543ee0
push 0x10
lea eax, [edi + 0x284]
mov dword [edi + 0x120], 1
push eax
lea eax, [edi + 0x178]
mov dword [edi + 0x170], 0
push eax
call fcn.00543fb0
add esp, 0x28
mov dword [esp + 0x28], ebx
test byte [edi + 0x50], 2
mov dword [edi + 0x298], 0xd
mov dword [edi + 0x29c], 0
mov dword [edi + 0x2a0], esi
mov dword [edi + 0x2a4], 0
je 0x5617e7
lea eax, [edi + 0x120]
push eax
lea eax, [edi + 0x100]
push eax
push esi
push dword [esp + 0x1c]
push ebp
call fcn.00444c00
push esi
lea eax, [edi + 0x178]
push ebp
push eax
call fcn.00543fb0
jmp 0x561811
push esi
push dword [esp + 0x14]
lea eax, [edi + 0x178]
push eax
call fcn.00543fb0
lea eax, [edi + 0x120]
push eax
lea eax, [edi + 0x100]
push eax
push esi
push dword [esp + 0x28]
push ebp
call fcn.00444c00
add esp, 0x20
mov eax, esi
neg eax
and eax, 0xf
push eax
lea eax, [edi + 0x178]
push 0x5ed9e8
push eax
call fcn.00543fb0
add esp, 0xc
mov ebp, esi
xor edx, edx
mov ecx, dword [esp + 0x10]
lea eax, [edx + 0x10]
movups xmm0, xmmword [edi + 0x298]
add ecx, esi
mov esi, dword [esp + 0x14]
push eax
add esi, ebp
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x2c]
movups xmmword [ebx], xmm0
push ebp
lea ebx, [edi + 0x178]
push ebx
call fcn.00543fb0
push dword [esp + 0x48]
push dword [esp + 0x3c]
call fcn.00401320
add esp, 0x14
lea eax, [edi + 0x274]
test byte [edi + 0x50], 2
jne 0x561881
mov eax, ebp
push eax
push ebx
call fcn.00543e60
add esp, 8
mov dword [edi + 0x2b0], 0xffffffff
test byte [edi + 0x50], 2
je 0x5618ab
movups xmm0, xmmword [edi + 0x274]
mov eax, dword [esp + 0x30]
movups xmmword [esi], xmm0
jmp 0x5618e6
push 0x10
push dword [esp + 0x20]
push ebp
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x5618df
mov ecx, dword [esp + 0x30]
cmp ecx, 0x10
jbe 0x5618db
lea eax, [ecx - 0x10]
sub esi, ecx
push eax
push 0
add esi, 0x10
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x5618f1
mov eax, dword [esp + 0x30]
sub eax, 0x10
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00579e58
add esp, 0xd8
ret