Function at 0x10191700
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.101bea50
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
lea ebx, [ecx + 0xe]
sub edx, ecx
mov dword [esp + 0x14], ebx
push edi
mov dword [esp + 0x1c], edx
nop dword [eax]
movzx ecx, byte [eax + 0xf]
xor ebp, ebp
movzx edx, byte [ebx + 1]
mov eax, dword [esp + 0x30]
xor edx, ecx
mov ecx, edx
mov dword [esp + 0x20], 0xe
and ecx, 0xf
and edx, 0xfffffff0
add ecx, ecx
mov ebx, dword [eax + ecx*8 + 8]
mov edi, dword [esi + ecx*8]
mov eax, dword [eax + ecx*8 + 0xc]
mov esi, dword [esi + ecx*8 + 4]
mov ecx, ebx
and ecx, 0xf
shrd ebx, eax, 4
shr eax, 4
mov ecx, dword [ecx*4 + 0x102d8af0]
mov dword [esp + 0x34], ecx
mov ecx, edi
shrd ecx, esi, 4
shl edi, 0x1c
xor ebp, ecx
shr esi, 4
mov ecx, dword [esp + 0x34]
or eax, edi
xor ecx, esi
mov esi, dword [esp + 0x30]
xor ebp, dword [edx + esi]
xor ecx, dword [edx + esi + 4]
xor ebx, dword [edx + esi + 8]
xor eax, dword [edx + esi + 0xc]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x1c]
and ebx, 0xf
xor ebp, ebp
movzx edi, byte [ecx + edx]
movzx ecx, byte [edx]
xor edi, ecx
mov ecx, dword [esp + 0x10]
shl dword [esp + 0x10], 0x1c
mov edx, edi
and edx, 0xf
and edi, 0xfffffff0
shl edx, 4
add edx, esi
mov esi, dword [ebx*4 + 0x102d8af0]
mov ebx, dword [esp + 0x34]
shrd ecx, ebx, 4
xor ebp, ecx
shr ebx, 4
mov ecx, dword [esp + 0x14]
xor esi, ebx
xor esi, dword [edx + 4]
xor ebx, ebx
xor ebp, dword [edx]
shrd ecx, eax, 4
or ebx, ecx
shr eax, 4
xor ebx, dword [edx + 8]
mov ecx, dword [esp + 0x10]
or ecx, eax
xor eax, eax
xor ecx, dword [edx + 0xc]
mov edx, ecx
mov ecx, ebx
and ecx, 0xf
shrd ebx, edx, 4
shr edx, 4
mov ecx, dword [ecx*4 + 0x102d8af0]
mov dword [esp + 0x34], ecx
mov ecx, ebp
shrd ecx, esi, 4
xor eax, ecx
shr esi, 4
mov ecx, dword [esp + 0x34]
xor ecx, esi
mov esi, dword [esp + 0x30]
xor ecx, dword [edi + esi + 4]
xor eax, dword [edi + esi]
mov dword [esp + 0x34], ecx
xor ecx, ecx
or ecx, ebx
mov dword [esp + 0x10], eax
xor ecx, dword [edi + esi + 8]
mov eax, ebp
shl eax, 0x1c
or eax, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
dec ecx
xor eax, dword [edi + esi + 0xc]
dec edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
test ecx, ecx
jns 0x101917b5
mov edx, dword [esp + 0x34]
mov ecx, edx
shr ecx, 0x18
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x1c], 0x10
mov byte [eax], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov byte [eax + 3], dl
mov edx, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 5], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 6], cl
mov byte [eax + 7], dl
mov edx, dword [esp + 0x24]
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 0xa], cl
mov byte [eax + 0xb], dl
mov edx, ebx
mov ebx, dword [esp + 0x18]
mov ecx, edx
shr ecx, 0x18
add ebx, 0x10
mov byte [eax + 0xc], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0xd], cl
mov ecx, edx
shr ecx, 8
sub dword [esp + 0x38], 0x10
mov byte [eax + 0xe], cl
mov byte [eax + 0xf], dl
mov dword [esp + 0x18], ebx
jne 0x10191730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret