Function at 0x1000c970
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, 0x70
mov eax, dword [0x100d6f0c]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], eax
test byte [edi + 8], 0x42
jne 0x1000d70a
cmp byte [edi + 0xc0], 0
jg 0x1000d70a
cmp byte [edi + 0xc1], 0
jg 0x1000d70a
cmp byte [edi + 0xa7], 0
je 0x1000d70a
movss xmm2, dword [eax + 0x3bc8]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x100ce334]
mulss xmm2, dword [0x100ce2e4]
mov esi, 4
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x100ce360]
test cl, cl
mov byte [ebp - 3], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x34], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100ce318]
cvttss2si esi, xmm0
mov dword [ebp - 0x2c], esi
je 0x1000ca3d
movss xmm0, dword [0x100ce3e8]
movss dword [ebp - 0x24], xmm0
jmp 0x1000ca45
xorps xmm2, xmm2
movss dword [ebp - 0x24], xmm2
movss xmm1, dword [0x100ce46c]
movaps xmm0, xmm1
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0xc], xmm1
mov dword [edi + 0x144], 1
call fcn.100118d0
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0xc], edx
jle 0x1000cf6d
movss xmm0, dword [edi + 0x10]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [ebp - 0x30], ecx
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x100c8b58]
mulss xmm2, dword [ecx*8 + 0x100c8b5c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x100c8b60]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x24]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x100c8b64]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x24]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x58], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x60], xmm3
movss dword [ebp - 0x5c], xmm2
movss dword [ebp - 0x54], xmm4
jbe 0x1000cb27
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x58], xmm3
comiss xmm2, xmm4
jbe 0x1000cb36
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x54], xmm2
mov ecx, dword [edi + 0xe0]
mov esi, 4
mov eax, dword [edi + 0xe8]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100c8bb8]
sub esi, 1
jne 0x1000cb53
mov eax, dword [0x100d6f0c]
not edx
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
cmp dword [eax + 0x3e6c], edx
jne 0x1000cb99
push ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov edx, 4
call fcn.1001a080
mov edx, dword [ebp - 0x28]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x60]
call fcn.100137e0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x60]
call fcn.1002cb90
mov cl, byte [ebp - 2]
add esp, 0x14
test cl, cl
jne 0x1000cbd2
mov al, byte [ebp - 1]
test al, al
je 0x1000ce5e
mov edx, dword [ebp - 0x18]
mov eax, edx
mov edi, dword [ebp - 0x1c]
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x4938], eax
mov al, byte [ebp - 1]
test al, al
je 0x1000ce61
cmp word [edi + 0x3702], 2
jne 0x1000cc47
test edx, edx
jne 0x1000cc47
push dword [ebp - 0x38]
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0x50]
mov edx, edi
call fcn.1000c450
add esp, 4
mov byte [ebp - 3], 1
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0xc], xmm0
call fcn.10008b10
mov edx, dword [ebp - 0x18]
cmp byte [ebp - 1], 0
je 0x1000ce80
mov eax, 0x20
jmp 0x1000ce8d
mov ecx, dword [ebp - 0x30]
movss xmm0, dword [0x100ce334]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x100ce49c]
movss xmm2, dword [ecx*8 + 0x100c8b5c]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000cc76
movss xmm6, dword [edx + 4]
jmp 0x1000cc79
movaps xmm6, xmm3
movss xmm1, dword [ecx*8 + 0x100c8b58]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000cc91
movss xmm5, dword [edx]
jmp 0x1000cc94
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm2, xmm0
movss xmm2, dword [0x100ce46c]
lahf
test ah, 0x44
jp 0x1000ccaf
movss xmm7, dword [edx + 0xc]
jmp 0x1000ccb2
movaps xmm7, xmm2
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000ccc7
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x28], xmm0
jmp 0x1000cccc
movss dword [ebp - 0x28], xmm2
movss xmm4, dword [ecx*8 + 0x100c8b60]
xorps xmm3, xmm3
movss xmm2, dword [ecx*8 + 0x100c8b64]
movaps xmm0, xmm4
mulss xmm0, dword [ebp - 0x24]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x24]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x100cead0]
mulss xmm4, xmm3
mulss xmm2, xmm3
movss xmm3, dword [ecx*8 + 0x100c8b5c]
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [ecx*8 + 0x100c8b58]
mulss xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [edi + 0xdbc]
subss xmm0, dword [edi + 0x3e98]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [edi + 0xdc0]
subss xmm0, dword [edi + 0x3e9c]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x1000cd5e
movaps xmm6, xmm7
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x1000cd6c
movss xmm5, dword [ebp - 0x28]
minss xmm5, xmm4
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x40]
movss xmm2, dword [ecx*8 + 0x100c8b58]
mov edx, edi
push eax
lea ecx, [ebp - 0x48]
movss xmm0, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
movaps xmm4, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm4, xmm5
movaps xmm7, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm7, xmm6
mulss xmm4, xmm2
mulss xmm7, xmm3
addss xmm4, xmm5
subss xmm5, xmm0
addss xmm7, xmm6
subss xmm6, xmm1
movss dword [ebp - 0x10], xmm4
mulss xmm5, xmm2
mulss xmm6, xmm3
addss xmm5, xmm0
movss dword [ebp - 0x14], xmm7
addss xmm6, xmm1
subss xmm5, xmm4
subss xmm6, xmm7
movss dword [ebp - 0x40], xmm5
movss dword [ebp - 0x3c], xmm6
call fcn.1000c450
mov ecx, dword [ebp - 0x30]
add esp, 4
xorps xmm3, xmm3
movss xmm0, dword [ecx*8 + 0x100c8b58]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x48]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x1000ce24
subss xmm0, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [ecx*8 + 0x100c8b5c]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0xc], xmm0
lahf
test ah, 0x44
jp 0x1000ce53
subss xmm0, dword [ebp - 0x3c]
movss xmm1, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
jmp 0x1000ce67
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 8]
xorps xmm3, xmm3
test edx, edx
je 0x1000cc33
test al, al
jne 0x1000cc3d
test cl, cl
jne 0x1000ce83
jmp 0x1000cf5e
mov cl, byte [ebp - 2]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov ecx, dword [0x100d6f0c]
add eax, eax
movss xmm4, dword [0x100ce334]
xorps xmm3, xmm3
movups xmm2, xmmword [ecx + eax*8 + 0x3874]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x3798]
movups xmmword [ebp - 0x70], xmm2
jbe 0x1000cec5
xorps xmm0, xmm0
jmp 0x1000cecc
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x100ce438]
movss xmm6, dword [0x100ce2fc]
movss xmm2, dword [ebp - 0x6c]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000cef7
xorps xmm0, xmm0
jmp 0x1000cefe
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x68]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000cf1e
xorps xmm0, xmm0
jmp 0x1000cf25
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 0x1000cf40
xorps xmm0, xmm0
jmp 0x1000cf47
movaps xmm0, xmm4
minss xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0xc]
jl 0x1000ca81
jmp 0x1000cf70
xorps xmm3, xmm3
xor edi, edi
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x34], edi
jbe 0x1000d3ac
nop
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x18], eax
test edi, edi
je 0x1000d000
cmp edi, 1
je 0x1000d000
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], 1
movss xmm4, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movaps xmm1, xmm4
addss xmm1, dword [eax + 0x18]
movaps xmm2, xmm3
addss xmm2, dword [eax + 0x1c]
cmp edi, 2
jne 0x1000d0a7
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x100ce3e8]
addss xmm3, dword [0x100ce3e8]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x5c], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x54], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x58], xmm1
jmp 0x1000d0eb
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
movss xmm4, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [eax + 0x18]
addss xmm2, dword [eax + 0x1c]
test edi, edi
jne 0x1000d061
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x100ce3e8]
addss xmm4, dword [0x100ce3e8]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x60], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x58], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x54], xmm2
jmp 0x1000d0eb
cmp edi, 1
jne 0x1000cfbc
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x100ce3e8]
addss xmm1, dword [0x100ce3e8]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x24], ecx
movss dword [ebp - 0x60], xmm0
addss xmm3, xmm5
movss dword [ebp - 0x58], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x54], xmm2
jmp 0x1000d0eb
cmp edi, 3
jne 0x1000d0e4
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x100ce3e8]
addss xmm2, dword [0x100ce3e8]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x5c], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x54], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x58], xmm1
jmp 0x1000d0eb
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
lea ecx, [edi + 4]
mov edi, 4
mov dword [ebp - 0x38], ecx
lea esi, [ebp - 0x38]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100c8bb8]
sub edi, 1
jne 0x1000d110
mov eax, dword [0x100d6f0c]
not edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
cmp dword [eax + 0x3e6c], edx
jne 0x1000d15a
push ecx
mov ecx, dword [ebp - 0x28]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.1001a080
mov edx, dword [ebp - 0x28]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x60]
call fcn.100137e0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x60]
call fcn.1002cb90
mov dl, byte [ebp - 1]
add esp, 0x14
cmp byte [ebp - 2], 0
je 0x1000d19e
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x3e7c]
comiss xmm0, dword [0x100ce2cc]
ja 0x1000d1a6
test dl, dl
je 0x1000d39c
mov ecx, dword [ebp - 0x24]
mov eax, ecx
mov esi, dword [ebp - 0x1c]
xor eax, 1
add eax, 3
mov dword [esi + 0x4938], eax
mov esi, dword [ebp - 0x2c]
test dl, dl
je 0x1000d39c
mov eax, dword [ebx + 8]
mov dword [eax], edi
cmp edi, 3
jne 0x1000d34e
mov eax, dword [ebx + 0x14]
movss xmm3, dword [0x100ce49c]
movss xmm4, dword [eax + 4]
movss xmm1, dword [0x100ce46c]
movss xmm2, dword [0x100ce46c]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edx + ecx*4 + 0xdbc]
subss xmm0, dword [edx + ecx*4 + 0x3e98]
addss xmm0, dword [0x100ce3e8]
movss dword [ebp + ecx*4 - 0x40], xmm0
movss xmm0, dword [ebp - 0x3c]
comiss xmm4, xmm0
ja 0x1000d23e
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [ebp - 0x40]
comiss xmm3, xmm0
ja 0x1000d24f
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [ebp - 0x18]
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 + 0x100c899c]
subss xmm6, xmm3
minss xmm5, dword [ecx + 0x100c89a4]
movss xmm2, dword [ecx + 0x100c8998]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x100c89a0]
addss xmm1, dword [eax + 0x1c]
subss xmm7, xmm4
lea ecx, [ebp - 0x48]
movss dword [ebp - 0x30], xmm5
push ecx
mulss xmm6, xmm2
lea ecx, [ebp - 0x50]
mulss xmm7, xmm5
addss xmm6, xmm3
movss dword [ebp - 0x38], xmm2
subss xmm3, xmm0
addss xmm7, xmm4
subss xmm4, xmm1
movss dword [ebp - 0x10], xmm6
mulss xmm3, xmm2
mulss xmm4, xmm5
addss xmm3, xmm0
movss dword [ebp - 0x14], xmm7
addss xmm4, xmm1
subss xmm3, xmm6
subss xmm4, xmm7
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x44], xmm4
call fcn.1000c450
movss xmm0, dword [ebp - 0x38]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x1000d321
subss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
movss xmm0, dword [ebp - 0x30]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0xc], xmm0
lahf
test ah, 0x44
jp 0x1000d39f
subss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
jmp 0x1000d39f
movss xmm0, dword [0x100ce49c]
movaps xmm4, xmm0
cmp edi, 1
jne 0x1000d36a
mov eax, dword [ebx + 0x14]
movss xmm3, dword [eax]
jmp 0x1000d1e3
movaps xmm3, xmm0
cmp edi, 2
jne 0x1000d37f
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000d1eb
movss xmm1, dword [0x100ce46c]
test edi, edi
jne 0x1000d1eb
mov eax, dword [ebx + 0x14]
movss xmm2, dword [eax + 8]
jmp 0x1000d1f3
xorps xmm3, xmm3
inc edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x34]
jl 0x1000cf80
mov esi, dword [0x100d6f0c]
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x3e38]
dec dword [eax + 0xe0]
mov dword [edx + 0x144], 0
mov eax, dword [edi + 0x490c]
test eax, eax
je 0x1000d650
cmp dword [eax + 0x300], edx
jne 0x1000d650
mov eax, dword [edi + 0x47e8]
cmp eax, 2
jne 0x1000d422
cmp byte [edi + 0xdd5], 0
je 0x1000d650
movss xmm4, dword [esi + 0x2e08]
movss xmm5, dword [esi + 0x2e28]
subss xmm4, dword [esi + 0x2df8]
subss xmm5, dword [esi + 0x2e18]
jmp 0x1000d44b
cmp eax, 3
jne 0x1000d650
movss xmm4, dword [esi + 0x34e8]
movss xmm5, dword [esi + 0x3508]
subss xmm4, dword [esi + 0x34d8]
subss xmm5, dword [esi + 0x34f8]
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jp 0x1000d461
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x1000d650
movss xmm2, dword [edi + 0x58]
minss xmm2, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100ce440]
mov eax, dword [ebx + 0x14]
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm2, xmm5
mulss xmm1, xmm4
addss xmm2, dword [edi + 0x4930]
movss xmm4, dword [0x100ce334]
addss xmm1, dword [edi + 0x492c]
movss dword [edi + 0x4930], xmm2
movss dword [edi + 0x492c], xmm1
movss xmm0, dword [eax]
subss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x18]
maxss xmm1, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
movss dword [edi + 0x492c], xmm1
mov byte [edi + 0x4920], 0
mov byte [edi + 0x47f3], 1
maxss xmm2, xmm0
movss dword [edi + 0x4930], xmm2
movups xmm2, xmmword [esi + 0x3a74]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [esi + 0x3798]
movups xmmword [ebp - 0x70], xmm2
jbe 0x1000d519
xorps xmm0, xmm0
jmp 0x1000d520
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x100ce438]
movss xmm6, dword [0x100ce2fc]
movss xmm2, dword [ebp - 0x6c]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000d54b
xorps xmm0, xmm0
jmp 0x1000d552
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x68]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x1000d572
xorps xmm0, xmm0
jmp 0x1000d579
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 0x1000d594
xorps xmm4, xmm4
jmp 0x1000d598
minss xmm4, xmm1
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x492c]
cvttss2si edi, dword [edi + 0x4930]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm3
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1000d5de
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000d657
addss xmm0, dword [edx + 0x20]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x48]
movss dword [ebp - 0x50], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [ebp - 0x4c], xmm0
call fcn.1000c450
mov edx, dword [ebp - 8]
add esp, 4
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x492c]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x492c], xmm0
movss xmm0, dword [eax + 0x4930]
subss xmm0, xmm1
movss dword [eax + 0x4930], xmm0
jmp 0x1000d65c
movss xmm2, dword [ebp - 0xc]
jmp 0x1000d662
movss xmm2, dword [ebp - 0xc]
mov esi, dword [0x100d6f0c]
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [0x100ce46c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000d6a2
test dword [edx + 8], 0x100
movss dword [edx + 0x24], xmm2
xorps xmm2, xmm2
movss dword [edx + 0x20], xmm0
jne 0x1000d6a5
comiss xmm2, dword [esi + 0x5a0c]
jb 0x1000d6a5
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5a0c], eax
jmp 0x1000d6a5
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000d6ef
test dword [edx + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm1
movss dword [edx + 0x14], xmm0
jne 0x1000d6ef
comiss xmm2, dword [esi + 0x5a0c]
jb 0x1000d6ef
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x5a0c], ecx
mov esi, dword [ebp - 8]
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov al, byte [ebp - 3]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret