Function at 0x60a200
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.004ce320
push ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x174]
mov dword [esp + 0x18], eax
mov eax, ebx
add eax, dword [edi + 0x38]
adc ecx, dword [edi + 0x3c]
cmp ecx, 0xf
ja 0x60a518
jb 0x60a23c
cmp eax, 0xffffffe0
ja 0x60a518
cmp dword [edi + 0x16c], 0
mov edx, dword [edi + 0x168]
mov dword [edi + 0x3c], ecx
lea ecx, [edi + 0x40]
mov dword [edi + 0x38], eax
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
je 0x60a2b5
test ebx, ebx
jne 0x60a27b
lea eax, [edi + 0x60]
push eax
push ecx
call fcn.0060b3f0
add esp, 8
mov dword [edi + 0x16c], ebx
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret
movups xmm0, xmmword [ecx]
mov edx, 0x10
mov dword [esp + 8], edx
movups xmmword [edi + 0x178], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x16c], 0
jmp 0x60a2b9
mov dword [esp + 0x14], ecx
movzx ecx, byte [edi + 0xc]
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
or ecx, eax
mov eax, edx
push ebp
mov ebp, dword [esp + 0x2c]
and eax, 0xf
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
je 0x60a36b
lea ecx, [edi + 0x178]
add ecx, edx
mov dword [esp + 0x10], ecx
nop dword [eax]
test ebx, ebx
je 0x60a35b
mov edi, dword [esp + 0x10]
inc edx
mov cl, byte [ebp]
dec ebx
inc dword [esp + 0x10]
inc ebp
mov byte [edi], cl
mov edi, dword [esp + 0x2c]
mov al, byte [eax + edi + 0x10]
xor al, cl
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x38], esi
and eax, 0xf
mov dword [esp + 0x18], eax
jne 0x60a300
push edx
lea eax, [edi + 0x178]
push eax
lea eax, [edi + 0x60]
lea ecx, [edi + 0x40]
push eax
push ecx
call fcn.0060b1c0
mov eax, dword [esp + 0x28]
add esp, 0x10
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jmp 0x60a36f
pop esi
pop ebp
mov dword [edi + 0x168], edx
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x38], esi
lea eax, [edi + 0x60]
cmp ebx, 0x10
jb 0x60a398
test edx, edx
je 0x60a398
push edx
lea ecx, [edi + 0x178]
push ecx
push eax
push dword [esp + 0x28]
call fcn.0060b1c0
add esp, 0x10
mov dword [esp + 0x10], 0
cmp ebx, 0xc00
jb 0x60a41c
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x38], edx
nop
push 0xc00
push ebp
lea eax, [edi + 0x60]
push eax
push dword [esp + 0x28]
call fcn.0060b1c0
push edi
push dword [esp + 0x34]
push 0xc0
push esi
push ebp
call dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add esp, 0x24
add ecx, 0xc0
add esi, 0xc00
mov eax, ecx
mov dword [esp + 0x14], ecx
shr eax, 0x18
add ebp, 0xc00
mov byte [edi + 0xc], al
sub ebx, 0xc00
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
sub dword [esp + 0x38], 1
mov byte [edi + 0xe], al
jne 0x60a3b0
mov dword [esp + 0x38], esi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x24], eax
je 0x60a484
push eax
mov esi, eax
lea eax, [edi + 0x60]
push ebp
push eax
push dword [esp + 0x28]
shr esi, 4
call fcn.0060b1c0
push edi
push dword [esp + 0x34]
push esi
push dword [esp + 0x54]
push ebp
call dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add esp, 0x24
add ecx, esi
mov esi, dword [esp + 0x38]
mov eax, ecx
mov dword [esp + 0x14], ecx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xe], al
mov eax, dword [esp + 0x24]
add esi, eax
add ebp, eax
mov byte [edi + 0xf], cl
mov dword [esp + 0x38], esi
sub ebx, eax
test ebx, ebx
je 0x60a504
push dword [esp + 0x20]
lea eax, [edi + 0x10]
push eax
mov eax, dword [edi + 0x170]
push edi
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
sub ebp, dword [esp + 0x38]
inc ecx
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 8
mov byte [edi + 0xe], al
mov eax, dword [esp + 0x18]
lea edx, [eax + esi]
lea esi, [eax + 0x10]
lea eax, [ecx + 0x178]
add esi, edi
add eax, edi
add ecx, ebx
mov dword [esp + 0x24], eax
mov edi, eax
mov dword [esp + 0x10], ecx
mov cl, byte [edx + ebp]
lea edi, [edi + 1]
mov byte [edi - 1], cl
lea esi, [esi + 1]
mov al, byte [esi - 1]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub ebx, 1
jne 0x60a4e4
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
mov dword [edi + 0x168], eax
xor eax, eax
pop edi
pop ebx
add esp, 0x18
ret
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret