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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
push ebx
push esi
mov esi, dword [0x10159260]
push edi
mov byte [esi + 0x357], 0
mov dword [esi + 0x1df8], 0
mov dword [esi + 0x1dfc], 0
mov bh, byte [esi + 8]
and bh, 1
test byte [esi + 8], 2
mov byte [esp + 0xf], bh
je 0x1004ee85
test byte [esi + 0xc], 1
je 0x1004ee85
cmp dword [esi + 0x1d28], 3
lea ecx, [esi + 0x1d28]
mov bl, 1
mov dword [esp + 0x10], ecx
xorps xmm1, xmm1
je 0x1004ee94
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x1004ee79
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x1004ee79
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x1004ee79
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x1004ee79
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x1004ee79
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x1004ee79
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x1004ee79
movss xmm0, dword [esi + 0x31c]
lea ecx, [esi + 0x1d28]
comiss xmm0, xmm1
mov dword [esp + 0x10], ecx
jbe 0x1004ee94
mov dword [esi + 0x1d28], 3
jmp 0x1004ee8a
xor bl, bl
xorps xmm1, xmm1
lea ecx, [esi + 0x1d28]
mov dword [esp + 0x10], ecx
test bh, bh
je 0x1004efc8
mov eax, dword [esi + 0x64]
test eax, eax
js 0x1004eebe
mov al, byte [eax + esi + 0x100]
test al, al
je 0x1004eebe
mov dword [esi + 0x300], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x68]
test eax, eax
js 0x1004eee0
mov al, byte [eax + esi + 0x100]
test al, al
je 0x1004eee0
mov dword [esi + 0x308], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1004ef02
mov al, byte [eax + esi + 0x100]
test al, al
je 0x1004ef02
mov dword [esi + 0x304], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x38]
test eax, eax
js 0x1004ef24
mov al, byte [eax + esi + 0x100]
test al, al
je 0x1004ef24
mov dword [esi + 0x344], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x1004ef46
mov al, byte [eax + esi + 0x100]
test al, al
je 0x1004ef46
mov dword [esi + 0x348], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x40]
test eax, eax
js 0x1004ef68
mov al, byte [eax + esi + 0x100]
test al, al
je 0x1004ef68
mov dword [esi + 0x34c], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x44]
test eax, eax
js 0x1004ef8a
mov al, byte [eax + esi + 0x100]
test al, al
je 0x1004ef8a
mov dword [esi + 0x350], 0x3f800000
mov dword [ecx], 2
mov al, byte [esi + 0xfc]
test al, al
je 0x1004ef9e
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x1004efb1
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0xfe], 0
je 0x1004efc8
test al, al
jne 0x1004efc8
mov dword [esi + 0x340], 0x3f800000
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x10150da0]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14dc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14ec], xmm0
mov dword [esi + 0x14fc], eax
mov eax, 0x15
movss xmm0, dword [ecx - 0x1158]
comiss xmm0, xmm1
jbe 0x1004f043
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1004f03c
movaps xmm0, xmm1
jmp 0x1004f046
addss xmm0, dword [esi + 0x18]
jmp 0x1004f046
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x1004f021
mov eax, dword [esi + 0x1d50]
test eax, eax
je 0x1004f0b9
mov edx, dword [esi + 0x1cf8]
test edx, edx
je 0x1004f0b9
mov ecx, dword [esi + 0x1d40]
mov dword [esi + 0x1cfc], eax
mov dword [esi + 0x1d40], ecx
mov dword [esi + 0x1d00], 0
mov dword [edx + ecx*4 + 0x330], eax
add ecx, ecx
mov eax, dword [esi + 0x1cf8]
movups xmm0, xmmword [esi + 0x1d54]
movups xmmword [eax + ecx*8 + 0x338], xmm0
cmp byte [esi + 0x1d4e], 0
je 0x1004f0b9
mov word [esi + 0x1d49], 1
mov byte [esi + 0x1d4b], 1
cmp byte [esi + 0x1d64], 0
mov word [esi + 0x1d4d], 0
mov dword [esi + 0x1d50], 0
mov dword [esi + 0x1d18], 0
je 0x1004f0e4
call fcn.1004fca0
cmp dword [esi + 0x1d6c], 2
jne 0x1004f110
cmp dword [esi + 0x1d84], 0
jne 0x1004f106
cmp dword [esi + 0x1dd4], 0
jne 0x1004f106
mov byte [esi + 0x1d4a], 0
mov dword [esi + 0x1d6c], 0
cmp byte [esi + 0x1d49], 0
je 0x1004f191
cmp byte [esi + 0x1d48], 0
je 0x1004f191
test byte [esi + 8], 4
je 0x1004f18a
test byte [esi + 0xc], 4
je 0x1004f18a
cmp byte [esi + 0x1d4a], 0
jne 0x1004f18a
cmp byte [esi + 0x1d4b], 0
je 0x1004f18a
cmp dword [esi + 0x1cf8], 0
je 0x1004f18a
call fcn.1004ead0
movss dword [esp + 0x24], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esi + 0x380], xmm1
movss dword [esi + 0x384], xmm0
movss dword [esi + 0xe4], xmm1
movss dword [esi + 0xe8], xmm0
mov byte [esi + 0x357], 1
mov byte [esi + 0x1d49], 0
mov ecx, dword [esi + 0x1cf8]
mov byte [esi + 0x1d48], 0
mov dword [esi + 0x1d14], 0
test ecx, ecx
je 0x1004f1d7
mov eax, ecx
nop
cmp dword [eax + 0x320], eax
je 0x1004f1cd
test dword [eax + 8], 0x14000000
jne 0x1004f1cd
mov eax, dword [eax + 0x31c]
test eax, eax
jne 0x1004f1b0
jmp 0x1004f1d7
cmp eax, ecx
je 0x1004f1d7
mov dword [eax + 0x32c], ecx
mov eax, dword [esi + 0x1cf8]
test eax, eax
je 0x1004f1fd
cmp dword [eax + 0x32c], 0
je 0x1004f1fd
cmp dword [esi + 0x1d40], 0
jne 0x1004f1fd
mov dword [eax + 0x32c], 0
call fcn.100507d0
test bh, bh
jne 0x1004f20a
test bl, bl
je 0x1004f27f
mov eax, dword [esi + 0x1cf8]
test eax, eax
je 0x1004f27f
test dword [eax + 8], 0x40000
jne 0x1004f27f
mov byte [esi + 0x359], 1
cmp dword [esi + 0x1cfc], 0
je 0x1004f286
cmp byte [esi + 0x1d4a], 0
jne 0x1004f286
mov al, 1
mov edx, 1
mov byte [esi + 0x35a], al
mov ecx, edx
call fcn.1004ec20
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x1004f3ff
cmp dword [esi + 0x1bc8], 0
je 0x1004f293
mov ebx, dword [0x10159260]
mov eax, dword [ebx + 0x1be0]
shr eax, 1
test dl, al
jne 0x1004f405
call fcn.10043310
jmp 0x1004f405
mov byte [esi + 0x359], 0
cmp dword [esi + 0x1e00], 0
jne 0x1004f236
xor al, al
jmp 0x1004f238
mov edi, dword [esi + 0x1cf8]
test edi, edi
je 0x1004f38b
cmp edi, dword [edi + 0x320]
je 0x1004f38b
test dword [edi + 8], 0x4000000
jne 0x1004f38b
mov ebx, dword [edi + 0x31c]
test ebx, ebx
je 0x1004f38b
movss xmm0, dword [edi + 0xc]
mov ecx, ebx
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [esp + 0x20], xmm0
call fcn.1004bd10
movss xmm5, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x18]
movaps xmm2, xmm5
addss xmm2, dword [esp + 0x20]
subss xmm5, dword [ebx + 0x10]
mov ecx, dword [edi + 0x54]
movaps xmm3, xmm4
addss xmm3, dword [esp + 0x14]
subss xmm4, dword [ebx + 0xc]
subss xmm2, dword [ebx + 0x10]
movss dword [esp + 0x24], xmm5
xorps xmm5, xmm5
subss xmm3, dword [ebx + 0xc]
mov ebx, dword [0x10159260]
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x2c], xmm2
mov eax, dword [ebx + 0x1cf8]
mov dword [ebx + 0x1cfc], ecx
mov dword [ebx + 0x1d40], 0
mov dword [ebx + 0x1d00], 0
mov dword [eax + 0x330], ecx
mov eax, dword [ebx + 0x1cf8]
movss dword [esp + 0x28], xmm3
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax + 0x338], xmm0
jmp 0x1004f405
mov edx, dword [esi + 0x1cd4]
test edx, edx
jle 0x1004f3ba
mov eax, dword [esi + 0x1cdc]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1004f3ff
lea ecx, [edx - 1]
mov dl, 1
call fcn.1004d890
xorps xmm5, xmm5
jmp 0x1004f3ff
cmp dword [esi + 0x1d40], 0
je 0x1004f3cc
xor ecx, ecx
call fcn.1004e990
jmp 0x1004f3ff
test edi, edi
je 0x1004f3eb
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1004f3e1
test eax, 0x1000000
jne 0x1004f3eb
mov dword [edi + 0x330], 0
mov dword [esi + 0x1d00], 0
mov dword [esi + 0x1cfc], 0
mov ebx, dword [0x10159260]
mov edi, dword [esi + 0x1cfc]
mov dword [esi + 0x1d10], 0
mov dword [esi + 0x1d0c], 0
mov dword [esi + 0x1d08], 0
mov dword [esi + 0x1d04], 0
test edi, edi
je 0x1004f507
cmp byte [esi + 0x1d4a], 0
jne 0x1004f507
cmp dword [esi + 0x1e00], 0
jne 0x1004f507
mov eax, dword [esi + 0x1cf8]
test eax, eax
je 0x1004f507
test dword [eax + 8], 0x40000
jne 0x1004f507
movss xmm0, dword [ebx + 0x300]
comiss xmm0, xmm5
seta al
mov byte [esp + 0xe], al
test al, al
je 0x1004f497
mov edx, 1
xor ecx, ecx
call fcn.1004ec20
comiss xmm0, xmm5
ja 0x1004f499
xor dl, dl
mov ecx, dword [esi + 0x1bc8]
test ecx, ecx
jne 0x1004f4af
test dl, dl
je 0x1004f4b3
mov dword [esi + 0x1d04], edi
jmp 0x1004f4b3
cmp ecx, edi
jne 0x1004f507
cmp byte [esp + 0xe], 0
mov eax, dword [esi + 0x1d08]
cmovne eax, edi
mov dword [esi + 0x1d08], eax
test ecx, ecx
je 0x1004f4cf
cmp ecx, edi
jne 0x1004f507
mov eax, dword [esi + 0x1d0c]
test dl, dl
cmovne eax, edi
mov dword [esi + 0x1d0c], eax
test ecx, ecx
je 0x1004f4e8
cmp ecx, edi
jne 0x1004f507
mov edx, 1
lea ecx, [edx + 1]
call fcn.1004ec20
mov eax, dword [esi + 0x1d10]
comiss xmm0, xmm5
cmova eax, edi
mov dword [esi + 0x1d10], eax
mov ecx, dword [esi + 0x1cf8]
test ecx, ecx
je 0x1004f521
test dword [ecx + 8], 0x40000
je 0x1004f521
mov byte [esi + 0x1d4a], 1
mov eax, dword [esi + 0x1d24]
mov byte [esi + 0x1d64], 0
test eax, eax
je 0x1004f54a
mov dword [esi + 0x1d10], eax
mov dword [esi + 0x1d0c], eax
mov dword [esi + 0x1d08], eax
mov dword [esi + 0x1d04], eax
cmp dword [esi + 0x1d6c], 0
mov dword [esi + 0x1d24], 0
jne 0x1004f690
or edi, 0xffffffff
mov dword [esi + 0x1d74], 0xffffffff
mov dword [esi + 0x1d68], 0
test ecx, ecx
je 0x1004f688
or edi, edi
cmp dword [esi + 0x1e00], 0
jne 0x1004f688
or edi, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x1004f688
or edi, edi
test byte [ebx + 0x1bdc], 1
jne 0x1004f5d8
mov edx, 3
lea ecx, [edx + 1]
call fcn.1004ec20
comiss xmm5, xmm0
jb 0x1004f5cc
lea ecx, [edx + 0xe]
or edi, 0xffffffff
call fcn.1004ec20
comiss xmm0, xmm5
jbe 0x1004f5d8
mov dword [esi + 0x1d74], 0
xor edi, edi
mov eax, dword [ebx + 0x1bdc]
shr eax, 1
test al, 1
jne 0x1004f612
mov edx, 3
lea ecx, [edx + 2]
call fcn.1004ec20
comiss xmm5, xmm0
jb 0x1004f603
lea ecx, [edx + 0xf]
call fcn.1004ec20
comiss xmm0, xmm5
jbe 0x1004f612
mov dword [esi + 0x1d74], 1
mov edi, 1
mov eax, dword [ebx + 0x1bdc]
shr eax, 2
test al, 1
jne 0x1004f64d
mov edx, 3
lea ecx, [edx + 3]
call fcn.1004ec20
comiss xmm5, xmm0
jb 0x1004f63e
lea ecx, [edx + 0x10]
call fcn.1004ec20
comiss xmm0, xmm5
jbe 0x1004f64d
mov dword [esi + 0x1d74], 2
mov edi, 2
mov eax, dword [ebx + 0x1bdc]
shr eax, 3
test al, 1
jne 0x1004f688
mov edx, 3
lea ecx, [edx + 4]
call fcn.1004ec20
comiss xmm5, xmm0
jb 0x1004f679
lea ecx, [edx + 0x11]
call fcn.1004ec20
comiss xmm0, xmm5
jbe 0x1004f688
mov dword [esi + 0x1d74], 3
mov edi, 3
mov dword [esi + 0x1d7c], edi
jmp 0x1004f69a
mov dword [esi + 0x1d6c], 2
xor al, al
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm0
cmp byte [esp + 0xf], al
je 0x1004f6bf
call fcn.1004fed0
mov al, byte [esi + 0x1d64]
xorps xmm5, xmm5
movss dword [esp + 0x18], xmm0
mov ecx, dword [esi + 0x1d74]
cmp ecx, 0xffffffff
je 0x1004f6e5
mov byte [esi + 0x1d64], 1
mov eax, dword [esi + 0x37c]
mov dword [esi + 0x1d70], eax
mov dword [esi + 0x1d78], ecx
jmp 0x1004f6e9
test al, al
je 0x1004f70c
cmp dword [esi + 0x1cfc], 0
jne 0x1004f70c
mov word [esi + 0x1d4d], 0x101
mov dword [esi + 0x1d50], 0
mov byte [esi + 0x1d4a], 0
cmp byte [ebx + 0x1d64], 0
jne 0x1004f722
cmp byte [ebx + 0x1d4d], 0
jne 0x1004f722
xor al, al
jmp 0x1004f724
mov al, 1
movss xmm4, dword [0x10151740]
mov byte [ebx + 0x1d4c], al
mov edi, dword [esi + 0x1cf8]
test edi, edi
je 0x1004f911
test dword [edi + 8], 0x40000
jne 0x1004f911
cmp dword [esi + 0x1e00], 0
jne 0x1004f911
movss xmm0, dword [ebx + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1004f77c
mulss xmm0, dword [eax + 0x280]
cmp dword [edi + 0x144], 0
mulss xmm0, dword [0x10150ce8]
mulss xmm0, dword [esi + 0x18]
addss xmm0, dword [0x10150b98]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x14], xmm2
jne 0x1004f841
cmp byte [edi + 0x151], 0
je 0x1004f841
cmp byte [esi + 0x1d64], 0
je 0x1004f841
mov eax, dword [esi + 0x1d74]
test eax, eax
je 0x1004f7df
movaps xmm1, xmm2
xorps xmm1, xmm4
cmp eax, 1
jne 0x1004f80b
movaps xmm0, xmm2
jmp 0x1004f7e8
movaps xmm0, xmm2
xorps xmm0, xmm4
movaps xmm1, xmm0
addss xmm0, dword [edi + 0x58]
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
mov eax, dword [esi + 0x1d74]
cmp eax, 2
je 0x1004f81e
cmp eax, 3
jne 0x1004f841
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x5c]
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x6c], xmm0
xor edx, edx
lea ecx, [edx + 9]
call fcn.1004ec20
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.1004ec20
lea ecx, [edx + 0xb]
subss xmm7, xmm0
call fcn.1004ec20
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.1004ec20
movss xmm1, dword [ebx + 0x338]
subss xmm6, xmm0
comiss xmm1, xmm5
jbe 0x1004f88e
mulss xmm7, dword [0x10150b44]
mulss xmm6, dword [0x10150b44]
movss xmm0, dword [ebx + 0x33c]
comiss xmm0, xmm5
jbe 0x1004f8ab
mulss xmm7, dword [0x10150c80]
mulss xmm6, dword [0x10150c80]
movss xmm1, dword [esp + 0x14]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x1004f8e1
cmp byte [edi + 0x88], dl
je 0x1004f8e1
mulss xmm7, xmm1
mov dword [edi + 0x70], edx
mov dword [edi + 0x78], edx
addss xmm7, dword [edi + 0x58]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
movss xmm4, dword [0x10151740]
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x1004f911
mulss xmm6, xmm1
mov dword [edi + 0x74], edx
mov dword [edi + 0x7c], edx
addss xmm6, dword [edi + 0x5c]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x6c], xmm0
mov dword [esi + 0x1d80], 0
xorps xmm0, xmm0
mov dword [esi + 0x1d88], 0
mov dword [esi + 0x1d84], 0
mov dword [esi + 0x1d94], 0x7f7fffff
mov dword [esi + 0x1d90], 0x7f7fffff
mov dword [esi + 0x1d8c], 0x7f7fffff
movups xmmword [esi + 0x1d98], xmm0
mov dword [esi + 0x1da8], 0
mov dword [esi + 0x1db0], 0
mov dword [esi + 0x1dac], 0
mov dword [esi + 0x1dbc], 0x7f7fffff
mov dword [esi + 0x1db8], 0x7f7fffff
mov dword [esi + 0x1db4], 0x7f7fffff
movups xmmword [esi + 0x1dc0], xmm0
mov dword [esi + 0x1dd0], 0
mov dword [esi + 0x1dd8], 0
mov dword [esi + 0x1dd4], 0
mov dword [esi + 0x1de4], 0x7f7fffff
mov dword [esi + 0x1de0], 0x7f7fffff
mov dword [esi + 0x1ddc], 0x7f7fffff
movups xmmword [esi + 0x1de8], xmm0
cmp byte [esi + 0x1d64], 0
je 0x1004fb6d
mov eax, dword [esp + 0x10]
cmp dword [eax], 3
jne 0x1004fb6d
mov ecx, dword [esi + 0x1d40]
test ecx, ecx
jne 0x1004fb6d
mov eax, dword [esi + 0x1cf8]
movss xmm3, dword [0x10150be4]
movss xmm2, dword [eax + 0x1f4]
subss xmm2, dword [eax + 0xc]
movss xmm6, dword [eax + 0x1fc]
movss xmm7, dword [eax + 0x200]
movss xmm1, dword [eax + 0x1f8]
subss xmm6, dword [eax + 0xc]
subss xmm7, dword [eax + 0x10]
subss xmm1, dword [eax + 0x10]
movss xmm5, dword [eax + 0x338]
subss xmm2, xmm3
addss xmm6, xmm3
addss xmm7, xmm3
subss xmm1, xmm3
comiss xmm5, xmm2
jb 0x1004fa87
movss xmm0, dword [eax + 0x33c]
comiss xmm0, xmm1
jb 0x1004fa87
comiss xmm6, dword [eax + 0x340]
jb 0x1004fa87
comiss xmm7, dword [eax + 0x344]
jae 0x1004fb6d
movss xmm3, dword [ebx + 0x1934]
mov edx, dword [eax + 0x31c]
mulss xmm3, dword [eax + 0x280]
test edx, edx
je 0x1004faa9
mulss xmm3, dword [edx + 0x280]
mulss xmm3, dword [0x10150b98]
movaps xmm0, xmm7
add ecx, ecx
subss xmm0, xmm1
minss xmm0, xmm3
xorps xmm0, xmm4
movaps xmm4, xmm6
subss xmm4, xmm2
subss xmm1, xmm0
minss xmm4, xmm3
movss xmm3, dword [eax + ecx*8 + 0x33c]
comiss xmm1, xmm3
xorps xmm4, xmmword [0x10151740]
subss xmm2, xmm4
addss xmm4, xmm6
movaps xmm6, xmm0
addss xmm6, xmm7
jbe 0x1004faf9
movaps xmm3, xmm1
jmp 0x1004fafd
minss xmm3, xmm6
comiss xmm2, xmm5
jbe 0x1004fb07
movaps xmm5, xmm2
jmp 0x1004fb0b
minss xmm5, xmm4
movss dword [eax + ecx*8 + 0x338], xmm5
movss dword [eax + ecx*8 + 0x33c], xmm3
movss xmm0, dword [eax + ecx*8 + 0x344]
comiss xmm1, xmm0
ja 0x1004fb32
movaps xmm1, xmm0
minss xmm1, xmm6
movss xmm0, dword [eax + ecx*8 + 0x340]
comiss xmm2, xmm0
ja 0x1004fb47
movaps xmm2, xmm0
minss xmm2, xmm4
movss dword [eax + ecx*8 + 0x340], xmm2
movss dword [eax + ecx*8 + 0x344], xmm1
mov dword [esi + 0x1d00], 0
mov dword [esi + 0x1cfc], 0
mov eax, dword [esi + 0x1cf8]
test eax, eax
je 0x1004fbc0
mov ecx, dword [esi + 0x1d40]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x338]
comiss xmm0, dword [eax + ecx*8 + 0x340]
ja 0x1004fbc0
movss xmm0, dword [eax + ecx*8 + 0x33c]
comiss xmm0, dword [eax + ecx*8 + 0x344]
ja 0x1004fbc0
movups xmm0, xmmword [eax + ecx*8 + 0x338]
lea ecx, [esp + 0x20]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x20], xmm0
jmp 0x1004fbd8
lea ecx, [esp + 0x20]
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x20], xmm0
test eax, eax
je 0x1004fc1a
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [esp + 0x28]
addss xmm2, dword [esp + 0x20]
movaps xmm1, xmm0
addss xmm1, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x24], xmm0
jmp 0x1004fc22
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
movss xmm1, dword [esp + 0x18]
lea eax, [esp + 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1d2c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1d30]
addss xmm1, dword [esi + 0x1d38]
movss dword [esi + 0x1d30], xmm0
movss dword [esi + 0x1d38], xmm1
movss xmm0, dword [esi + 0x1d2c]
addss xmm0, dword [0x10150be4]
mov dword [esi + 0x1d3c], 0
minss xmm0, dword [esi + 0x1d34]
movss dword [esi + 0x1d2c], xmm0
movss dword [esi + 0x1d34], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret