Function at 0x1000c8d0
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 [0x1004f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x58], edx
mov edx, ecx
push esi
push edi
mov edi, dword [0x1004f950]
test byte [edx + 8], 0x42
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x3c], edi
jne 0x1000d739
cmp byte [edx + 0xa8], 0
jg 0x1000d739
cmp byte [edx + 0xa9], 0
jg 0x1000d739
cmp byte [edx + 0x8f], 0
je 0x1000d739
movss xmm2, dword [edi + 0x3bb4]
xor eax, eax
movss xmm0, dword [edx + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x1004c7a0]
mulss xmm2, dword [0x1004c750]
mov esi, 4
mov cl, byte [edi + 0x66]
mulss xmm1, dword [0x1004c7a8]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x68], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1004c784]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x1000c9b2
movss xmm2, dword [0x1004c7f8]
jmp 0x1000c9b5
xorps xmm2, xmm2
movss xmm1, dword [0x1004c854]
mov dword [edx + 0x12c], 1
movaps xmm0, xmm1
mov eax, dword [edi + 0x3e18]
xor edx, edx
add eax, 0xc8
movss dword [ebp - 0x48], xmm2
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x44], xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 8]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
push dword [eax + ecx*4 - 4]
mov ecx, str.RESIZE
call fcn.10005180
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x3e38], edi
jne 0x1000ca2b
push ecx
push str.RESIZE
mov edx, 0xb
mov ecx, edi
call fcn.10018f40
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edi
call fcn.10019540
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1000cf65
nop dword [eax + eax]
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 + 0x100472a8]
mulss xmm2, dword [ecx*8 + 0x100472ac]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x100472b0]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x48]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x100472b4]
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 0x1000caf9
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1000cb08
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
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10047308]
sub edi, 1
jne 0x1000cb25
mov edi, dword [0x1004f950]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000cb72
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.10018f40
mov edx, dword [ebp - 0x20]
add esp, 8
mov edi, dword [0x1004f950]
cmp dword [edi + 0x3e50], edx
jne 0x1000cb80
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000cb8f
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.1002d080
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1000cbb9
mov al, byte [ebp - 0x25]
test al, al
je 0x1000ce51
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4148], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x1000ce59
cmp word [ecx + 0x3702], 2
jne 0x1000cc2c
test edx, edx
jne 0x1000cc2c
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.1000c310
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.100077d0
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x1000ce78
mov eax, 0x20
jmp 0x1000ce85
mov edi, dword [ebp - 0x4c]
movss xmm0, dword [0x1004c7a0]
mov edx, dword [ebx + 0x14]
movss xmm3, dword [0x1004c87c]
movss xmm1, dword [edi*8 + 0x100472ac]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000cc5b
movss xmm7, dword [edx + 4]
jmp 0x1000cc5e
movaps xmm7, xmm3
movss xmm2, dword [edi*8 + 0x100472a8]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000cc76
movss xmm5, dword [edx]
jmp 0x1000cc79
movaps xmm5, xmm3
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000cc99
movss xmm1, dword [edx + 0xc]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x1004c854]
jmp 0x1000cca6
movss xmm1, dword [0x1004c854]
movss dword [ebp - 0x20], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000ccbb
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x38], xmm0
jmp 0x1000ccc0
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [edi*8 + 0x100472b0]
xorps xmm4, xmm4
movss xmm3, dword [edi*8 + 0x100472b4]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x48]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x48]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x1004c980]
movaps xmm6, xmm4
mulss xmm4, xmm3
movss xmm3, dword [edi*8 + 0x100472ac]
mulss xmm6, xmm1
movss xmm1, dword [edi*8 + 0x100472a8]
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 0x1000cd5b
movss xmm7, dword [ebp - 0x20]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x1000cd69
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 + 0x100472a8]
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.1000c310
movss xmm0, dword [edi*8 + 0x100472a8]
add esp, 4
xorps xmm3, xmm3
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x1000ce1a
subss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [edi*8 + 0x100472ac]
ucomiss xmm0, xmm3
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1000ce49
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]
jmp 0x1000ce5c
mov edx, dword [ebp - 0x2c]
xorps xmm3, xmm3
jmp 0x1000ce5f
xorps xmm3, xmm3
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x1000cc18
test al, al
jne 0x1000cc22
test cl, cl
jne 0x1000ce7b
jmp 0x1000cf56
mov cl, byte [ebp - 0x26]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov edi, dword [0x1004f950]
add eax, eax
movss xmm4, dword [0x1004c7a0]
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 0x1000cebd
xorps xmm0, xmm0
jmp 0x1000cec4
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm5, dword [0x1004c834]
movss xmm6, dword [0x1004c768]
movss xmm1, dword [ebp - 0x7c]
comiss xmm3, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000ceef
xorps xmm0, xmm0
jmp 0x1000cef6
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 0x1000cf16
xorps xmm0, xmm0
jmp 0x1000cf1d
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 0x1000cf38
xorps xmm0, xmm0
jmp 0x1000cf3f
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 0x1000ca50
jmp 0x1000cf68
xorps xmm3, xmm3
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x68], eax
jbe 0x1000d3c0
nop word [eax + eax]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x1000d000
cmp eax, 1
je 0x1000d000
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 0x1000d0a7
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x1004c7f8]
addss xmm3, dword [0x1004c7f8]
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 0x1000d0eb
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 0x1000d061
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x1004c7f8]
addss xmm4, dword [0x1004c7f8]
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 0x1000d0eb
cmp eax, 1
jne 0x1000cfbc
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x1004c7f8]
addss xmm1, dword [0x1004c7f8]
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 0x1000d0eb
cmp eax, 3
jne 0x1000d0e4
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x1004c7f8]
addss xmm2, dword [0x1004c7f8]
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 0x1000d0eb
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 + 0x10047308]
sub esi, 1
jne 0x1000d110
mov edi, dword [0x1004f950]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x24], edx
cmp dword [edi + 0x3e38], edx
jne 0x1000d15d
push ecx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.10018f40
mov edx, dword [ebp - 0x24]
add esp, 8
mov edi, dword [0x1004f950]
cmp dword [edi + 0x3e50], edx
jne 0x1000d16b
mov dword [edi + 0x3e54], edx
cmp dword [edi + 0x3e78], edx
jne 0x1000d17a
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.1002d080
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edi, dword [ebp - 0x3c]
je 0x1000d1af
movss xmm0, dword [edi + 0x3e48]
comiss xmm0, dword [0x1004c740]
ja 0x1000d1b7
test dl, dl
je 0x1000d3ad
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
xor eax, 1
add eax, 3
mov dword [edi + 0x4148], eax
test dl, dl
je 0x1000d3ad
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
cmp eax, 3
jne 0x1000d359
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x1004c87c]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x1004c854]
movss xmm5, dword [0x1004c854]
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 [0x1004c7f8]
movss dword [ebp + ecx*4 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm3, xmm0
ja 0x1000d249
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x1c]
comiss xmm4, xmm0
ja 0x1000d25a
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 + 0x10047114]
subss xmm6, xmm4
minss xmm5, dword [ecx + 0x1004711c]
movss xmm2, dword [ecx + 0x10047110]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x10047118]
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.1000c310
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 0x1000d32c
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 0x1000d3b0
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x44]
subss xmm1, xmm0
movss dword [ebp - 0x44], xmm1
jmp 0x1000d3b0
movss xmm1, dword [0x1004c87c]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp eax, 1
jne 0x1000d378
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1000d1f1
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp eax, 2
jne 0x1000d390
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1000d1f9
movss xmm1, dword [0x1004c854]
test eax, eax
jne 0x1000d1f9
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1000d201
xorps xmm3, xmm3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x68]
jl 0x1000cf80
mov edx, dword [0x1004f950]
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 0x1000d67b
cmp dword [eax + 0x2e8], esi
jne 0x1000d67b
mov eax, dword [ecx + 0x4000]
cmp eax, 2
jne 0x1000d43a
cmp byte [ecx + 0xdd1], 0
je 0x1000d67b
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 0x1000d467
cmp eax, 3
jne 0x1000d67b
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 0x1000d47f
ucomiss xmm4, xmm3
mov ecx, edi
lahf
test ah, 0x44
jnp 0x1000d67b
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 [0x1004c838]
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm2, xmm4
mulss xmm1, xmm5
addss xmm2, dword [edi + 0x4140]
movss xmm4, dword [0x1004c7a0]
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 0x1000d53a
xorps xmm0, xmm0
jmp 0x1000d541
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm5, dword [0x1004c834]
movss xmm6, dword [0x1004c768]
movss xmm2, dword [ebp - 0x7c]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000d56c
xorps xmm0, xmm0
jmp 0x1000d573
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 0x1000d593
xorps xmm0, xmm0
jmp 0x1000d59a
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 0x1000d5b5
xorps xmm4, xmm4
jmp 0x1000d5b9
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 0x1000d603
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1000d682
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.1000c310
mov edx, dword [0x1004f950]
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 0x1000d687
movss xmm2, dword [ebp - 0x34]
jmp 0x1000d68a
movss xmm2, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [0x1004c854]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000d6ca
test dword [esi + 8], 0x100
movss dword [esi + 0x24], xmm2
xorps xmm2, xmm2
movss dword [esi + 0x20], xmm0
jne 0x1000d6cd
comiss xmm2, dword [edx + 0x5208]
jb 0x1000d6cd
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5208], eax
jmp 0x1000d6cd
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000d717
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 0x1000d717
comiss xmm2, dword [edx + 0x5208]
jb 0x1000d717
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.10041f82
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.10041f82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret