Function at 0x1000c850
Capabilities:
Encode data using xor
Hash data with crc32

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, 0x80
mov eax, dword [0x1003c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x58], edx
mov edx, ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x10]
push esi
test byte [edx + 8], 0x42
mov dword [ebp - 0x6c], eax
mov eax, dword [0x100c0c98]
push edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], eax
jne 0x1000d659
cmp byte [edx + 0xa8], 0
jg 0x1000d659
cmp byte [edx + 0xa9], 0
jg 0x1000d659
cmp byte [edx + 0x8f], 0
je 0x1000d659
movss xmm2, dword [eax + 0x3bb4]
xor esi, esi
movss xmm0, dword [edx + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x1003984c]
mulss xmm2, dword [0x10039800]
mov edi, 4
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x10039854]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne esi, edi
mov dword [ebp - 0x68], esi
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10039830]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x1000c931
movss xmm2, dword [0x100398a0]
jmp 0x1000c934
xorps xmm2, xmm2
movss xmm1, dword [0x1003993c]
movaps xmm0, xmm1
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
mov dword [edx + 0x12c], 1
call fcn.10011c30
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1000ce8d
mov eax, dword [ebp - 0x30]
lea ecx, [edx + edx*2]
xorps xmm6, xmm6
mov dword [ebp - 0x4c], ecx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x18]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x1c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x10035080]
mulss xmm2, dword [ecx*8 + 0x10035084]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10035088]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x48]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1003508c]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x48]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0xc], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 8], xmm4
jbe 0x1000ca1e
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1000ca2d
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 8], xmm2
mov ecx, dword [eax + 0xc8]
lea esi, [ebp - 0x24]
mov eax, dword [eax + 0xd0]
mov edi, 4
mov dword [ebp - 0x24], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100350e0]
sub edi, 1
jne 0x1000ca50
mov edi, dword [0x100c0c98]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000ca9d
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10018870
mov edx, dword [ebp - 0x20]
add esp, 8
mov edi, dword [0x100c0c98]
cmp dword [edi + 0x3e50], edx
jne 0x1000caab
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000caba
mov byte [edi + 0x3e7c], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.1002a220
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1000cae4
mov al, byte [ebp - 0x25]
test al, al
je 0x1000cd81
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov edi, dword [ebp - 0x3c]
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x4148], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x1000cd84
mov ecx, edi
cmp word [ecx + 0x3702], 2
jne 0x1000cb59
test edx, edx
jne 0x1000cb59
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.1000c290
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm0, dword [eax]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x34], xmm0
call fcn.10007810
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x1000cda0
mov eax, 0x20
jmp 0x1000cdad
mov edi, dword [ebp - 0x4c]
movss xmm0, dword [0x1003984c]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x10039958]
movss xmm1, dword [edi*8 + 0x10035084]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000cb88
movss xmm7, dword [edx + 4]
jmp 0x1000cb8b
movaps xmm7, xmm3
movss xmm2, dword [edi*8 + 0x10035080]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000cba3
movss xmm5, dword [edx]
jmp 0x1000cba6
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000cbc6
movss xmm1, dword [edx + 0xc]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x1003993c]
jmp 0x1000cbd3
movss xmm1, dword [0x1003993c]
movss dword [ebp - 0x20], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000cbe8
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x38], xmm0
jmp 0x1000cbed
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [edi*8 + 0x10035088]
xorps xmm4, xmm4
movss xmm3, dword [edi*8 + 0x1003508c]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x48]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x48]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x10039ac0]
movaps xmm6, xmm4
mulss xmm4, xmm3
movss xmm3, dword [edi*8 + 0x10035084]
mulss xmm6, xmm1
movss xmm1, dword [edi*8 + 0x10035080]
subss xmm4, xmm2
subss xmm6, xmm0
mulss xmm4, xmm3
mulss xmm6, xmm1
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e64]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e68]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x1000cc88
movss xmm7, dword [ebp - 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000cc96
movss xmm5, dword [ebp - 0x38]
minss xmm5, xmm6
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x54]
movss xmm0, dword [eax + 0x10]
movaps xmm2, xmm0
addss xmm0, dword [eax + 0x18]
subss xmm2, xmm5
mulss xmm2, xmm1
movss xmm1, dword [eax + 0x14]
movaps xmm4, xmm1
addss xmm1, dword [eax + 0x1c]
subss xmm4, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm4, xmm3
mulss xmm5, dword [edi*8 + 0x10035080]
addss xmm4, xmm7
movss dword [ebp - 0x40], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x44], xmm4
mulss xmm7, xmm3
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x1c], xmm5
subss xmm7, xmm4
movss dword [ebp - 0x18], xmm7
call fcn.1000c290
movss xmm0, dword [edi*8 + 0x10035080]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000cd47
subss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [edi*8 + 0x10035084]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000cd76
subss xmm0, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x25]
mov cl, byte [ebp - 0x26]
jmp 0x1000cd87
mov edx, dword [ebp - 0x2c]
xorps xmm3, xmm3
test edx, edx
je 0x1000cb45
test al, al
jne 0x1000cb4f
test cl, cl
jne 0x1000cda3
jmp 0x1000ce7e
mov cl, byte [ebp - 0x26]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov edi, dword [0x100c0c98]
add eax, eax
movss xmm4, dword [0x1003984c]
xorps xmm3, xmm3
movups xmm1, xmmword [edi + eax*8 + 0x3860]
comiss xmm3, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [edi + 0x3798]
movups xmmword [ebp - 0x80], xmm1
jbe 0x1000cde5
xorps xmm0, xmm0
jmp 0x1000cdec
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm5, dword [0x1003991c]
movss xmm6, dword [0x10039818]
movss xmm1, dword [ebp - 0x7c]
comiss xmm3, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000ce17
xorps xmm0, xmm0
jmp 0x1000ce1e
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm1, dword [ebp - 0x78]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm1
jbe 0x1000ce3e
xorps xmm0, xmm0
jmp 0x1000ce45
movaps xmm0, xmm4
minss xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000ce60
xorps xmm0, xmm0
jmp 0x1000ce67
movaps xmm0, xmm4
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebx + 0xc]
jl 0x1000c975
jmp 0x1000ce90
xorps xmm3, xmm3
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x68], eax
jbe 0x1000d2e0
nop
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1000cf20
cmp eax, 1
je 0x1000cf20
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 1
movss xmm4, dword [edx + 0x10]
movss xmm3, dword [edx + 0x14]
movaps xmm1, xmm4
addss xmm1, dword [edx + 0x18]
movaps xmm2, xmm3
addss xmm2, dword [edx + 0x1c]
cmp eax, 2
jne 0x1000cfc7
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x100398a0]
addss xmm3, dword [0x100398a0]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
addss xmm4, xmm5
movss dword [ebp - 8], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xc], xmm1
jmp 0x1000d00b
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
movss xmm4, dword [edx + 0x10]
movss xmm3, dword [edx + 0x14]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [edx + 0x18]
addss xmm2, dword [edx + 0x1c]
test eax, eax
jne 0x1000cf81
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x100398a0]
addss xmm4, dword [0x100398a0]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x14], xmm0
addss xmm3, xmm6
movss dword [ebp - 0xc], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 8], xmm2
jmp 0x1000d00b
cmp eax, 1
jne 0x1000cedc
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x100398a0]
addss xmm1, dword [0x100398a0]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
movss dword [ebp - 0x14], xmm0
addss xmm3, xmm5
movss dword [ebp - 0xc], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 8], xmm2
jmp 0x1000d00b
cmp eax, 3
jne 0x1000d004
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x100398a0]
addss xmm2, dword [0x100398a0]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
addss xmm4, xmm5
movss dword [ebp - 8], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xc], xmm1
jmp 0x1000d00b
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
mov ecx, dword [edx + 0xc8]
lea edi, [ebp - 0x20]
add eax, 4
mov esi, 4
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0xd0]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100350e0]
sub esi, 1
jne 0x1000d030
mov edi, dword [0x100c0c98]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x24], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000d07d
push ecx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.10018870
mov edx, dword [ebp - 0x24]
add esp, 8
mov edi, dword [0x100c0c98]
cmp dword [edi + 0x3e50], edx
jne 0x1000d08b
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000d09a
mov byte [edi + 0x3e7c], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x14]
call fcn.1002a220
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edi, dword [ebp - 0x3c]
je 0x1000d0cf
movss xmm0, dword [edi + 0x3e48]
comiss xmm0, dword [0x100397e8]
ja 0x1000d0d7
test dl, dl
je 0x1000d2cd
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
xor eax, 1
add eax, 3
mov dword [edi + 0x4148], eax
test dl, dl
je 0x1000d2cd
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
cmp eax, 3
jne 0x1000d279
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x10039958]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x1003993c]
movss xmm5, dword [0x1003993c]
mov eax, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [edi + ecx*4 + 0xdb8]
subss xmm0, dword [edi + ecx*4 + 0x3e64]
addss xmm0, dword [0x100398a0]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm3, xmm0
ja 0x1000d169
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm4, xmm0
ja 0x1000d17a
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [ebp - 0x4c]
mov edx, eax
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm6, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm5, dword [ecx + 0x10034eec]
subss xmm6, xmm4
minss xmm5, dword [ecx + 0x10034ef4]
movss xmm2, dword [ecx + 0x10034ee8]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x10034ef0]
addss xmm1, dword [eax + 0x1c]
subss xmm7, xmm3
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x58], xmm5
push ecx
mulss xmm6, xmm2
lea ecx, [ebp - 0x60]
mulss xmm7, xmm5
addss xmm6, xmm4
movss dword [ebp - 0x4c], xmm2
subss xmm4, xmm0
addss xmm7, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x40], xmm6
mulss xmm4, xmm2
mulss xmm3, xmm5
addss xmm4, xmm0
movss dword [ebp - 0x44], xmm7
addss xmm3, xmm1
subss xmm4, xmm6
subss xmm3, xmm7
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x50], xmm3
call fcn.1000c290
movss xmm0, dword [ebp - 0x4c]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000d24c
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ebp - 0x58]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000d2d0
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
jmp 0x1000d2d0
movss xmm1, dword [0x10039958]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp eax, 1
jne 0x1000d298
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000d111
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp eax, 2
jne 0x1000d2b0
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000d119
movss xmm1, dword [0x1003993c]
test eax, eax
jne 0x1000d119
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000d121
xorps xmm3, xmm3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x68]
jl 0x1000cea0
mov edx, dword [0x100c0c98]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x3e18]
dec dword [eax + 0xc8]
mov dword [esi + 0x12c], 0
mov eax, dword [ecx + 0x411c]
test eax, eax
je 0x1000d59b
cmp dword [eax + 0x2e8], esi
jne 0x1000d59b
mov eax, dword [ecx + 0x4000]
cmp eax, 2
jne 0x1000d35a
cmp byte [ecx + 0xdd1], 0
je 0x1000d59b
movss xmm4, dword [edx + 0x2e24]
mov ecx, edx
movss xmm5, dword [edx + 0x2e04]
mov edi, edx
subss xmm4, dword [edx + 0x2e14]
subss xmm5, dword [edx + 0x2df4]
jmp 0x1000d387
cmp eax, 3
jne 0x1000d59b
mov ecx, edx
mov edi, ecx
movss xmm4, dword [ecx + 0x3504]
movss xmm5, dword [ecx + 0x34e4]
subss xmm4, dword [ecx + 0x34f4]
subss xmm5, dword [ecx + 0x34d4]
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x1000d39f
ucomiss xmm4, xmm3
mov ecx, edi
lahf
test ah, 0x44
jnp 0x1000d59b
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x14]
movss xmm2, dword [edi + 0x58]
minss xmm2, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10039920]
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, dword [edi + 0x4140]
movss xmm4, dword [0x1003984c]
addss xmm1, dword [edi + 0x413c]
movss dword [edi + 0x4140], xmm2
movss dword [edi + 0x413c], xmm1
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x10]
subss xmm0, dword [esi + 0x18]
maxss xmm1, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0x1c]
movss dword [edi + 0x413c], xmm1
mov byte [edi + 0x4130], 0
mov byte [edi + 0x400b], 1
maxss xmm2, xmm0
movss dword [edi + 0x4140], xmm2
movups xmm2, xmmword [ecx + 0x3a60]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x3798]
movups xmmword [ebp - 0x80], xmm2
jbe 0x1000d45a
xorps xmm0, xmm0
jmp 0x1000d461
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x1003991c]
movss xmm6, dword [0x10039818]
movss xmm2, dword [ebp - 0x7c]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000d48c
xorps xmm0, xmm0
jmp 0x1000d493
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x78]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000d4b3
xorps xmm0, xmm0
jmp 0x1000d4ba
movaps xmm0, xmm4
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
jbe 0x1000d4d5
xorps xmm4, xmm4
jmp 0x1000d4d9
minss xmm4, xmm1
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x413c]
cvttss2si edi, dword [edi + 0x4140]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm3
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000d523
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000d5a2
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54]
addss xmm0, dword [edx + 0x20]
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [ebp - 0x5c], xmm0
call fcn.1000c290
mov edx, dword [0x100c0c98]
add esp, 4
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x3c]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 0x413c]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x413c], xmm0
movss xmm0, dword [eax + 0x4140]
subss xmm0, xmm1
movss dword [eax + 0x4140], xmm0
jmp 0x1000d5a7
movss xmm2, dword [ebp - 0x34]
jmp 0x1000d5aa
movss xmm2, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [0x1003993c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000d5ea
test dword [esi + 8], 0x100
movss dword [esi + 0x24], xmm2
xorps xmm2, xmm2
movss dword [esi + 0x20], xmm0
jne 0x1000d5ed
comiss xmm2, dword [edx + 0x5208]
jb 0x1000d5ed
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5208], eax
jmp 0x1000d5ed
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000d637
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x44]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
jne 0x1000d637
comiss xmm2, dword [edx + 0x5208]
jb 0x1000d637
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x5208], ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov al, byte [ebp - 0x27]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031608
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10031608
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret