Function at 0x60be20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.004cba10
push ebx
mov ebx, dword [esp + 0x28]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x174]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x164]
mov dword [esp + 0x10], eax
mov eax, ebx
add eax, dword [edi + 0x38]
adc ecx, dword [edi + 0x3c]
cmp ecx, 0xf
ja 0x60c0bc
jb 0x60be66
cmp eax, 0xffffffe0
ja 0x60c0bc
cmp dword [edi + 0x16c], 0
mov edx, dword [edi + 0x168]
push esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov dword [esp + 0x30], edx
je 0x60bede
lea esi, [edi + 0x40]
test ebx, ebx
jne 0x60bea6
lea eax, [edi + 0x60]
push eax
mov eax, dword [edi + 0x160]
push esi
call eax
add esp, 8
mov dword [edi + 0x16c], ebx
xor eax, eax
pop esi
pop edi
pop ebx
add esp, 0x14
ret
movups xmm0, xmmword [esi]
mov edx, 0x10
mov dword [esp + 0x30], edx
movups xmmword [edi + 0x178], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x16c], 0
mov eax, dword [edi + 0xc]
mov ecx, edx
mov esi, dword [esp + 0x2c]
and ecx, 0xf
bswap eax
push ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], esi
je 0x60bf64
lea eax, [edi + 0x178]
add eax, edx
mov dword [esp + 0x34], eax
nop dword [eax + eax]
test ebx, ebx
je 0x60bf3f
mov al, byte [ecx + edi + 0x10]
inc edx
xor al, byte [ebp]
inc ecx
mov edi, dword [esp + 0x34]
inc ebp
inc dword [esp + 0x34]
dec ebx
mov byte [esi], al
inc esi
and ecx, 0xf
mov dword [esp + 0x10], esi
mov byte [edi], al
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
jne 0x60bf10
jmp 0x60bf47
test ecx, ecx
jne 0x60c0ac
push edx
lea eax, [edi + 0x178]
push eax
lea eax, [edi + 0x60]
lea ecx, [edi + 0x40]
push eax
push ecx
call dword [esp + 0x28]
add esp, 0x10
xor edx, edx
mov dword [esp + 0x34], edx
lea eax, [edi + 0x60]
cmp ebx, 0x10
jb 0x60bf8c
test edx, edx
je 0x60bf8c
push edx
lea ecx, [edi + 0x178]
push ecx
push eax
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x38]
cmp ebx, 0xc00
jb 0x60bffc
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x28], edx
push edi
push dword [esp + 0x20]
push 0xc0
push esi
push ebp
call ecx
mov eax, dword [esp + 0x28]
add eax, 0xc0
mov dword [esp + 0x28], eax
bswap eax
push 0xc00
mov dword [edi + 0xc], eax
lea eax, [edi + 0x60]
push esi
push eax
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
add esp, 0x24
add esi, 0xc00
add ebp, 0xc00
sub ebx, 0xc00
sub dword [esp + 0x28], 1
jne 0x60bfa6
mov dword [esp + 0x10], esi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x28], eax
je 0x60c049
push edi
push dword [esp + 0x20]
mov esi, eax
shr esi, 4
push esi
push dword [esp + 0x1c]
push ebp
call ecx
mov eax, dword [esp + 0x28]
add eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], eax
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x3c]
add ebp, eax
push eax
sub ebx, eax
lea eax, [edi + 0x60]
push esi
push eax
lea eax, [edi + 0x40]
push eax
call dword [esp + 0x3c]
add esp, 0x24
add esi, dword [esp + 0x28]
test ebx, ebx
je 0x60c0a8
push dword [esp + 0x1c]
lea eax, [edi + 0x10]
push eax
mov eax, dword [edi + 0x170]
push edi
call eax
mov eax, dword [esp + 0x20]
sub ebp, esi
mov edx, dword [esp + 0x40]
inc eax
bswap eax
mov dword [edi + 0xc], eax
add edx, 0x178
mov eax, dword [esp + 0x2c]
add esp, 0xc
add edx, edi
lea ecx, [eax + esi]
add eax, 0x10
add eax, edi
add dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
mov esi, eax
nop
mov al, byte [ecx + ebp]
lea edx, [edx + 1]
xor al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x60c090
mov edx, dword [esp + 0x34]
pop ebp
pop esi
mov dword [edi + 0x168], edx
xor eax, eax
pop edi
pop ebx
add esp, 0x14
ret
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret