Function at 0x4f5fd0
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 edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [edx + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov esi, dword [edi + 0xc8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
lea eax, [esi + 0x10]
cmp ecx, eax
je 0x4f604a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0057a738
add esp, 0xd8
ret
lea eax, [esp + 0x40]
mov dword [edi + 0x20], 0
neg eax
lea ecx, [esp + 0x40]
and eax, 0xf
add ecx, eax
mov dword [esp + 0x2c], ecx
push ebp
lea eax, [ecx + 0x30]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x20]
lea ebp, [ecx + 0x40]
mov dword [esp + 0x14], ebp
push eax
push edi
cmp esi, 0x40
ja 0x4f627f
push 0x80
push 0x5c5400
push ecx
mov dword [esp + 0x50], 0x80
call fcn.00444c00
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.00544790
mov eax, dword [esp + 0x48]
movups xmm0, xmmword [edi + 0x94]
mov dword [edi + 0x70], 0
push dword [esp + 0x40]
movups xmmword [eax], xmm0
mov dword [edi + 0xa8], 0xd
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], 0
call fcn.00484110
add esp, 0x20
xor ebp, ebp
test eax, eax
je 0x4f613e
test esi, esi
je 0x4f6253
mov eax, dword [esp + 0x14]
mov ebp, esi
mov ecx, dword [esp + 0x10]
mov edx, eax
sub ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x34]
sub ecx, eax
mov edi, ecx
nop dword [eax + eax]
movzx ecx, byte [ebx + edx]
lea edx, [edx + 1]
movzx eax, byte [edx - 1]
xor ecx, eax
mov byte [edx - 1], cl
mov byte [edi + edx - 1], cl
sub esi, 1
jne 0x4f6120
jmp 0x4f624b
test esi, esi
je 0x4f6253
mov ecx, dword [esp + 0x14]
cmp esi, 0x20
jb 0x4f620a
lea eax, [ebx - 1]
xor ebp, ebp
lea edx, [ecx - 1]
add eax, esi
add edx, esi
mov dword [esp + 0x18], edx
cmp ecx, eax
ja 0x4f616f
cmp edx, ebx
jae 0x4f620a
mov edx, dword [esp + 0x10]
lea eax, [edx - 1]
add eax, esi
cmp ecx, eax
ja 0x4f6186
cmp dword [esp + 0x18], edx
jae 0x4f620e
cmp ebx, eax
ja 0x4f6193
lea eax, [ebx - 1]
add eax, esi
cmp eax, edx
jae 0x4f620e
mov eax, esi
lea edi, [ebx + 0x10]
and eax, 0xffffffe0
mov edx, ecx
mov dword [esp + 0x34], eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
sub eax, ebx
mov ebx, dword [esp + 0x34]
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 0x4f61c0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp ebp, esi
jae 0x4f6253
mov eax, dword [esp + 0x20]
lea ebx, [ecx + ebp]
mov edi, edx
sub esi, ebp
sub edi, eax
sub eax, ecx
add ebp, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
mov ebp, eax
nop dword [eax]
mov al, byte [ebx]
lea ecx, [ebx + ebp]
mov dl, byte [edi + ecx]
lea ebx, [ebx + 1]
xor al, dl
mov byte [ebx - 1], dl
mov byte [ecx], al
sub esi, 1
jne 0x4f6230
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov esi, ebp
neg esi
add eax, ebp
and esi, 0xf
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x20]
lea eax, [esi + ebp]
add esp, 0xc
lea edx, [eax + 0x10]
add ecx, eax
mov esi, ebp
jmp 0x4f6365
push 0x40
push 0x5c5400
push ecx
mov dword [esp + 0x50], 0x40
call fcn.00444c00
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.00544790
push 0x10
lea eax, [edi + 0x94]
mov dword [edi + 0x20], 1
push eax
lea eax, [edi + 0xd0]
mov dword [edi + 0x70], 0
push eax
call fcn.00544860
push dword [esp + 0x4c]
mov dword [esp + 0x58], ebp
mov dword [edi + 0xa8], 0xd
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], 0
call fcn.00484110
add esp, 0x2c
test eax, eax
je 0x4f631f
lea eax, [edi + 0x20]
push eax
push edi
push esi
push dword [esp + 0x1c]
push ebx
call fcn.00444c00
push esi
lea eax, [edi + 0xd0]
push ebx
push eax
call fcn.00544860
jmp 0x4f633e
mov ebp, dword [esp + 0x10]
lea eax, [edi + 0xd0]
push esi
push ebp
push eax
call fcn.00544860
lea eax, [edi + 0x20]
push eax
push edi
push esi
push ebp
push ebx
call fcn.00444c00
add esp, 0x20
mov eax, esi
neg eax
and eax, 0xf
push eax
lea eax, [edi + 0xd0]
push 0x5c5400
push eax
call fcn.00544860
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov ebp, esi
xor edx, edx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + 0xa8]
add eax, esi
lea esi, [ebx + ebp]
mov ebp, dword [esp + 0x2c]
lea ebx, [edi + 0xd0]
mov dword [esp + 0x1c], eax
lea eax, [edx + 0x10]
push eax
push ebp
push ebx
movups xmmword [ecx], xmm0
call fcn.00544860
push dword [esp + 0x48]
push dword [esp + 0x40]
call fcn.00401320
push dword [esp + 0x38]
call fcn.00484110
add esp, 0x18
test eax, eax
lea eax, [edi + 0x84]
jne 0x4f63b6
mov eax, ebp
push eax
push ebx
call fcn.00544710
push dword [esp + 0x2c]
mov dword [edi + 0xc8], 0xffffffff
call fcn.00484110
add esp, 0xc
test eax, eax
je 0x4f63fe
movups xmm0, xmmword [edi + 0x84]
movups xmmword [esi], xmm0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xe4]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057a738
add esp, 0xd8
ret
push 0x10
push dword [esp + 0x20]
push ebp
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x4f63e1
mov ecx, dword [esp + 0x40]
sub esi, ecx
add esi, 0x10
lea eax, [ecx - 0x10]
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
or eax, 0xffffffff
jmp 0x4f63e5