Function at 0x10065ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9c
mov ecx, dword [0x101db19c]
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x88], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x58], edx
test dl, 0x42
jne 0x10066f38
cmp byte [edi + 0xcc], 0
jg 0x10066f38
cmp byte [edi + 0xcd], 0
jg 0x10066f38
cmp byte [edi + 0xaf], 0
je 0x10066f38
movss xmm2, dword [ecx + 0x3cf4]
xor eax, eax
cmp byte [ecx + 0x4a], 0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x50]
addss xmm0, dword [0x1008b888]
mulss xmm2, dword [0x1008b84c]
mov dword [esp + 0x54], eax
mulss xmm1, dword [0x100821e0]
push esi
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1008b87c]
cvttss2si esi, xmm0
je 0x10065f80
movss xmm0, dword [0x1008b954]
jmp 0x10065f83
xorps xmm0, xmm0
cmp byte [ecx + 0x4b], 0
mov eax, dword [esp + 0xc0]
movss dword [esp + 0x9c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x48], xmm0
je 0x10065fbf
test dl, 1
jne 0x10065fbf
mov ecx, edi
mov byte [esp + 0x97], 1
call fcn.10063f40
fsubr dword [esp + 0x4c]
fstp dword [esp + 0x4c]
jmp 0x10065fc7
mov byte [esp + 0x97], 0
movss xmm0, dword [0x100821f8]
movaps xmm4, xmm0
movss dword [esp + 0x90], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x88], xmm4
movaps xmm3, xmm0
movss dword [esp + 0x7c], xmm1
push str.RESIZE
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x70], xmm0
mov dword [edi + 0x150], 1
call fcn.1005ff30
xor eax, eax
add esp, 4
mov dword [esp + 0x98], eax
cmp dword [esp + 0xb8], eax
jle 0x100664f6
nop
movss xmm0, dword [edi + 0x18]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x1c]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x20]
movaps xmm2, xmm1
mov dword [esp + 0x84], ecx
addss xmm2, dword [edi + 0x24]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x10080fd0]
mulss xmm2, dword [ecx*8 + 0x10080fd4]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x10080fd8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x9c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10080fdc]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x9c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x38], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x3c], xmm4
jbe 0x100660e8
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x38], xmm3
comiss xmm2, xmm4
jbe 0x100660f9
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x3c], xmm2
push eax
mov ecx, edi
call fcn.10058a00
push 8
mov edi, eax
lea eax, [esp + 0x34]
push 0
push edi
push eax
call fcn.1005a560
push 0x40800
lea eax, [esp + 0xb6]
push eax
lea eax, [esp + 0xbb]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10077530
mov dh, byte [esp + 0xc7]
add esp, 0x24
mov dl, byte [esp + 0xa2]
test dh, dh
jne 0x1006614f
test dl, dl
je 0x1006646f
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4d0c], eax
test dl, dl
je 0x1006646f
cmp byte [ecx + 0x3825], 0
je 0x100661e6
push dword [esp + 0xac]
mov edi, dword [esp + 0xac]
lea eax, [esp + 0x44]
push edi
push eax
call fcn.10055c40
push 0
push 0
mov dword [esp + 0x6c], 3
movss xmm0, dword [eax]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x80], xmm0
call fcn.10062970
mov dl, byte [esp + 0xb6]
add esp, 0x14
mov dh, byte [esp + 0xa3]
jmp 0x10066476
mov edx, dword [esp + 0x84]
xorps xmm2, xmm2
movss xmm1, dword [0x1008b888]
movss xmm7, dword [edx*8 + 0x10080fd4]
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jnp 0x1006622a
ucomiss xmm7, xmm2
lahf
test ah, 0x44
jp 0x1006621d
cmp byte [esp + 0x97], 0
jne 0x1006622a
movss xmm3, dword [0x10082200]
movaps xmm6, xmm3
jmp 0x10066238
movss xmm6, dword [esp + 0x4c]
movss xmm3, dword [0x10082200]
movss xmm0, dword [edx*8 + 0x10080fd0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10066252
movss xmm4, dword [esp + 0x48]
jmp 0x10066255
movaps xmm4, xmm3
ucomiss xmm7, xmm2
lahf
test ah, 0x44
jp 0x10066274
movss xmm1, dword [esp + 0x54]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [0x100821f8]
jmp 0x10066282
movss xmm1, dword [0x100821f8]
movss dword [esp + 0x70], xmm1
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10066299
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x74], xmm0
jmp 0x1006629f
movss dword [esp + 0x74], xmm1
movss xmm5, dword [edx*8 + 0x10080fd8]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x10080fdc]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x9c]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x9c]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x1008bbe0]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [edx*8 + 0x10080fd0]
mulss xmm2, xmm7
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xe00]
subss xmm0, dword [ecx + 0x3fec]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xe04]
subss xmm0, dword [ecx + 0x3ff0]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x10066333
movss xmm6, dword [esp + 0x70]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x10066342
movss xmm4, dword [esp + 0x74]
minss xmm4, xmm5
mov edi, dword [esp + 0xa8]
lea eax, [esp + 0x60]
movss xmm2, dword [edx*8 + 0x10080fd0]
push eax
lea eax, [esp + 0x2c]
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [edi + 0x1c]
movaps xmm5, xmm0
addss xmm0, dword [edi + 0x20]
subss xmm5, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x24]
subss xmm3, xmm6
push edi
push eax
mulss xmm5, xmm2
mulss xmm3, xmm7
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x88], xmm5
mulss xmm4, xmm2
mulss xmm6, xmm7
addss xmm4, xmm0
movss dword [esp + 0x84], xmm3
addss xmm6, xmm1
subss xmm4, xmm5
subss xmm6, xmm3
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x70], xmm6
call fcn.10055c40
mov ecx, dword [esp + 0x90]
add esp, 0xc
movss xmm2, dword [esp + 0x28]
xorps xmm3, xmm3
movss dword [esp + 0x88], xmm2
movss xmm0, dword [ecx*8 + 0x10080fd0]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10066419
movss xmm1, dword [esp + 0x7c]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x60]
subss xmm1, xmm0
movss dword [esp + 0x7c], xmm1
movss xmm0, dword [ecx*8 + 0x10080fd4]
movss xmm1, dword [esp + 0x2c]
ucomiss xmm0, xmm3
movss dword [esp + 0x90], xmm1
lahf
test ah, 0x44
jp 0x10066453
movss xmm3, dword [esp + 0x78]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x64]
subss xmm3, xmm0
movss dword [esp + 0x78], xmm3
mov dl, byte [esp + 0xa2]
mov dh, byte [esp + 0xa3]
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm1
jmp 0x10066476
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0x98]
test eax, eax
je 0x10066517
test dl, dl
jne 0x1006651f
test dh, dh
je 0x100664e1
xor ecx, ecx
test dh, dh
setne cl
add ecx, 0x1e
mov eax, dword [0x101db19c]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 + 0x398c]
movups xmmword [esp + 0x18], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x38a8]
lea eax, [esp + 0x18]
push eax
movss dword [esp + 0x28], xmm0
call fcn.100564a0
mov ecx, dword [esp + 0x9c]
add esp, 4
mov edx, dword [esp + 0xbc]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x98], eax
cmp eax, dword [esp + 0xb8]
jl 0x10066030
mov edx, dword [esp + 0xa8]
test dword [edx + 0xc], 0x1000000
je 0x10066529
mov eax, dword [edx + 0x10]
mov ecx, eax
shr ecx, 1
and eax, 8
and ecx, 2
or ecx, eax
jmp 0x1006653d
test dl, dl
je 0x10066491
mov ecx, 0x20
jmp 0x1006649b
mov eax, dword [esp + 0x8c]
xor ecx, ecx
mov edi, 0xf
cmp byte [eax + 0x4a], cl
cmovne ecx, edi
xor edi, edi
mov dword [esp + 0x74], ecx
mov eax, 1
mov dword [esp + 0x98], edi
mov dword [esp + 0x70], eax
test ecx, eax
je 0x10066710
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x84], eax
test edi, edi
je 0x10066582
mov dword [esp + 0x9c], 1
cmp edi, 1
jne 0x1006658d
mov dword [esp + 0x9c], 0
sub esp, 8
movd xmm0, esi
cvtdq2ps xmm0, xmm0
lea eax, [esp + 0x10]
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push edi
push edx
push eax
call fcn.10058e20
add esp, 0x14
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.10058a00
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.1005a560
push 0x40800
lea eax, [esp + 0xb7]
push eax
lea eax, [esp + 0xba]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.10077530
mov edi, dword [esp + 0xb0]
add esp, 0x24
cmp byte [esp + 0xa2], 0
je 0x1006661c
movss xmm0, dword [0x100821c4]
comiss xmm0, dword [edi + 0x3fd0]
jb 0x1006662b
mov byte [esp + 0xa2], 0
mov al, byte [esp + 0xa3]
test al, al
je 0x10066c13
mov eax, dword [esp + 0x9c]
xor eax, 1
add eax, 3
mov dword [edi + 0x4d0c], eax
mov al, byte [esp + 0xa3]
test al, al
je 0x10066c13
cmp byte [edi + 0x3825], 0
je 0x10066798
mov edi, dword [esp + 0x98]
cmp edi, 1
je 0x1006666b
cmp edi, 3
jne 0x100666ce
push dword [esp + 0xac]
mov eax, dword [esp + 0xac]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10055c40
mov ecx, dword [esp + 0xa8]
add esp, 0xc
mov eax, dword [eax + ecx*4]
mov dword [esp + ecx*4 + 0x68], eax
movss xmm0, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
movss dword [esp + 0x90], xmm0
bts eax, ecx
movss xmm0, dword [esp + 0x68]
mov dword [esp + 0x58], eax
mov byte [esp + 0xa3], 0
mov byte [esp + 0xa2], 0
movss dword [esp + 0x88], xmm0
push 0
push 0
call fcn.10062970
add esp, 8
mov edx, dword [esp + 0xa8]
mov al, byte [esp + 0xa3]
cmp byte [esp + 0xa2], 0
je 0x100666fb
mov ecx, dword [esp + 0xb0]
mov dword [ecx], edi
mov ecx, dword [esp + 0x74]
test al, al
je 0x1006670c
mov eax, dword [esp + 0xb4]
mov dword [eax], edi
mov eax, dword [esp + 0x70]
inc edi
rol eax, 1
mov dword [esp + 0x98], edi
mov dword [esp + 0x70], eax
cmp edi, 4
jl 0x10066553
mov eax, dword [0x101db19c]
mov edi, dword [esp + 0x8c]
mov eax, dword [eax + 0x3f88]
dec dword [eax + 0xec]
mov dword [edx + 0x150], 0
mov eax, dword [edi + 0x4ba0]
test eax, eax
je 0x10066e05
cmp dword [eax + 0x308], edx
jne 0x10066e05
mov eax, dword [edi + 0x4a20]
cmp eax, 2
jne 0x10066c26
cmp byte [edi + 0xe1d], 0
je 0x10066e05
push 0x204
push 0x203
push 0x202
push 0x201
jmp 0x10066c43
cmp dword [edi + 0x3f98], 0
je 0x100667e8
mov eax, dword [edi + 0x3fa8]
cmp eax, dword [edi + 0x3f08]
jne 0x100667e8
mov edx, dword [esp + 0xa8]
mov ecx, edx
nop dword [eax + eax]
mov eax, ecx
mov ecx, dword [ecx + 0x308]
cmp eax, ecx
jne 0x100667c0
mov eax, dword [edi + 0x3f98]
cmp ecx, eax
je 0x1006684a
cmp edx, eax
je 0x1006684a
cmp edx, ecx
je 0x100667e8
mov edx, dword [edx + 0x300]
test edx, edx
jne 0x100667d6
xor al, al
cmp byte [edi + 0x3fe4], 0
jne 0x100667f7
test al, al
je 0x1006680a
movups xmm0, xmmword [esp + 8]
mov byte [edi + 0x5c70], 0
movups xmmword [edi + 0x5c60], xmm0
mov edx, dword [esp + 0xa8]
test dword [edx + 0xc], 0x1000000
je 0x10066863
lea ecx, [edi + 0x5c60]
mov edi, 0xc
lea edx, [esp + 8]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006684e
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10066830
mov edi, dword [esp + 0x8c]
jmp 0x1006685c
mov al, 1
jmp 0x100667ea
mov edi, dword [esp + 0x8c]
mov byte [edi + 0x5c70], 1
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x84]
xor cl, cl
mov byte [esp + 0x83], cl
movss xmm0, dword [eax + 0x10081038]
minss xmm0, dword [eax + 0x10081040]
mulss xmm0, dword [edx + 0x20]
addss xmm0, dword [edx + 0x18]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x1008103c]
minss xmm0, dword [eax + 0x10081044]
mov eax, dword [esp + 0x9c]
mulss xmm0, dword [edx + 0x24]
movss xmm1, dword [edi + eax*4 + 0xe00]
subss xmm1, dword [edi + eax*4 + 0x3fec]
addss xmm0, dword [edx + 0x1c]
movss xmm3, dword [edi + eax*4 + 0xac]
movaps xmm2, xmm3
addss xmm1, dword [0x1008b954]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edx + 0x18]
addss xmm2, dword [esp + eax*4 + 0x28]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edx + 0x1c]
movss dword [esp + 0x64], xmm0
movss dword [esp + eax*4 + 0x60], xmm1
cmp byte [edi + 0x5c70], cl
je 0x1006693b
xorps xmm0, xmm0
movss dword [esp + eax*4 + 0x60], xmm2
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10066930
xor ecx, ecx
comiss xmm2, xmm1
seta cl
xor eax, eax
comiss xmm3, xmm0
seta al
cmp eax, ecx
jne 0x10066934
mov cl, 1
jmp 0x1006693b
mov cl, byte [esp + 0x83]
mov edi, dword [esp + 0x98]
cmp edi, 3
je 0x10066963
cmp edi, 2
jne 0x10066956
cmp byte [esp + 0x97], 0
jne 0x10066963
movss xmm0, dword [0x10082200]
movaps xmm2, xmm0
jmp 0x10066971
movss xmm2, dword [esp + 0x4c]
movss xmm0, dword [0x10082200]
movss dword [esp + 0x98], xmm2
cmp edi, 1
jne 0x10066a16
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [0x100821f8]
movss dword [esp + 0x9c], xmm0
movss xmm4, dword [0x100821f8]
movss xmm3, dword [esp + 0x64]
comiss xmm2, xmm3
ja 0x100669bd
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x98], xmm2
movss xmm1, dword [esp + 0x60]
comiss xmm0, xmm1
ja 0x100669d8
movaps xmm0, xmm4
minss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
mov eax, dword [esp + 0x5c]
test eax, 0x1000000
je 0x10066a9d
test eax, 0x8800
je 0x100669f6
test al, 8
je 0x10066a9d
mov eax, dword [edx + 0x300]
movss xmm3, dword [eax + 0x1e8]
comiss xmm3, xmm0
movss xmm1, dword [eax + 0x1f0]
jbe 0x10066a62
movaps xmm1, xmm3
jmp 0x10066a67
movss dword [esp + 0x9c], xmm0
movaps xmm3, xmm0
cmp edi, 2
jne 0x10066a32
movss xmm1, dword [esp + 0x54]
jmp 0x1006699a
movss xmm1, dword [0x100821f8]
movaps xmm0, xmm3
movss dword [esp + 0x9c], xmm0
test edi, edi
jne 0x1006699a
movss xmm4, dword [esp + 0x50]
movss dword [esp + 0x9c], xmm0
jmp 0x100669a2
comiss xmm0, xmm1
jbe 0x10066a70
movss dword [esp + 0x9c], xmm1
mov eax, dword [esp + 0x5c]
test al, 8
je 0x10066a9d
mov eax, dword [edx + 0x300]
movss xmm0, dword [eax + 0x1ec]
comiss xmm0, xmm2
movss xmm4, dword [eax + 0x1f4]
jbe 0x10066a98
movaps xmm4, xmm0
jmp 0x10066aa6
comiss xmm2, xmm4
ja 0x10066aa6
movss xmm4, dword [esp + 0x98]
test cl, cl
jne 0x100666e1
mov eax, dword [esp + 0x84]
movss xmm0, dword [edx + 0x18]
movss xmm3, dword [esp + 0x9c]
movaps xmm7, xmm0
movss xmm1, dword [edx + 0x1c]
subss xmm7, xmm3
movss xmm5, dword [eax + 0x1008103c]
movaps xmm6, xmm1
minss xmm5, dword [eax + 0x10081044]
movss xmm2, dword [eax + 0x10081038]
subss xmm6, xmm4
minss xmm2, dword [eax + 0x10081040]
addss xmm0, dword [edx + 0x20]
addss xmm1, dword [edx + 0x24]
lea eax, [esp + 0x20]
movss dword [esp + 0x90], xmm5
mulss xmm6, xmm5
push eax
mulss xmm7, xmm2
lea eax, [esp + 0x44]
push edx
addss xmm6, xmm4
movss dword [esp + 0x8c], xmm2
subss xmm4, xmm1
addss xmm7, xmm3
subss xmm3, xmm0
push eax
movss dword [esp + 0x84], xmm6
mulss xmm4, xmm5
mulss xmm3, xmm2
addss xmm4, xmm1
movss dword [esp + 0x88], xmm7
addss xmm3, xmm0
subss xmm4, xmm6
subss xmm3, xmm7
movss dword [esp + 0xa4], xmm4
movss dword [esp + 0x30], xmm4
movss dword [esp + 0xa8], xmm3
movss dword [esp + 0x2c], xmm3
call fcn.10055c40
movss xmm0, dword [esp + 0x90]
add esp, 0xc
movss xmm3, dword [esp + 0x40]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss dword [esp + 0x88], xmm3
lahf
test ah, 0x44
jp 0x10066bc5
movss xmm1, dword [esp + 0x7c]
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x9c]
subss xmm1, xmm0
movss dword [esp + 0x7c], xmm1
movss xmm0, dword [esp + 0x90]
movss xmm1, dword [esp + 0x44]
ucomiss xmm0, xmm2
movss dword [esp + 0x90], xmm1
lahf
test ah, 0x44
jp 0x10066c02
movss xmm2, dword [esp + 0x78]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x98]
subss xmm2, xmm0
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x6c], xmm1
jmp 0x100666da
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0xa8]
jmp 0x100666e8
cmp eax, 3
jne 0x10066e05
push 0x280
push 0x27f
push 0x27e
push 0x27d
lea eax, [esp + 0x48]
push eax
call fcn.10058bb0
add esp, 0x14
xorps xmm5, xmm5
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x10066c72
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jnp 0x10066e23
movss xmm1, dword [edi + 0x3c]
minss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100821f0]
mov eax, dword [esp + 0xa8]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm3, xmm1
mulss xmm2, xmm1
addss xmm3, dword [edi + 0x4bc0]
addss xmm2, dword [edi + 0x4bc4]
movss dword [edi + 0x4bc0], xmm3
movss dword [edi + 0x4bc4], xmm2
subss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x20]
maxss xmm3, xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [eax + 0x1c]
subss xmm0, dword [eax + 0x24]
movss dword [edi + 0x4bc0], xmm3
mov byte [edi + 0x4bb4], 0
mov byte [edi + 0x4a33], 1
maxss xmm2, xmm0
movss dword [edi + 0x4bc4], xmm2
mov eax, dword [0x101db19c]
movups xmm0, xmmword [eax + 0x3b8c]
movups xmmword [esp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x38a8]
lea eax, [esp + 0x48]
push eax
movss dword [esp + 0x58], xmm0
call fcn.100564a0
mov ecx, dword [esp + 0xc0]
add esp, 4
xorps xmm5, xmm5
mov dword [ecx], eax
cvttss2si edi, dword [edi + 0x4bc0]
mov eax, dword [esp + 0x8c]
cvttss2si eax, dword [eax + 0x4bc4]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x84], eax
movd xmm1, eax
ucomiss xmm0, xmm5
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x10066d80
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x10066e1c
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x40]
push ecx
push eax
addss xmm0, dword [eax + 0x28]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x2c]
lea eax, [esp + 0x40]
push eax
movss dword [esp + 0x50], xmm0
call fcn.10055c40
movd xmm1, edi
add esp, 0xc
cvtdq2ps xmm1, xmm1
movss xmm4, dword [eax]
xorps xmm5, xmm5
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x8c]
mov edi, eax
movss xmm0, dword [eax + 0x4bc0]
subss xmm0, xmm1
movd xmm1, dword [esp + 0x84]
cvtdq2ps xmm1, xmm1
movss dword [edi + 0x4bc0], xmm0
movss xmm0, dword [edi + 0x4bc4]
subss xmm0, xmm1
movss dword [edi + 0x4bc4], xmm0
jmp 0x10066e35
movss xmm2, dword [esp + 0x90]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x88]
jmp 0x10066e3c
mov edi, dword [esp + 0x8c]
movss xmm4, dword [esp + 0x88]
movss xmm2, dword [esp + 0x90]
mov edx, dword [esp + 0xa8]
movss xmm6, dword [0x100821f8]
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x10066e57
movss dword [edx + 0x28], xmm4
movss dword [edx + 0x20], xmm4
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jnp 0x10066e6a
movss dword [edx + 0x2c], xmm2
movss dword [edx + 0x24], xmm2
movss xmm1, dword [esp + 0x7c]
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jnp 0x10066e89
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x18], xmm0
movss xmm3, dword [esp + 0x78]
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x10066ea8
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x1c], xmm0
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jp 0x10066ecc
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x10066ecc
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jp 0x10066ecc
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x10066eed
test dword [edx + 0xc], 0x100
mov ecx, dword [0x101db19c]
jne 0x10066eed
comiss xmm5, dword [ecx + 0x5d34]
jb 0x10066eed
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5d34], eax
mov eax, dword [esp + 0xb4]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x10066f2b
sub esp, 8
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x54]
push edx
push eax
call fcn.10058e20
add esp, 0x14
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x5c60], xmm0
mov eax, dword [esp + 0x58]
pop esi
pop edi
add esp, 0x9c
ret
xor eax, eax
pop edi
add esp, 0x9c
ret