Function at 0x100017c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x34
add edx, 8
push esi
push edi
lea esi, [ebp - 0x23]
mov edi, 4
movzx eax, byte [edx - 8]
lea edx, [edx + 1]
mov byte [esi - 1], al
lea esi, [esi + 4]
movzx eax, byte [edx - 5]
mov byte [esi - 4], al
movzx eax, byte [edx - 1]
mov byte [esi - 3], al
movzx eax, byte [edx + 3]
mov byte [esi - 2], al
sub edi, 1
jne 0x100017d6
mov edi, dword [ecx + 4]
mov esi, edi
shl esi, 4
add esi, dword [ebp + 0x10]
xor ecx, ecx
push ebx
mov dword [ebp + 8], edi
lea ebx, [ebp - 0x24]
lea edi, [ebp - 0x22]
lea edx, [esi + 0xc]
nop word [eax + eax]
movzx eax, byte [ecx + esi]
lea edx, [edx + 1]
xor byte [ebx + ecx*4], al
lea ebx, [ebp - 0x21]
movzx eax, byte [esi + ecx + 4]
xor byte [ebp + ecx*4 - 0x23], al
movzx eax, byte [edx - 5]
xor byte [edi + ecx*4], al
movzx eax, byte [edx - 1]
xor byte [ebx + ecx*4], al
inc ecx
lea ebx, [ebp - 0x24]
cmp ecx, 4
jb 0x10001820
mov ebx, dword [ebp + 8]
dec ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 1
jb 0x100019c0
mov edi, ebx
lea esi, [ebp - 0x24]
shl edi, 4
add edi, dword [ebp + 0x10]
mov dword [ebp + 8], edi
nop dword [eax + eax]
lea eax, [ebp - 0x24]
push eax
call fcn.10001ce0
movzx eax, byte [ebp - 0x1d]
lea ebx, [ebp - 0x22]
mov byte [ebp - 8], al
xor edx, edx
movzx eax, byte [ebp - 0x20]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x1f]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1a]
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 0x19]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x1c]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x1b]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x16]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0x15]
mov byte [ebp - 0x10], ch
mov byte [ebp - 0xd], cl
mov ecx, edi
mov byte [ebp - 0xe], al
lea edi, [ebp - 0x21]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
xor byte [esi + edx*4], al
movzx eax, byte [ecx + 3]
xor byte [ebp + edx*4 - 0x23], al
movzx eax, byte [ecx + 7]
xor byte [ebx + edx*4], al
movzx eax, byte [ecx + 0xb]
xor byte [edi + edx*4], al
inc edx
cmp edx, 4
jb 0x100018e4
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
xor esi, esi
mov cl, byte [ebp + esi - 0x32]
xor eax, eax
mov bl, byte [ebp + esi - 0x34]
mov bh, byte [ebp + esi - 0x33]
mov byte [ebp + 0xb], cl
mov cl, byte [ebp + esi - 0x31]
mov byte [ebp - 1], cl
nop dword [eax]
movzx edx, byte [esi + eax + 0x1004ceb0]
movzx ecx, byte [ebp + eax*4 - 0x24]
shl edx, 8
xor bl, byte [ecx + edx + 0x1004d0c8]
movzx ecx, byte [ebp + eax*4 - 0x23]
mov byte [ebp - 2], bl
mov bl, byte [ebp + 0xb]
xor bh, byte [ecx + edx + 0x1004d0c8]
movzx ecx, byte [ebp + eax*4 - 0x22]
xor bl, byte [ecx + edx + 0x1004d0c8]
movzx ecx, byte [ebp + eax*4 - 0x21]
inc eax
mov byte [ebp + 0xb], bl
mov bl, byte [ebp - 1]
xor bl, byte [ecx + edx + 0x1004d0c8]
mov byte [ebp - 1], bl
mov bl, byte [ebp - 2]
cmp eax, 4
jb 0x10001930
mov al, byte [ebp + 0xb]
mov cl, byte [ebp - 1]
mov byte [ebp + esi - 0x34], bl
mov byte [ebp + esi - 0x33], bh
mov byte [ebp + esi - 0x32], al
mov byte [ebp + esi - 0x31], cl
add esi, 4
cmp esi, 0x10
jb 0x10001915
movups xmm0, xmmword [ebp - 0x34]
sub edi, 0x10
lea esi, [ebp - 0x24]
sub dword [ebp - 0x14], 1
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp + 8], edi
jne 0x10001870
lea eax, [ebp - 0x24]
push eax
call fcn.10001ce0
movzx eax, byte [ebp - 0x1d]
mov esi, 4
mov byte [ebp + 8], al
movzx eax, byte [ebp - 0x20]
mov byte [ebp + 9], al
movzx eax, byte [ebp - 0x1f]
mov byte [ebp + 0xa], al
movzx eax, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0x18]
mov byte [ebp + 0xb], al
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
add edx, 8
movzx eax, byte [ebp - 0x1a]
mov byte [ebp + 8], al
movzx eax, byte [ebp - 0x19]
mov byte [ebp + 9], al
movzx eax, byte [ebp - 0x1c]
mov byte [ebp + 0xa], al
movzx eax, byte [ebp - 0x1b]
mov byte [ebp + 0xb], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x16]
mov byte [ebp + 9], al
movzx eax, byte [ebp - 0x15]
mov byte [ebp + 8], ch
mov byte [ebp + 0xb], cl
lea ecx, [ebp - 0x23]
mov byte [ebp + 0xa], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
pop ebx
nop dword [eax]
movzx eax, byte [edx - 8]
lea edx, [edx + 1]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
xor byte [ecx - 4], al
movzx eax, byte [edx - 1]
xor byte [ecx - 3], al
movzx eax, byte [edx + 3]
xor byte [ecx - 2], al
sub esi, 1
jne 0x10001a40
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x23]
add ecx, 8
mov esi, 4
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ecx - 8], al
lea ecx, [ecx + 1]
movzx eax, byte [edx - 4]
mov byte [ecx - 5], al
movzx eax, byte [edx - 3]
mov byte [ecx - 1], al
movzx eax, byte [edx - 2]
mov byte [ecx + 3], al
sub esi, 1
jne 0x10001a75
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc