Function at 0x60b87d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.060ee370
mov edx, dword [esp + 0x2c]
push ebx
push esi
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov eax, dword [esi + 0x170]
mov ebx, dword [esi + 0x160]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x164]
mov dword [esp + 0x20], eax
mov eax, edx
add eax, dword [esi + 0x38]
mov dword [esp + 0x1c], ebx
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x60b8a3c
jb 0x60b882a
cmp eax, 0xffffffe0
ja 0x60b8a3c
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
je 0x60b8854
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call ebx
mov edx, dword [esp + 0x3c]
add esp, 8
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0xc]
bswap eax
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esi + 0x168]
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x60b88b1
test edx, edx
je 0x60b889a
mov cl, byte [edi]
mov al, byte [esi + ebp + 0x10]
xor al, cl
mov byte [ebx], al
xor byte [esi + ebp + 0x40], cl
dec edx
inc ebp
inc edi
inc ebx
and ebp, 0xf
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], ebp
jne 0x60b8875
jmp 0x60b88a2
test ebp, ebp
jne 0x60b8a2c
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x2c]
add esp, 8
mov eax, dword [esp + 0x3c]
cmp eax, 0xc00
jb 0x60b8954
mov eax, 0xaaaaaaab
mul dword [esp + 0x3c]
shr edx, 0xb
lea ecx, [esi + 0x60]
mov dword [esp + 0x24], edx
push 0xc00
push edi
push ecx
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x20], 0xc0
push dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x28]
inc ebp
mov eax, ebp
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
add esp, 0xc
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
add ebx, 0x10
mov dword [ebx - 0xc], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
add edi, 0x10
mov dword [ebx - 8], eax
mov eax, dword [edi - 4]
xor eax, dword [esi + 0x1c]
dec dword [esp + 0x20]
mov dword [ebx - 4], eax
jne 0x60b88f1
sub dword [esp + 0x3c], 0xc00
dec dword [esp + 0x24]
mov dword [esp + 0x10], ebp
lea ecx, [esi + 0x60]
jne 0x60b88d3
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, eax
and ecx, 0xfffffff0
je 0x60b89e0
push ecx
push edi
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
add esp, 0x10
cmp eax, 0x10
jb 0x60b89e0
mov ebp, eax
shr eax, 4
lea ecx, [esi + 0x10]
mov dword [esp + 0x3c], eax
push dword [esp + 0x18]
push ecx
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
add ebx, 0x10
mov dword [ebx - 8], eax
mov eax, dword [edi + 0xc]
xor eax, dword [esi + 0x1c]
add edi, 0x10
mov dword [ebx - 4], eax
sub ebp, 0x10
dec dword [esp + 0x3c]
jne 0x60b8985
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x60b8a2c
push dword [esp + 0x18]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
inc eax
bswap eax
mov dword [esi + 0xc], eax
lea eax, [ebx + ebp]
add esp, 0xc
sub edi, ebx
lea ebx, [esi + 0x40]
mov dword [esp + 0x28], eax
mov esi, eax
mov cl, byte [edi + esi]
xor byte [ebx + ebp], cl
lea eax, [ebx + ebp]
mov al, byte [ebx + ebp - 0x30]
xor al, cl
inc ebp
mov byte [esi], al
lea esi, [esi + 1]
dec edx
jne 0x60b8a10
mov esi, dword [esp + 0x30]
pop edi
mov dword [esi + 0x168], ebp
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret