Function at 0x4fbb70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.00581be0
mov eax, dword [0x635f14]
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 0x4fbbea
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00581392
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 0x4fbe1f
push 0x80
push 0x5f2250
push ecx
mov dword [esp + 0x50], 0x80
call fcn.00444c00
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.0054a280
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.0046a430
add esp, 0x20
xor ebp, ebp
test eax, eax
je 0x4fbcde
test esi, esi
je 0x4fbdf3
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 0x4fbcc0
jmp 0x4fbdeb
test esi, esi
je 0x4fbdf3
mov ecx, dword [esp + 0x14]
cmp esi, 0x20
jb 0x4fbdaa
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 0x4fbd0f
cmp edx, ebx
jae 0x4fbdaa
mov edx, dword [esp + 0x10]
lea eax, [edx - 1]
add eax, esi
cmp ecx, eax
ja 0x4fbd26
cmp dword [esp + 0x18], edx
jae 0x4fbdae
cmp ebx, eax
ja 0x4fbd33
lea eax, [ebx - 1]
add eax, esi
cmp eax, edx
jae 0x4fbdae
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 0x4fbd60
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 0x4fbdf3
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 0x4fbdd0
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.00584440
mov ecx, dword [esp + 0x20]
lea eax, [esi + ebp]
add esp, 0xc
lea edx, [eax + 0x10]
add ecx, eax
mov esi, ebp
jmp 0x4fbf05
push 0x40
push 0x5f2250
push ecx
mov dword [esp + 0x50], 0x40
call fcn.00444c00
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.0054a280
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.0054a350
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.0046a430
add esp, 0x2c
test eax, eax
je 0x4fbebf
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.0054a350
jmp 0x4fbede
mov ebp, dword [esp + 0x10]
lea eax, [edi + 0xd0]
push esi
push ebp
push eax
call fcn.0054a350
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 0x5f2250
push eax
call fcn.0054a350
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.0054a350
push dword [esp + 0x48]
push dword [esp + 0x40]
call fcn.00401320
push dword [esp + 0x38]
call fcn.0046a430
add esp, 0x18
test eax, eax
lea eax, [edi + 0x84]
jne 0x4fbf56
mov eax, ebp
push eax
push ebx
call fcn.0054a200
push dword [esp + 0x2c]
mov dword [edi + 0xc8], 0xffffffff
call fcn.0046a430
add esp, 0xc
test eax, eax
je 0x4fbf9e
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.00581392
add esp, 0xd8
ret
push 0x10
push dword [esp + 0x20]
push ebp
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x4fbf81
mov ecx, dword [esp + 0x40]
sub esi, ecx
add esi, 0x10
lea eax, [ecx - 0x10]
push eax
push 0
push esi
call fcn.00584440
add esp, 0xc
or eax, 0xffffffff
jmp 0x4fbf85