Function at 0x60d170
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x44
call fcn.004cba10
mov eax, dword [0x718924]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov dl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xb], dl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
test dl, 0x40
jne 0x60d1d8
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
mov dl, byte [esp + 0x1b]
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, dl
xor ecx, ecx
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [esi], al
mov dword [esp + 0x38], edx
cmp edx, 0xf
jae 0x60d205
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x60d1f2
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x60]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x60d22c
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004cb998
add esp, 0x44
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x60d264
ja 0x60d24d
cmp dword [esi + 0x20], 0
jbe 0x60d264
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004cb998
add esp, 0x44
ret
push ebp
mov ebp, edi
lea eax, [esi + 0x10]
shr ebp, 4
test ebp, ebp
je 0x60d2ad
push eax
push esi
push dword [esp + 0x20]
push ebp
push ebx
push dword [esp + 0x28]
call dword [esp + 0x38]
shl ebp, 4
add esp, 0x18
add dword [esp + 0x14], ebp
add ebx, ebp
sub edi, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], edi
je 0x60d3f7
shr ebp, 4
push ebp
push esi
call fcn.0060d560
add esp, 8
lea eax, [esi + 0x10]
test edi, edi
je 0x60d3f7
mov edx, dword [esp + 0x14]
mov ecx, eax
mov ebp, edi
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebp, 1
jne 0x60d2c0
push dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push eax
call dword [esp + 0x28]
push dword [esp + 0x24]
lea eax, [esp + 0x50]
push eax
push esi
call dword [esp + 0x34]
add esp, 0x18
xor edx, edx
test edi, edi
je 0x60d3f7
cmp edi, 0x40
jb 0x60d3d8
lea ecx, [ebx - 1]
lea eax, [esp + edi + 0x3f]
add ecx, edi
cmp ebx, eax
ja 0x60d31d
lea eax, [esp + 0x40]
cmp ecx, eax
jae 0x60d3d8
lea eax, [ebp - 1]
add eax, edi
cmp ebx, eax
ja 0x60d32e
cmp ecx, ebp
jae 0x60d3d8
mov esi, ebp
lea ecx, [ebp + 0x30]
lea ebp, [esp + 0x40]
mov eax, edi
sub ebp, ebx
sub esi, ebx
mov dword [esp + 0x28], ebp
and eax, 0xffffffc0
mov edi, dword [esp + 0x28]
lea ebp, [esp + 0x50]
sub ebp, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ebp
lea eax, [ebx + 0x10]
lea ebp, [esp + 0x60]
mov dword [esp + 0x20], esi
sub ebp, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov ebp, esi
nop dword [eax]
movups xmm0, xmmword [ecx - 0x30]
mov esi, dword [esp + 0x30]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [esp + edx + 0x40]
add edx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax + ebp - 0x40]
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [esi + eax - 0x40]
mov esi, dword [esp + 0x38]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x34]
jb 0x60d370
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
cmp edx, edi
jae 0x60d3f7
lea eax, [esp + 0x40]
sub ebp, eax
sub ebx, eax
lea ecx, [esp + 0x40]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor al, byte [ecx]
mov byte [ecx + ebx], al
cmp edx, edi
jb 0x60d3e4
mov ecx, dword [esp + 0x3c]
pop ebp
cmp ecx, 0x10
jae 0x60d417
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
push esi
call dword [esp + 0x24]
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 + 0xf]
mov ecx, dword [esp + 0x4c]
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.004cb998
add esp, 0x44
ret