Function at 0x4fb7a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.00581890
mov eax, dword [0x634f14]
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 0x4fb81a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00581041
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 0x4fba4f
push 0x80
push 0x5f1290
push ecx
mov dword [esp + 0x50], 0x80
call fcn.00444c00
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.00549e70
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.00469e30
add esp, 0x20
xor ebp, ebp
test eax, eax
je 0x4fb90e
test esi, esi
je 0x4fba23
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 0x4fb8f0
jmp 0x4fba1b
test esi, esi
je 0x4fba23
mov ecx, dword [esp + 0x14]
cmp esi, 0x20
jb 0x4fb9da
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 0x4fb93f
cmp edx, ebx
jae 0x4fb9da
mov edx, dword [esp + 0x10]
lea eax, [edx - 1]
add eax, esi
cmp ecx, eax
ja 0x4fb956
cmp dword [esp + 0x18], edx
jae 0x4fb9de
cmp ebx, eax
ja 0x4fb963
lea eax, [ebx - 1]
add eax, esi
cmp eax, edx
jae 0x4fb9de
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 0x4fb990
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 0x4fba23
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 0x4fba00
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 fcn.005840f0
mov ecx, dword [esp + 0x20]
lea eax, [esi + ebp]
add esp, 0xc
lea edx, [eax + 0x10]
add ecx, eax
mov esi, ebp
jmp 0x4fbb35
push 0x40
push 0x5f1290
push ecx
mov dword [esp + 0x50], 0x40
call fcn.00444c00
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.00549e70
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.00549f40
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.00469e30
add esp, 0x2c
test eax, eax
je 0x4fbaef
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.00549f40
jmp 0x4fbb0e
mov ebp, dword [esp + 0x10]
lea eax, [edi + 0xd0]
push esi
push ebp
push eax
call fcn.00549f40
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 0x5f1290
push eax
call fcn.00549f40
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.00549f40
push dword [esp + 0x48]
push dword [esp + 0x40]
call fcn.00401320
push dword [esp + 0x38]
call fcn.00469e30
add esp, 0x18
test eax, eax
lea eax, [edi + 0x84]
jne 0x4fbb86
mov eax, ebp
push eax
push ebx
call fcn.00549df0
push dword [esp + 0x2c]
mov dword [edi + 0xc8], 0xffffffff
call fcn.00469e30
add esp, 0xc
test eax, eax
je 0x4fbbce
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.00581041
add esp, 0xd8
ret
push 0x10
push dword [esp + 0x20]
push ebp
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x4fbbb1
mov ecx, dword [esp + 0x40]
sub esi, ecx
add esi, 0x10
lea eax, [ecx - 0x10]
push eax
push 0
push esi
call fcn.005840f0
add esp, 0xc
or eax, 0xffffffff
jmp 0x4fbbb5