Function at 0x101e39d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x102ab2c0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
lea eax, [ecx + 0x7c]
xor ebx, ebx
mov dword [esp + 0x14], esi
push edi
lea ebp, [esi + 0x7c]
cmp esi, eax
ja 0x101e3a02
cmp ebp, ecx
jae 0x101e3a0d
lea eax, [edx + 0x7c]
cmp esi, eax
ja 0x101e3a37
cmp ebp, edx
jb 0x101e3a37
mov ebx, esi
sub edx, ecx
sub ebx, ecx
mov edi, 0x20
nop dword [eax + eax]
mov eax, dword [ecx + edx]
lea ecx, [ecx + 4]
add eax, dword [ecx - 4]
mov dword [ebx + ecx - 4], eax
sub edi, 1
jne 0x101e3a20
jmp 0x101e3ab6
mov dword [esp + 0x10], esi
lea eax, [ecx + 0x10]
sub dword [esp + 0x10], ecx
lea edi, [esi + 0x20]
mov ebp, edx
sub ebp, ecx
mov ecx, edx
sub ecx, esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx + ebx*4]
lea edi, [edi + 0x40]
paddd xmm1, xmm0
movups xmmword [edi - 0x60], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
paddd xmm1, xmm0
movups xmmword [ecx + eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi + edi - 0x40]
paddd xmm1, xmm0
movups xmmword [edi - 0x40], xmm1
movups xmm1, xmmword [edx + ebx*4 + 0x30]
add ebx, 0x10
movups xmm0, xmmword [eax - 0x20]
paddd xmm1, xmm0
movups xmmword [edi - 0x30], xmm1
cmp ebx, 0x20
jb 0x101e3a60
mov esi, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esi + edx*4]
mov eax, ecx
shr eax, 8
add dword [esi + edx*4 + 4], eax
movzx eax, cl
mov dword [esi + edx*4], eax
inc edx
cmp edx, 0x1f
jb 0x101e3ab8
mov ebp, 0x1027e6c0
lea ebx, [esi + 8]
sub ebp, esi
mov eax, 0x1027e6c4
xor edx, edx
xor edi, edi
sub eax, esi
mov dword [esp + 0x14], eax
mov esi, eax
nop dword [eax + eax]
add edx, dword [edi*4 + 0x1027e6c0]
lea ebx, [ebx + 0x10]
mov ecx, dword [ebx - 0x18]
mov al, cl
sub ecx, edx
sub al, dl
mov edx, dword [ebx - 0x14]
shr ecx, 0x1f
add ecx, dword [edi*4 + 0x1027e6c4]
mov byte [esp + edi + 0x1c], al
mov al, dl
sub edx, ecx
sub al, cl
mov ecx, dword [ebx - 0x10]
shr edx, 0x1f
add edx, dword [ebx + ebp - 0x10]
mov byte [esp + edi + 0x1d], al
mov al, cl
sub al, dl
sub ecx, edx
mov byte [esp + edi + 0x1e], al
mov eax, dword [ebx - 0xc]
mov edx, eax
shr ecx, 0x1f
add ecx, dword [ebx + esi - 0x10]
sub al, cl
sub edx, ecx
mov byte [esp + edi + 0x1f], al
add edi, 4
shr edx, 0x1f
cmp edi, 0x20
jl 0x101e3af0
mov esi, dword [esp + 0x18]
lea edi, [edx - 1]
lea ecx, [esp + 0x3b]
movd xmm0, edi
xor eax, eax
pshufd xmm3, xmm0, 0
cmp esi, ecx
ja 0x101e3ba0
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x7c]
cmp ecx, edx
jb 0x101e3ba0
movzx edx, byte [esp + eax + 0x1c]
xor edx, dword [esi + eax*4]
and edx, edi
xor dword [esi + eax*4], edx
inc eax
cmp eax, 0x20
jl 0x101e3b76
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101ebfaa
add esp, 0x30
ret
movups xmm2, xmmword [esi + eax*4]
movd xmm1, dword [esp + eax + 0x1c]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm1, xmm2
andps xmm1, xmm3
xorps xmm1, xmm2
movups xmmword [esi + eax*4], xmm1
movups xmm2, xmmword [esi + eax*4 + 0x10]
movd xmm1, dword [esp + eax + 0x20]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm1, xmm2
andps xmm1, xmm3
xorps xmm1, xmm2
movups xmmword [esi + eax*4 + 0x10], xmm1
add eax, 8
cmp eax, 0x20
jl 0x101e3ba0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ebfaa
add esp, 0x30
ret