Function at 0x60bae0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.004cba10
push ebp
mov ebp, dword [esp + 0x30]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x164]
mov dword [esp + 0xc], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x60be0c
jb 0x60bb30
cmp eax, 0xffffffe0
ja 0x60be0c
cmp dword [esi + 0x16c], 0
mov edx, dword [esi + 0x168]
push ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esp + 0x2c], edx
je 0x60bba7
lea ebx, [esi + 0x40]
test ebp, ebp
jne 0x60bb70
lea eax, [esi + 0x60]
push eax
mov eax, dword [esi + 0x160]
push ebx
call eax
add esp, 8
mov dword [esi + 0x16c], ebp
xor eax, eax
pop ebx
pop esi
pop ebp
add esp, 0x1c
ret
movups xmm0, xmmword [ebx]
mov dword [esp + 0x2c], 0x10
movups xmmword [esi + 0x178], xmm0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x34]
bswap eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
and ecx, 0xf
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
je 0x60bc24
lea edx, [esi + 0x178]
add edx, eax
test ebp, ebp
je 0x60bbfb
mov al, byte [ecx + esi + 0x10]
dec ebp
xor al, byte [edi]
inc ecx
mov byte [ebx], al
inc edi
mov byte [edx], al
inc ebx
mov eax, dword [esp + 0x30]
inc edx
inc eax
mov dword [esp + 0x3c], ebp
and ecx, 0xf
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
jne 0x60bbd0
jmp 0x60bc03
test ecx, ecx
jne 0x60bdfc
mov edx, dword [esp + 0x30]
lea eax, [esi + 0x178]
push edx
push eax
lea eax, [esi + 0x60]
lea ecx, [esi + 0x40]
push eax
push ecx
call dword [esp + 0x24]
add esp, 0x10
xor eax, eax
mov dword [esp + 0x30], eax
lea ecx, [esi + 0x60]
cmp ebp, 0x10
jb 0x60bc4c
test eax, eax
je 0x60bc4c
push eax
lea eax, [esi + 0x178]
push eax
push ecx
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x30], 0
cmp ebp, 0xc00
jb 0x60bd01
mov eax, 0xaaaaaaab
lea ecx, [esi + 0x10]
mul ebp
shr edx, 0xb
mov dword [esp + 0x24], edx
nop dword [eax]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], 0xc0
nop dword [eax]
push dword [esp + 0x18]
push ecx
push esi
call dword [esp + 0x28]
inc ebp
lea ecx, [esi + 0x10]
mov eax, ebp
add esp, 0xc
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x20], 1
jne 0x60bc80
push 0xc00
lea eax, [ebx - 0xc00]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x24]
mov ebp, dword [esp + 0x4c]
lea ecx, [esi + 0x10]
sub ebp, 0xc00
add esp, 0x10
sub dword [esp + 0x24], 1
mov dword [esp + 0x3c], ebp
jne 0x60bc70
mov ecx, ebp
and ecx, 0xfffffff0
mov dword [esp + 0x24], ecx
je 0x60bd89
cmp ebp, 0x10
jb 0x60bd74
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x3c], eax
push dword [esp + 0x18]
push ecx
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0x10]
inc eax
add esp, 0xc
mov dword [esp + 0x10], eax
sub ebp, 0x10
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x3c], 1
jne 0x60bd21
mov ecx, dword [esp + 0x24]
push ecx
mov eax, ebx
sub eax, ecx
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x24]
add esp, 0x10
test ebp, ebp
je 0x60bde8
push dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub edi, ebx
mov edx, dword [esp + 0x3c]
inc eax
bswap eax
mov dword [esi + 0xc], eax
add edx, 0x178
mov eax, dword [esp + 0x34]
add esp, 0xc
add edx, esi
lea ecx, [eax + ebx]
add eax, 0x10
add eax, esi
add dword [esp + 0x30], ebp
mov dword [esp + 0x3c], eax
mov ebx, eax
nop dword [eax + eax]
mov al, byte [edi + ecx]
lea edx, [edx + 1]
xor al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
mov byte [edx - 1], al
sub ebp, 1
jne 0x60bdd0
mov edx, dword [esp + 0x30]
xor eax, eax
pop edi
pop ebx
mov dword [esi + 0x168], edx
pop esi
pop ebp
add esp, 0x1c
ret
pop edi
pop ebx
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x1c
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x1c
ret