Function at 0x60b8c90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.060ee370
mov ecx, dword [esp + 0x28]
push ebx
push esi
mov esi, dword [esp + 0x24]
xor edx, edx
mov eax, dword [esi + 0x170]
mov ebx, dword [esi + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x164]
mov dword [esp + 0x18], eax
mov eax, ecx
add eax, dword [esi + 0x38]
mov dword [esp + 0x14], ebx
adc edx, dword [esi + 0x3c]
cmp edx, 0xf
ja 0x60b8f0e
jb 0x60b8cea
cmp eax, 0xffffffe0
ja 0x60b8f0e
cmp dword [esi + 0x16c], 0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
je 0x60b8d14
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call ebx
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [esi + 0x16c], 0
mov eax, dword [esi + 0xc]
bswap eax
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esi + 0x168]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x60b8d6f
test ecx, ecx
je 0x60b8d58
mov al, byte [esi + ebp + 0x10]
xor al, byte [edi]
dec ecx
mov byte [ebx], al
xor byte [esi + ebp + 0x40], al
inc ebp
inc ebx
inc edi
and ebp, 0xf
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], ebp
jne 0x60b8d35
jmp 0x60b8d60
test ebp, ebp
jne 0x60b8efe
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x24]
add esp, 8
mov ecx, dword [esp + 0x38]
cmp ecx, 0xc00
jb 0x60b8e21
mov ebp, dword [esp + 0x2c]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 0xb
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], 0xc0
lea esp, [esp]
push dword [esp + 0x14]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x24]
inc ebp
mov eax, ebp
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
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 + 0x2c]
mov dword [ebx - 4], eax
jne 0x60b8da0
push 0xc00
lea eax, [ebx - 0xc00]
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
mov dword [esp + 0x3c], ebp
call dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
sub ecx, 0xc00
add esp, 0x10
dec dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
jne 0x60b8d91
mov ebp, dword [esp + 0x10]
mov edx, ecx
and edx, 0xfffffff0
mov dword [esp + 0x24], edx
je 0x60b8eb7
cmp ecx, 0x10
jb 0x60b8e9e
mov ebp, dword [esp + 0x38]
shr ecx, 4
lea eax, [esi + 0x10]
mov dword [esp + 0x1c], ecx
push dword [esp + 0x14]
push eax
push esi
call dword [esp + 0x24]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
xor eax, dword [edi]
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]
sub ebp, 0x10
dec dword [esp + 0x1c]
mov dword [ebx - 4], eax
lea eax, [esi + 0x10]
jne 0x60b8e43
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x10]
push edx
mov eax, ebx
sub eax, edx
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x40]
push eax
call dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
add esp, 0x10
test ecx, ecx
je 0x60b8efe
push dword [esp + 0x14]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
inc eax
bswap eax
mov dword [esi + 0xc], eax
lea eax, [ebx + ebp]
add esp, 0xc
sub edi, ebx
mov dword [esp + 0x2c], eax
mov ebx, eax
movzx eax, byte [edi + ebx]
movzx ecx, byte [esi + ebp + 0x10]
xor ecx, eax
lea eax, [esi + ebp]
mov byte [ebx], cl
xor byte [eax + 0x40], cl
inc ebp
lea ebx, [ebx + 1]
dec edx
jne 0x60b8ee4
pop edi
mov dword [esi + 0x168], ebp
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret