Function at 0x561dd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.0057aae0
mov eax, dword [0x5fbea4]
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 0x562058
lea eax, [edi + 0x100]
mov dword [esp + 0x40], 0x80
push eax
push 0x80
push 0x5eea78
push edx
call fcn.00444c00
push dword [esp + 0x40]
lea eax, [edi + 0x178]
push eax
call fcn.00544790
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 0x561f1e
test esi, esi
je 0x562033
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 0x561f00
jmp 0x56202b
test esi, esi
je 0x562033
mov ecx, dword [esp + 0x14]
cmp esi, 0x20
jb 0x561fea
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 0x561f4f
cmp edx, ecx
jae 0x561fea
mov edx, dword [esp + 0x10]
lea eax, [edx - 1]
add eax, esi
cmp ebx, eax
ja 0x561f66
cmp dword [esp + 0x18], edx
jae 0x561fee
cmp ecx, eax
ja 0x561f73
lea eax, [ecx - 1]
add eax, esi
cmp eax, edx
jae 0x561fee
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 0x561fa0
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 0x562033
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 0x562010
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 0x562154
lea ecx, [edi + 0x100]
mov dword [esp + 0x40], 0x40
push ecx
push 0x40
push 0x5eea78
push edx
call fcn.00444c00
push dword [esp + 0x40]
lea eax, [edi + 0x178]
push eax
call fcn.00544790
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.00544860
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 0x562107
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.00544860
jmp 0x562131
push esi
push dword [esp + 0x14]
lea eax, [edi + 0x178]
push eax
call fcn.00544860
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 0x5eea78
push eax
call fcn.00544860
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.00544860
push dword [esp + 0x48]
push dword [esp + 0x3c]
call fcn.00401320
add esp, 0x14
lea eax, [edi + 0x274]
test byte [edi + 0x50], 2
jne 0x5621a1
mov eax, ebp
push eax
push ebx
call fcn.00544710
add esp, 8
mov dword [edi + 0x2b0], 0xffffffff
test byte [edi + 0x50], 2
je 0x5621cb
movups xmm0, xmmword [edi + 0x274]
mov eax, dword [esp + 0x30]
movups xmmword [esi], xmm0
jmp 0x562206
push 0x10
push dword [esp + 0x20]
push ebp
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x5621ff
mov ecx, dword [esp + 0x30]
cmp ecx, 0x10
jbe 0x5621fb
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 0x562211
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.0057a738
add esp, 0xd8
ret