Function at 0x4fbf60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40
call fcn.00557360
mov eax, dword [0x60fe70]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebp
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov byte [esp + 0xf], bl
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test bl, 0x40
jne 0x4fbfb4
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
mov edx, 0xf
and eax, 7
xor ecx, ecx
sub edx, eax
mov byte [esi], al
mov dword [esp + 0x30], edx
cmp edx, 0xf
jae 0x4fbfe3
mov edi, edi
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x4fbfd0
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x5c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x4fc00a
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00555894
add esp, 0x40
ret
lea eax, [ebx + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x4fc042
ja 0x4fc02b
cmp dword [esi + 0x20], 0
jbe 0x4fc042
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00555894
add esp, 0x40
ret
push edi
mov edi, dword [esp + 0x58]
cmp ebx, 0x10
jb 0x4fc0e2
mov eax, ebx
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x18], eax
lea esp, [esp]
mov eax, dword [edi]
xor dword [ecx], eax
mov eax, dword [edi + 4]
xor dword [ecx + 4], eax
push dword [esp + 0x1c]
mov eax, dword [edi + 8]
xor dword [esi + 0x18], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0x1c], eax
push ecx
push ecx
call dword [esp + 0x20]
push dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
push esi
call dword [esp + 0x2c]
add esp, 0x18
mov ecx, 8
dec ecx
inc byte [ecx + esi + 8]
jne 0x4fc0a1
test ecx, ecx
jne 0x4fc096
mov ecx, dword [edi]
sub ebx, 0x10
mov eax, dword [edi + 4]
xor ecx, dword [esp + 0x3c]
xor eax, dword [esp + 0x40]
mov dword [ebp], ecx
mov dword [ebp + 4], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
add edi, 0x10
xor ecx, dword [esp + 0x44]
xor eax, dword [esp + 0x48]
mov dword [ebp + 8], ecx
lea ecx, [esi + 0x10]
mov dword [ebp + 0xc], eax
add ebp, 0x10
dec dword [esp + 0x18]
jne 0x4fc060
mov dword [esp + 0x20], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x18], edi
test ebx, ebx
je 0x4fc1f8
xor ecx, ecx
test ebx, ebx
je 0x4fc100
mov al, byte [ecx + edi]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x4fc0f4
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
push eax
call dword [esp + 0x20]
push dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
push esi
call dword [esp + 0x2c]
add esp, 0x18
xor edx, edx
test ebx, ebx
je 0x4fc1f8
cmp ebx, 0x20
jb 0x4fc1d9
lea ecx, [ebp - 1]
lea eax, [esp + ebx + 0x3b]
add ecx, ebx
cmp ebp, eax
ja 0x4fc14a
lea eax, [esp + 0x3c]
cmp ecx, eax
jae 0x4fc1d9
lea eax, [edi - 1]
add eax, ebx
cmp ebp, eax
ja 0x4fc15b
cmp ecx, edi
jae 0x4fc1d9
mov eax, ebx
mov ecx, ebx
lea ebx, [esp + 0x3c]
and eax, 0x1f
sub ebx, edi
mov esi, ebp
mov dword [esp + 0x38], ebx
sub esi, edi
sub ecx, eax
mov dword [esp + 0x24], esi
lea ebx, [esp + 0x4c]
mov eax, edi
sub ebx, edi
mov dword [esp + 0x30], ebx
lea ebx, [ebp + 0x10]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov ebx, esi
movdqu xmm0, xmmword [eax]
mov esi, dword [esp + 0x28]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ebx + eax - 0x20], xmm1
movdqu xmm0, xmmword [eax - 0x10]
movdqu xmm1, xmmword [eax + edi - 0x20]
pxor xmm1, xmm0
movdqu xmmword [esi + edx], xmm1
mov esi, dword [esp + 0x2c]
add edx, 0x20
cmp edx, ecx
jb 0x4fc193
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x20]
cmp edx, ebx
jae 0x4fc1f8
lea eax, [esp + 0x3c]
sub edi, eax
sub ebp, eax
lea ecx, [esp + 0x3c]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor al, byte [ecx]
mov byte [ecx + ebp], al
cmp edx, ebx
jb 0x4fc1e5
mov edx, dword [esp + 0x34]
cmp edx, 0x10
jae 0x4fc21b
mov ecx, 0x10
lea edi, [edx + esi]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
push esi
call dword [esp + 0x20]
mov eax, dword [esp + 0x48]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x44]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x48]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x4c]
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00555894
add esp, 0x40
ret