Function at 0x488ff0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.004c72a0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov eax, dword [ebx + 0x174]
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebx + 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x14], eax
xor ecx, ecx
mov eax, ebp
add eax, dword [ebx + 0x38]
mov dword [esp + 0x18], edx
adc ecx, dword [ebx + 0x3c]
cmp ecx, 0xf
ja 0x48921a
jb 0x489040
cmp eax, 0xffffffe0
ja 0x48921a
cmp dword [ebx + 0x16c], 0
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
je 0x489066
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call edx
add esp, 8
mov dword [ebx + 0x16c], 0
mov eax, dword [ebx + 0xc]
bswap eax
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [ebx + 0x168]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], esi
test edi, edi
je 0x4890e1
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], edx
nop
test ebp, ebp
je 0x4890c8
mov cl, byte [edi + ebx + 0x10]
xor cl, byte [esi]
lea eax, [edi + ebx]
mov byte [edx], cl
xor byte [eax + 0x40], cl
inc edx
inc esi
inc edi
dec ebp
and edi, 0xf
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], edi
jne 0x489090
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [esp + 0x28]
add esp, 8
jmp 0x4890e9
test edi, edi
jne 0x48920a
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [esp + 0x28]
add esp, 8
jmp 0x4890e9
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x38]
cmp ebp, 0xc00
jb 0x48916d
mov edi, dword [esp + 0x28]
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x34], edx
jmp 0x489110
push ebx
push dword [esp + 0x18]
push 0xc0
push edi
push esi
call ecx
mov eax, dword [esp + 0x24]
add eax, 0xc0
mov dword [esp + 0x24], eax
bswap eax
push 0xc00
mov dword [ebx + 0xc], eax
push edi
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
add esp, 0x24
add edi, 0xc00
add esi, 0xc00
sub ebp, 0xc00
dec dword [esp + 0x34]
jne 0x489110
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov eax, ebp
and eax, 0xfffffff0
mov dword [esp + 0x18], eax
je 0x4891c4
push ebx
push dword [esp + 0x18]
mov esi, eax
shr esi, 4
push esi
push dword [esp + 0x34]
push dword [esp + 0x44]
call ecx
mov eax, dword [esp + 0x24]
add eax, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
bswap eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x40]
add esi, eax
sub ebp, eax
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add esp, 0x24
add dword [esp + 0x28], eax
test ebp, ebp
je 0x48920a
push dword [esp + 0x14]
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x170]
push ebx
call eax
mov eax, dword [esp + 0x1c]
inc eax
bswap eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x34]
add esp, 0xc
lea edx, [edi + eax]
sub esi, eax
nop
movzx eax, byte [esi + edx]
movzx ecx, byte [ebx + edi + 0x10]
xor ecx, eax
lea eax, [ebx + edi]
mov byte [edx], cl
xor byte [eax + 0x40], cl
inc edi
lea edx, [edx + 1]
dec ebp
jne 0x4891f0
mov dword [ebx + 0x168], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret