Function at 0x10026350
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100d83e0]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], eax
test byte [edi + 8], 0x42
jne 0x10026c4d
cmp dword [edi + 0x90], 0
jg 0x10026c4d
cmp dword [edi + 0x94], 0
jg 0x10026c4d
cmp byte [edi + 0x7b], 0
je 0x10026c4d
movss xmm2, dword [eax + 0x18ac]
xor edx, edx
movss xmm0, dword [edi + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x100c4bc8]
mulss xmm2, dword [0x100c4b54]
mov esi, 4
mov cl, byte [eax + 0xaf]
mulss xmm1, dword [0x100c4bd0]
test cl, cl
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x38], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100c4b94]
cvttss2si esi, xmm0
mov dword [ebp - 0x30], esi
je 0x10026414
movss xmm0, dword [0x100c4c40]
jmp 0x10026417
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
mov ecx, 0x100c25b0
movss xmm0, dword [0x100c4f20]
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 8], xmm0
call fcn.1002adb0
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0xc], edx
jle 0x100267d3
movss xmm0, dword [edi + 0xc]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
addss xmm2, xmm1
mov dword [ebp - 0x28], eax
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax*8 + 0x100d1ae8]
mulss xmm2, dword [eax*8 + 0x100d1aec]
addss xmm3, xmm0
movss xmm0, dword [eax*8 + 0x100d1af0]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x1c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x100d1af4]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x1c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x5c], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x64], xmm3
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x58], xmm4
jbe 0x100264f7
movss dword [ebp - 0x64], xmm5
movss dword [ebp - 0x5c], xmm3
comiss xmm2, xmm4
jbe 0x10026506
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x58], xmm2
mov ecx, dword [edi + 0x1c0]
lea esi, [ebp - 0x24]
mov eax, dword [edi + 0x1c8]
mov edi, 4
mov dword [ebp - 0x24], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100bc900]
sub edi, 1
jne 0x10026523
mov eax, dword [0x100d83e0]
not edx
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
cmp dword [eax + 0x19ac], edx
jne 0x10026558
mov dword [eax + 0x19b4], edx
cmp dword [eax + 0x19b0], edx
jne 0x10026567
mov byte [eax + 0x19c0], 1
push 0x2020
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x64]
call fcn.1003f210
mov cl, byte [ebp - 2]
add esp, 0xc
test cl, cl
jne 0x10026591
mov al, byte [ebp - 1]
test al, al
je 0x100268fc
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x14]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1cd8], eax
mov al, byte [ebp - 1]
test al, al
je 0x10026791
cmp byte [ecx + 0x3d5], 0
je 0x10026603
test edx, edx
jne 0x10026603
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
mov edx, edi
push dword [eax + 4]
push dword [eax]
call fcn.10025e40
add esp, 8
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 8], xmm2
call fcn.10022450
mov edx, dword [ebp - 0x18]
cmp byte [ebp - 1], 0
je 0x100267a8
mov ecx, 0x20
jmp 0x100267b3
mov eax, dword [ebp - 0x28]
mov edx, edi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
movss xmm7, dword [eax*8 + 0x100d1af0]
xorps xmm3, xmmword [0x100c5790]
movaps xmm0, xmm7
mulss xmm0, dword [ebp - 0x1c]
movss xmm2, dword [eax*8 + 0x100d1af4]
movss xmm4, dword [eax*8 + 0x100d1ae8]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x1c]
movss xmm5, dword [eax*8 + 0x100d1aec]
mulss xmm7, xmm3
mulss xmm2, xmm3
subss xmm7, xmm0
movss xmm6, dword [edi + 0x10]
movss xmm3, dword [edi + 0xc]
subss xmm2, xmm1
mulss xmm7, xmm4
mulss xmm2, xmm5
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe0]
subss xmm0, dword [ecx + 0x19cc]
addss xmm2, xmm1
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe4]
subss xmm0, dword [ecx + 0x19d0]
lea ecx, [ebp - 0x4c]
subss xmm3, xmm7
addss xmm0, xmm2
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0x10]
mulss xmm3, xmm4
subss xmm6, xmm0
movss dword [ebp - 0x24], xmm0
addss xmm3, xmm7
mulss xmm6, xmm5
movss dword [ebp - 0xc], xmm3
addss xmm6, xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x10], xmm6
subss xmm7, xmm0
mulss xmm7, xmm4
addss xmm7, xmm0
movss xmm0, dword [ebp - 0x24]
subss xmm0, xmm2
subss xmm7, xmm3
mulss xmm0, xmm5
addss xmm0, xmm2
movss dword [ebp - 0x44], xmm7
movss dword [ebp - 8], xmm7
subss xmm0, xmm6
movss dword [ebp - 0x40], xmm0
push dword [ebp - 0x40]
movss dword [ebp - 0x24], xmm0
push dword [ebp - 0x44]
call fcn.10025e40
mov ecx, dword [ebp - 0x28]
add esp, 8
movss xmm3, dword [ebp - 0x4c]
xorps xmm1, xmm1
movss dword [ebp - 0x20], xmm3
movss xmm0, dword [ecx*8 + 0x100d1ae8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10026759
movss xmm2, dword [ebp - 0xc]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 8]
subss xmm2, xmm0
movss dword [ebp - 0xc], xmm2
movss xmm0, dword [ecx*8 + 0x100d1aec]
movss xmm2, dword [ebp - 0x48]
ucomiss xmm0, xmm1
movss dword [ebp - 8], xmm2
lahf
test ah, 0x44
jp 0x1002678b
movss xmm1, dword [ebp - 0x10]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
test edx, edx
je 0x100265ef
test al, al
jne 0x100265f9
test cl, cl
je 0x100267c6
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100c4bc8]
call fcn.10020880
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0xc]
jl 0x10026450
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x38], edx
jbe 0x10026a23
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x64]
push edx
mov edx, edi
call fcn.10026220
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x3c]
mov ecx, dword [edi + 0x1c0]
add esp, 8
add eax, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x1c8]
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100bc900]
sub edi, 1
jne 0x10026821
mov eax, dword [0x100d83e0]
not edx
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
cmp dword [eax + 0x19ac], edx
jne 0x10026856
mov dword [eax + 0x19b4], edx
cmp dword [eax + 0x19b0], edx
jne 0x10026865
mov byte [eax + 0x19c0], 1
push 0x20
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x64]
call fcn.1003f210
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x10026894
movss xmm0, dword [ecx + 0x19a4]
comiss xmm0, dword [0x100c4b28]
ja 0x1002689e
cmp byte [ebp - 2], 0
je 0x10026a13
mov edx, dword [ebp - 0x1c]
mov eax, edx
and eax, 1
add eax, 3
cmp byte [ebp - 2], 0
mov dword [ecx + 0x1cd8], eax
je 0x10026a16
mov eax, dword [ebx + 8]
xorps xmm5, xmm5
movss xmm7, dword [edi + 0xc]
xorps xmm6, xmm6
movss xmm4, dword [edi + 0x10]
movaps xmm1, xmm7
movss dword [ebp - 8], xmm5
movaps xmm2, xmm4
mov dword [eax], edx
movss dword [ebp - 0x18], xmm6
test edx, edx
jne 0x10026904
movss xmm2, dword [ecx + 0xe4]
subss xmm2, dword [ecx + 0x19d0]
addss xmm2, dword [0x100c4c40]
jmp 0x1002693f
mov edx, dword [ebp - 0x18]
jmp 0x10026794
cmp edx, 1
jne 0x10026913
movss xmm6, dword [0x100c4bc8]
jmp 0x10026927
cmp edx, 2
jne 0x10026922
movss xmm5, dword [0x100c4bc8]
jmp 0x100268e2
cmp edx, 3
jne 0x10026949
movss xmm1, dword [ecx + 0xe0]
subss xmm1, dword [ecx + 0x19cc]
addss xmm1, dword [0x100c4c40]
movss dword [ebp - 8], xmm5
movss dword [ebp - 0x18], xmm6
movss xmm0, dword [edi + 0x18]
subss xmm4, xmm2
addss xmm0, dword [edi + 0x10]
movaps xmm3, xmm7
lea ecx, [ebp - 0x4c]
addss xmm7, dword [edi + 0x14]
subss xmm3, xmm1
mov edx, edi
mulss xmm4, xmm5
addss xmm4, xmm2
mulss xmm3, xmm6
subss xmm2, xmm0
addss xmm3, xmm1
subss xmm1, xmm7
movss dword [ebp - 0x10], xmm4
mulss xmm2, xmm5
movss dword [ebp - 0xc], xmm3
mulss xmm1, xmm6
addss xmm2, xmm0
addss xmm1, xmm7
subss xmm2, xmm4
subss xmm1, xmm3
movss dword [ebp - 0x28], xmm2
push dword [ebp - 0x28]
movss dword [ebp - 0x2c], xmm1
push dword [ebp - 0x2c]
call fcn.10025e40
movss xmm0, dword [ebp - 0x18]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x100269e8
subss xmm0, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0xc]
subss xmm2, xmm0
movss dword [ebp - 0xc], xmm2
movss xmm0, dword [ebp - 8]
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x48]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x10026a13
subss xmm0, dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x38]
jl 0x100267e1
mov esi, dword [0x100d83e0]
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x198c]
dec dword [eax + 0x1c0]
mov eax, dword [ecx + 0x1adc]
test eax, eax
je 0x10026bb4
cmp dword [eax + 0x2f0], edi
jne 0x10026bb4
mov eax, dword [ecx + 0x1ac4]
cmp eax, 3
jne 0x10026a9c
cmp byte [ecx + 0xf9], 0
je 0x10026bb4
xor edx, edx
lea ecx, [eax + 0xf]
call fcn.1002cba0
lea ecx, [edx + 0x11]
movaps xmm6, xmm0
call fcn.1002cba0
subss xmm6, xmm0
xorps xmm5, xmm5
lea ecx, [edx + 0x14]
addss xmm6, xmm5
movss dword [ebp - 0x24], xmm6
call fcn.1002cba0
lea ecx, [edx + 0x13]
jmp 0x10026ae1
xorps xmm7, xmm7
xorps xmm6, xmm6
movss dword [ebp - 0x1c], xmm7
xorps xmm5, xmm5
movss dword [ebp - 0x24], xmm6
cmp eax, 4
jne 0x10026afb
xor edx, edx
lea ecx, [eax + 1]
call fcn.1002cba0
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.1002cba0
subss xmm6, xmm0
lea ecx, [edx + 7]
addss xmm6, xmm5
movss dword [ebp - 0x24], xmm6
call fcn.1002cba0
lea ecx, [edx + 6]
xor edx, edx
movaps xmm7, xmm0
call fcn.1002cba0
mov ecx, dword [ebp - 0x14]
subss xmm7, xmm0
addss xmm7, xmm5
movss dword [ebp - 0x1c], xmm7
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x10026b11
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x10026bb7
movss xmm2, dword [ecx + 0xa4]
movss xmm0, dword [ecx + 0x18]
minss xmm2, dword [ecx + 0xa8]
mulss xmm0, dword [0x100c4ef4]
mov byte [ecx + 0x1af0], 0
movss xmm1, dword [0x100c4bc8]
mov byte [ecx + 0x1aff], 1
mov ecx, 0x20
mulss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.10020880
mov edx, edi
mov ecx, dword [ebx + 0x10]
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm7
mov dword [ecx], eax
lea ecx, [ebp - 0x54]
addss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm7
addss xmm0, dword [edi + 0x20]
movss dword [ebp - 0x40], xmm0
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.10025e40
mov esi, dword [0x100d83e0]
add esp, 8
xorps xmm5, xmm5
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
jmp 0x10026bbc
xorps xmm5, xmm5
movss xmm0, dword [ebp - 8]
movss xmm1, dword [ebp - 0x20]
movss xmm2, dword [0x100c4f20]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10026bf7
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm1
movss dword [edi + 0x20], xmm0
jne 0x10026bf7
comiss xmm5, dword [esi + 0x2cb4]
jb 0x10026bf7
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2cb4], eax
movss xmm0, dword [ebp - 0xc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10026c41
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jne 0x10026c41
comiss xmm5, dword [esi + 0x2cb4]
jb 0x10026c41
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2cb4], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [edi + 0x18], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret