Function at 0x60a8c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.004ce320
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 + 0x18], eax
mov eax, ebx
add eax, dword [edi + 0x38]
adc ecx, dword [edi + 0x3c]
cmp ecx, 0xf
ja 0x60abcf
jb 0x60a8fc
cmp eax, 0xffffffe0
ja 0x60abcf
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 0x60a975
test ebx, ebx
jne 0x60a93b
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, 0x14
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 0x60a979
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 dword [esp + 0xc], ecx
mov ecx, edx
push ebp
mov ebp, dword [esp + 0x28]
and ecx, 0xf
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
je 0x60aa25
lea eax, [edi + 0x178]
add eax, edx
mov dword [esp + 0x10], eax
nop dword [eax]
test ebx, ebx
je 0x60aa15
mov al, byte [ecx + edi + 0x10]
inc edx
xor al, byte [ebp]
inc ecx
mov edi, dword [esp + 0x10]
inc ebp
inc dword [esp + 0x10]
dec ebx
mov byte [esi], al
inc esi
and ecx, 0xf
mov dword [esp + 0x34], esi
mov byte [edi], al
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
jne 0x60a9c0
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 0x60aa29
pop esi
pop ebp
mov dword [edi + 0x168], edx
xor eax, eax
pop edi
pop ebx
add esp, 0x14
ret
mov dword [esp + 0x34], esi
lea eax, [edi + 0x60]
cmp ebx, 0x10
jb 0x60aa52
test edx, edx
je 0x60aa52
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
mov ecx, dword [esp + 0x38]
cmp ebx, 0xc00
jb 0x60aade
mov eax, 0xaaaaaaab
mul ebx
shr edx, 0xb
mov dword [esp + 0x28], edx
push edi
push dword [esp + 0x24]
push 0xc0
push esi
push ebp
call ecx
mov ecx, dword [esp + 0x28]
add ecx, 0xc0
mov eax, ecx
mov dword [esp + 0x28], 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
push 0xc00
mov byte [edi + 0xe], al
lea eax, [edi + 0x60]
push esi
push eax
push dword [esp + 0x3c]
mov byte [edi + 0xf], cl
call fcn.0060b1c0
mov ecx, dword [esp + 0x5c]
add esp, 0x24
add esi, 0xc00
add ebp, 0xc00
sub ebx, 0xc00
sub dword [esp + 0x28], 1
jne 0x60aa70
mov dword [esp + 0x34], esi
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x28], eax
je 0x60ab46
push edi
push dword [esp + 0x24]
mov esi, eax
shr esi, 4
push esi
push dword [esp + 0x40]
push ebp
call ecx
mov ecx, dword [esp + 0x28]
add ecx, esi
mov esi, dword [esp + 0x48]
mov eax, ecx
mov dword [esp + 0x28], 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 + 0x3c]
add ebp, eax
push eax
sub ebx, eax
mov byte [edi + 0xf], cl
push esi
lea eax, [edi + 0x60]
push eax
push dword [esp + 0x3c]
call fcn.0060b1c0
add esp, 0x24
add esi, dword [esp + 0x28]
mov dword [esp + 0x34], esi
test ebx, ebx
je 0x60abbb
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 + 0x34]
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 + 0x18]
shr eax, 8
add ecx, esi
mov esi, dword [esp + 0x18]
mov byte [edi + 0xe], al
add esi, 0x10
mov eax, dword [esp + 0x10]
add esi, edi
lea edx, [eax + 0x178]
add edx, edi
add eax, ebx
mov dword [esp + 0x10], eax
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 0x60aba3
mov eax, dword [esp + 0x10]
pop esi
pop ebp
mov dword [edi + 0x168], eax
xor eax, eax
pop edi
pop ebx
add esp, 0x14
ret
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret