Function at 0x1011d690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
lea esi, [ecx + 0xe]
sub edx, ecx
mov bl, byte [eax + 0xf]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edx
movzx edx, byte [esi + 1]
mov eax, dword [ebp + 0xc]
movzx ecx, bl
xor edx, ecx
mov dword [ebp - 4], 0
mov ecx, edx
mov dword [ebp - 0x18], 0xe
and edx, 0xf
and ecx, 0xfffffff0
add edx, edx
mov esi, dword [eax + edx*8 + 4]
mov ebx, dword [eax + edx*8 + 8]
mov eax, dword [eax + edx*8 + 0xc]
mov edi, dword [edi + edx*8]
mov edx, dword [ebp + 0xc]
add edx, ecx
mov ecx, ebx
and ecx, 0xf
shrd ebx, eax, 4
xor ebx, dword [edx + 8]
mov ecx, dword [ecx*4 + 0x101c0ff8]
mov dword [ebp + 0x10], ecx
mov ecx, edi
shrd ecx, esi, 4
shr eax, 4
xor dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
xor ecx, dword [edx]
shr esi, 4
xor dword [ebp + 0x10], esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
xor ecx, dword [edx + 4]
shl edi, 0x1c
or eax, edi
mov dword [ebp + 0x10], ecx
xor eax, dword [edx + 0xc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x10]
movzx edx, byte [esi + ecx]
movzx ecx, byte [esi]
xor edx, ecx
mov ecx, ebx
and ecx, 0xf
mov esi, edx
and edx, 0xf
xor ebx, ebx
shl edx, 4
and esi, 0xfffffff0
mov dword [ebp - 0x14], edx
mov edi, dword [ecx*4 + 0x101c0ff8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
shrd ecx, edx, 4
shl dword [ebp - 4], 0x1c
xor ebx, ecx
shr edx, 4
mov ecx, dword [ebp + 0xc]
xor edi, edx
mov dword [ebp + 0x10], edx
mov edx, dword [ebp - 0x14]
xor ebx, dword [edx + ecx]
xor edi, dword [edx + ecx + 4]
mov ecx, dword [ebp - 8]
shrd ecx, eax, 4
mov dword [ebp - 0x14], ebx
xor ebx, ebx
or ebx, ecx
shr eax, 4
mov ecx, dword [ebp - 4]
or ecx, eax
mov eax, dword [ebp + 0xc]
xor ecx, dword [edx + eax + 0xc]
xor ebx, dword [edx + eax + 8]
mov edx, ecx
mov ecx, ebx
xor eax, eax
and ecx, 0xf
shrd ebx, edx, 4
shr edx, 4
mov ecx, dword [ecx*4 + 0x101c0ff8]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 0x14]
shrd ecx, edi, 4
xor eax, ecx
shr edi, 4
mov ecx, dword [ebp + 0x10]
xor ecx, edi
mov edi, dword [ebp + 0xc]
xor eax, dword [esi + edi]
xor ecx, dword [esi + edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], ecx
xor ecx, ecx
or ecx, ebx
shl eax, 0x1c
mov ebx, ecx
mov dword [ebp - 8], ecx
xor ebx, dword [esi + edi + 8]
or eax, edx
xor eax, dword [esi + edi + 0xc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
dec ecx
dec esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
test ecx, ecx
jns 0x1011d734
mov edx, dword [ebp + 0x10]
mov ecx, edx
shr ecx, 0x18
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
sub dword [ebp - 0x10], 0x10
add esi, 0x10
mov dword [ebp - 0xc], esi
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 [ebp - 4]
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 [ebp - 0x1c]
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 ecx, ebx
shr ecx, 0x18
mov byte [eax + 0xc], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 0xd], cl
mov ecx, ebx
shr ecx, 8
sub dword [ebp + 0x14], 0x10
mov byte [eax + 0xb], dl
mov byte [eax + 0xe], cl
mov byte [eax + 0xf], bl
jne 0x1011d6b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret