Function at 0x100e8040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x100e81f6
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 4]
mov ebx, eax
cmp esi, ebx
cmovl ebx, esi
xor edx, edx
mov dword [ebp - 0x10], ebx
test ebx, ebx
jle 0x100e8250
mov esi, dword [ebp + 8]
cmp ebx, 0x20
jb 0x100e8146
mov eax, esi
lea ecx, [edi + 4]
add eax, 4
mov dword [ebp - 4], ecx
mov ecx, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [eax + ebx*4]
add eax, 0xfffffffc
cmp ecx, eax
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
ja 0x100e80b6
cmp eax, dword [ebp - 0xc]
jae 0x100e8146
cmp ecx, dword [ebp - 4]
ja 0x100e80c4
cmp eax, dword [ebp - 4]
jae 0x100e8146
cmp ecx, dword [ebp - 8]
ja 0x100e80ce
cmp eax, dword [ebp - 8]
jae 0x100e8146
mov eax, ebx
and eax, 0x8000001f
jns 0x100e80dc
dec eax
or eax, 0xffffffe0
inc eax
mov esi, ebx
sub esi, eax
mov eax, 0x40
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
nop dword [eax + eax]
vmovups ymm0, ymmword [eax + ecx - 0x40]
vsubps ymm0, ymm0, ymmword [eax + esi - 0x40]
vmovups ymmword [eax + ecx - 0x40], ymm0
vmovups ymm0, ymmword [eax + ecx - 0x20]
vsubps ymm0, ymm0, ymmword [eax + esi - 0x20]
vmovups ymmword [eax + ecx - 0x20], ymm0
vmovups ymm0, ymmword [eax + ecx]
vsubps ymm0, ymm0, ymmword [eax + esi]
vmovups ymmword [eax + ecx], ymm0
vmovups ymm0, ymmword [eax + ecx + 0x20]
vsubps ymm0, ymm0, ymmword [eax + esi + 0x20]
add edx, 0x20
lea eax, [eax + 0x80]
vmovups ymmword [eax + ecx - 0x60], ymm0
cmp edx, dword [ebp - 8]
jl 0x100e80f0
mov esi, dword [ebp + 8]
cmp edx, ebx
jge 0x100e8250
mov eax, ebx
sub eax, edx
cmp eax, 4
jl 0x100e81c7
lea eax, [ebx - 3]
mov ebx, eax
nop dword [eax]
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
vmovss xmm0, dword [ecx + edx*4]
vsubss xmm0, xmm0, dword [eax + edx*4]
vmovss dword [ecx + edx*4], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
vmovss xmm0, dword [ecx + edx*4 + 4]
vsubss xmm0, xmm0, dword [eax + edx*4 + 4]
vmovss dword [ecx + edx*4 + 4], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
vmovss xmm0, dword [ecx + edx*4 + 8]
vsubss xmm0, xmm0, dword [eax + edx*4 + 8]
vmovss dword [ecx + edx*4 + 8], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
vmovss xmm0, dword [ecx + edx*4 + 0xc]
vsubss xmm0, xmm0, dword [eax + edx*4 + 0xc]
vmovss dword [ecx + edx*4 + 0xc], xmm0
add edx, 4
cmp edx, ebx
jl 0x100e8160
mov ebx, dword [ebp - 0x10]
cmp edx, ebx
jge 0x100e8250
nop
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
vmovss xmm0, dword [ecx + edx*4]
vsubss xmm0, xmm0, dword [eax + edx*4]
vmovss dword [ecx + edx*4], xmm0
inc edx
cmp edx, ebx
jl 0x100e81d0
pop edi
pop esi
pop ebx
vzeroupper
mov esp, ebp
pop ebp
ret 4
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [edi + 0xc], edx
jle 0x100e8250
xor ebx, ebx
test eax, eax
jle 0x100e8247
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
push ebx
push edx
call dword [eax + 8]
push ebx
push dword [ebp - 4]
mov ecx, edi
vmovss xmm0, dword [esi + eax*4]
mov eax, dword [edi]
mov esi, dword [edi + 4]
vmovss dword [ebp - 0x10], xmm0
call dword [eax + 8]
vmovss xmm0, dword [esi + eax*4]
vsubss xmm0, xmm0, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
inc ebx
mov edx, dword [ebp - 4]
lea eax, [esi + eax*4]
vmovss dword [eax], xmm0
mov eax, dword [edi + 0x10]
cmp ebx, eax
jl 0x100e8206
inc edx
mov dword [ebp - 4], edx
cmp edx, dword [edi + 0xc]
jl 0x100e8200
pop edi
pop esi
pop ebx
vzeroupper
mov esp, ebp
pop ebp
ret 4