Function at 0x100e40a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
test ebx, ebx
je 0x100e42cb
mov esi, dword [esp + 0x28]
cmp esi, 8
jl 0x100e42cb
cmp esi, 0x4000
jg 0x100e42cb
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], eax
test eax, eax
je 0x100e42cb
push edi
lea edi, [esi + esi*2]
shl edi, 3
push edi
lfence
call dword [0x1030d458]
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x100e410b
mov esi, dword [esp + 0x10]
or eax, 0xffffffff
pop edi
mov dword [ebx], esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebx + 4], esi
test ebp, ebp
jle 0x100e42b4
mov esi, dword [esp + 0x10]
mov edi, ebp
add esi, 0xc
nop dword [eax + eax]
cmp dword [esi + 8], 0
je 0x100e4168
push dword [esi]
push dword [esi - 4]
push dword [esi - 8]
push ebx
call fcn.100e3bd0
movups xmm0, xmmword [esi - 0xc]
add esp, 0x10
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esi + 4]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, dword [ebx]
mov dword [eax + ecx*8], 0
add esi, 0x18
sub edi, 1
jne 0x100e4130
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x1c], eax
nop word [eax + eax]
mov ebp, dword [eax]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x100e42a0
nop
mov eax, dword [ebp]
mov ebx, dword [ebp + 4]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
xor eax, eax
test ebx, ebx
je 0x100e41d4
movzx ebp, byte [ebx]
mov eax, ebp
shl eax, 4
sub eax, ebp
add eax, eax
test ebp, ebp
je 0x100e41d0
mov edx, eax
lea ebx, [ebx + 1]
shl edx, 5
mov ecx, eax
add edx, ebp
shr ecx, 3
movzx ebp, byte [ebx]
add ecx, edx
xor eax, ecx
test ebp, ebp
jne 0x100e41b6
mov ebp, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x100e420a
movzx ebx, byte [esi]
test ebx, ebx
je 0x100e420a
nop dword [eax]
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, ebx
shr ecx, 3
movzx ebx, byte [esi]
add ecx, edx
xor eax, ecx
test ebx, ebx
jne 0x100e41f0
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test edi, edi
je 0x100e423d
movzx esi, byte [edi]
test esi, esi
je 0x100e423d
mov edx, eax
lea edi, [edi + 1]
shl edx, 5
mov ecx, eax
add edx, esi
shr ecx, 3
movzx esi, byte [edi]
add ecx, edx
xor eax, ecx
test esi, esi
jne 0x100e4223
mov ebx, dword [esp + 0x28]
xor edx, edx
div dword [ebx + 4]
mov eax, dword [ebx]
lea ecx, [edx + edx*2]
shl ecx, 3
add eax, ecx
cmp dword [eax + 0x14], 0
jne 0x100e427c
movups xmm0, xmmword [ebp]
push ebp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp + 0x10]
movq qword [eax + 0x10], xmm0
mov eax, dword [ebx]
mov dword [ecx + eax], 0
call dword [0x1030d464]
add esp, 4
jmp 0x100e4286
mov eax, dword [eax]
mov dword [ebp], eax
mov eax, dword [ebx]
mov dword [ecx + eax], ebp
mov eax, dword [esp + 0x20]
mov ebp, eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100e4190
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0x18
sub ecx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jne 0x100e4180
push dword [esp + 0x10]
call dword [0x1030d464]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret