Function at 0x60a530
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.004ce320
push ebx
mov ebx, dword [esp + 0x30]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x14], eax
mov eax, ebx
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x60a8b0
jb 0x60a576
cmp eax, 0xffffffe0
ja 0x60a8b0
cmp dword [esi + 0x16c], 0
mov edx, dword [esi + 0x168]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x38], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
je 0x60a5ef
test ebx, ebx
jne 0x60a5b5
lea eax, [esi + 0x60]
push eax
push ecx
call fcn.0060b3f0
add esp, 8
mov dword [esi + 0x16c], ebx
xor eax, eax
pop esi
pop ebx
add esp, 0x1c
ret
movups xmm0, xmmword [ecx]
mov edx, 0x10
mov dword [esp + 0x28], edx
movups xmmword [esi + 0x178], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
jmp 0x60a5f3
mov dword [esp + 0x10], ecx
movzx ecx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
mov eax, edx
push ebp
mov ebp, dword [esp + 0x34]
and eax, 0xf
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
je 0x60a683
lea ecx, [esi + 0x178]
add ecx, edx
test ebx, ebx
je 0x60a8a0
mov al, byte [eax + esi + 0x10]
inc edx
xor al, byte [edi]
dec ebx
mov byte [ebp], al
inc edi
mov byte [ecx], al
inc ebp
mov eax, dword [esp + 0x10]
inc ecx
inc eax
and eax, 0xf
mov dword [esp + 0x10], eax
jne 0x60a633
push edx
lea eax, [esi + 0x178]
push eax
lea eax, [esi + 0x60]
lea ecx, [esi + 0x40]
push eax
push ecx
call fcn.0060b1c0
mov eax, dword [esp + 0x20]
add esp, 0x10
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], ebx
lea ecx, [esi + 0x60]
cmp ebx, 0x10
jb 0x60a6ac
test edx, edx
je 0x60a6ac
push edx
lea eax, [esi + 0x178]
push eax
push ecx
push dword [esp + 0x24]
call fcn.0060b1c0
add esp, 0x10
mov dword [esp + 0x30], 0
lea ecx, [esi + 0x10]
cmp ebx, 0xc00
jb 0x60a77a
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x28], edx
nop dword [eax]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], 0xc0
nop dword [eax]
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
inc ebx
lea ecx, [esi + 0x10]
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add esp, 0xc
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [ecx]
xor eax, dword [edi]
mov dword [ebp], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebp + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebp + 0xc], eax
add ebp, 0x10
sub dword [esp + 0x24], 1
jne 0x60a6e0
push 0xc00
lea eax, [ebp - 0xc00]
mov dword [esp + 0x18], ebx
push eax
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x24]
call fcn.0060b1c0
mov ebx, dword [esp + 0x4c]
lea ecx, [esi + 0x10]
sub ebx, 0xc00
add esp, 0x10
sub dword [esp + 0x28], 1
mov dword [esp + 0x3c], ebx
jne 0x60a6d0
lea ecx, [esi + 0x10]
mov edx, ebx
and edx, 0xfffffff0
mov dword [esp + 0x28], edx
je 0x60a818
cmp ebx, 0x10
jb 0x60a802
mov eax, ebx
shr eax, 4
mov dword [esp + 0x3c], eax
push dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc ecx
sub ebx, 0x10
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x10]
mov dword [ebp], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebp + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebp + 0xc], eax
add ebp, 0x10
sub dword [esp + 0x3c], 1
jne 0x60a797
mov edx, dword [esp + 0x28]
push edx
mov eax, ebp
sub eax, edx
push eax
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x24]
call fcn.0060b1c0
add esp, 0x10
test ebx, ebx
je 0x60a88c
push dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
sub edi, ebp
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, ecx
mov byte [esi + 0xf], cl
shr eax, 0x18
add edx, 0x178
mov byte [esi + 0xc], al
add esp, 0xc
mov eax, ecx
add edx, esi
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 8
add ecx, ebp
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x10]
add eax, 0x10
add eax, esi
add dword [esp + 0x30], ebx
mov dword [esp + 0x3c], eax
mov ebp, eax
mov al, byte [edi + ecx]
lea edx, [edx + 1]
xor al, byte [ebp]
lea ebp, [ebp + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x60a873
mov eax, dword [esp + 0x30]
pop edi
pop ebp
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebx
add esp, 0x1c
ret
pop edi
pop ebp
mov dword [esi + 0x168], edx
xor eax, eax
pop esi
pop ebx
add esp, 0x1c
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret