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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, dword [0x4772f8]
xorps xmm1, xmm1
push edi
mov byte [esi + 0x357], 0
mov dword [esi + 0x1e00], 0
mov dword [esi + 0x1e04], 0
mov dl, byte [esi + 8]
and dl, 1
test byte [esi + 8], 2
mov byte [ebp - 2], dl
je 0x41055d
test byte [esi + 0xc], 1
je 0x41055d
cmp dword [esi + 0x1d30], 3
lea ecx, [esi + 0x1d30]
mov byte [ebp - 1], 1
je 0x410567
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x410551
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x410551
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x410551
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x410551
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x410551
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x410551
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x410551
movss xmm0, dword [esi + 0x31c]
lea ecx, [esi + 0x1d30]
comiss xmm0, xmm1
jbe 0x410567
mov dword [esi + 0x1d30], 3
jmp 0x410561
mov byte [ebp - 1], 0
lea ecx, [esi + 0x1d30]
test dl, dl
je 0x4106b2
mov eax, dword [esi + 0x64]
test eax, eax
js 0x410591
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410591
mov dword [esi + 0x300], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x68]
test eax, eax
js 0x4105b3
mov al, byte [eax + esi + 0x100]
test al, al
je 0x4105b3
mov dword [esi + 0x308], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x4105d5
mov al, byte [eax + esi + 0x100]
test al, al
je 0x4105d5
mov dword [esi + 0x304], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x38]
test eax, eax
js 0x4105f7
mov al, byte [eax + esi + 0x100]
test al, al
je 0x4105f7
mov dword [esi + 0x344], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x410619
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410619
mov dword [esi + 0x348], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x40]
test eax, eax
js 0x41063b
mov al, byte [eax + esi + 0x100]
test al, al
je 0x41063b
mov dword [esi + 0x34c], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x44]
test eax, eax
js 0x41065d
mov al, byte [eax + esi + 0x100]
test al, al
je 0x41065d
mov dword [esi + 0x350], 0x3f800000
mov dword [ecx], 2
mov al, byte [esi + 0xfc]
test al, al
je 0x410671
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x410684
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0xfe], 0
je 0x4106b2
test al, al
jne 0x4106b2
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x1e1c], al
je 0x4106b2
cmp dword [esi + 0x1508], 0
jle 0x4106b2
mov byte [esi + 0x1e1c], al
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x46b83c]
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
nop dword [eax + eax]
movss xmm0, dword [ecx - 0x1158]
comiss xmm0, xmm1
jbe 0x410732
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x41072b
movaps xmm0, xmm1
jmp 0x410735
addss xmm0, dword [esi + 0x18]
jmp 0x410735
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x410710
mov eax, dword [esi + 0x1d58]
test eax, eax
je 0x4107a8
mov edx, dword [esi + 0x1d00]
test edx, edx
je 0x4107a8
mov ecx, dword [esi + 0x1d48]
mov dword [esi + 0x1d04], eax
mov dword [esi + 0x1d48], ecx
mov dword [esi + 0x1d08], 0
mov dword [edx + ecx*4 + 0x32c], eax
add ecx, ecx
mov eax, dword [esi + 0x1d00]
movups xmm0, xmmword [esi + 0x1d5c]
movups xmmword [eax + ecx*8 + 0x334], xmm0
cmp byte [esi + 0x1d56], 0
je 0x4107a8
mov word [esi + 0x1d51], 1
mov byte [esi + 0x1d53], 1
cmp byte [esi + 0x1d6c], 0
mov word [esi + 0x1d55], 0
mov dword [esi + 0x1d58], 0
mov dword [esi + 0x1d20], 0
je 0x4107d3
call fcn.00411440
cmp dword [esi + 0x1d74], 2
jne 0x4107ff
cmp dword [esi + 0x1d8c], 0
jne 0x4107f5
cmp dword [esi + 0x1ddc], 0
jne 0x4107f5
mov byte [esi + 0x1d52], 0
mov dword [esi + 0x1d74], 0
cmp byte [esi + 0x1d51], 0
je 0x410877
cmp byte [esi + 0x1d50], 0
je 0x410877
test byte [esi + 8], 4
je 0x410870
test byte [esi + 0xc], 4
je 0x410870
cmp byte [esi + 0x1d52], 0
jne 0x410870
cmp byte [esi + 0x1d53], 0
je 0x410870
cmp dword [esi + 0x1d00], 0
je 0x410870
lea ecx, [ebp - 0x28]
call fcn.004101b0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x380], xmm0
movss dword [esi + 0x384], xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
mov byte [esi + 0x357], 1
mov byte [esi + 0x1d51], 0
mov ecx, dword [esi + 0x1d00]
mov byte [esi + 0x1d50], 0
mov dword [esi + 0x1d1c], 0
test ecx, ecx
je 0x4108bb
mov eax, ecx
cmp dword [eax + 0x31c], eax
je 0x4108b1
test dword [eax + 8], 0x14000000
jne 0x4108b1
mov eax, dword [eax + 0x318]
test eax, eax
jne 0x410894
jmp 0x4108bb
cmp eax, ecx
je 0x4108bb
mov dword [eax + 0x328], ecx
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x4108e1
cmp dword [eax + 0x328], 0
je 0x4108e1
cmp dword [esi + 0x1d48], 0
jne 0x4108e1
mov dword [eax + 0x328], 0
call fcn.00411e50
cmp byte [ebp - 2], 0
jne 0x4108f2
cmp byte [ebp - 1], 0
je 0x41096a
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x41096a
test dword [eax + 8], 0x40000
jne 0x41096a
mov byte [esi + 0x359], 1
cmp dword [esi + 0x1d04], 0
je 0x410971
cmp byte [esi + 0x1d52], 0
jne 0x410971
mov al, 1
mov edx, 1
mov byte [esi + 0x35a], al
mov ecx, edx
call fcn.004102f0
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x410b62
cmp dword [esi + 0x1bd4], 0
je 0x41097e
mov edi, dword [0x4772f8]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x1bec]
shr eax, 1
test dl, al
jne 0x410b6b
call fcn.00404c00
jmp 0x410b6b
mov byte [esi + 0x359], 0
cmp dword [esi + 0x1e08], 0
jne 0x41091e
xor al, al
jmp 0x410920
cmp dword [esi + 0x1d48], 0
je 0x410a0f
mov edi, dword [0x4772f8]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x1d00]
mov ecx, dword [eax + 0x328]
test ecx, ecx
je 0x4109ad
cmp byte [ecx + 0x8b], 0
jne 0x4109af
mov ecx, eax
mov dword [edi + 0x1d00], ecx
mov eax, dword [ecx + 0x32c]
mov dword [edi + 0x1d48], 0
test eax, eax
je 0x410a05
mov dword [edi + 0x1d04], eax
mov dword [edi + 0x1d08], 0
mov dword [ecx + 0x32c], eax
movups xmm0, xmmword [ecx + 0x334]
mov eax, dword [edi + 0x1d00]
movups xmmword [eax + 0x334], xmm0
mov word [edi + 0x1d51], dx
mov byte [edi + 0x1d53], dl
jmp 0x410b6b
call fcn.004100f0
jmp 0x410b6b
mov edi, dword [esi + 0x1d00]
test edi, edi
je 0x410b00
cmp edi, dword [edi + 0x31c]
je 0x410b00
test dword [edi + 8], 0x4000000
jne 0x410b00
mov eax, dword [edi + 0x318]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x410b00
movss xmm0, dword [edi + 0xc]
mov ecx, eax
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x24], xmm0
call fcn.0040d920
movss xmm5, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0xc]
movaps xmm2, xmm5
mov ecx, dword [edi + 0x54]
movaps xmm3, xmm4
mov eax, dword [ebp - 0x10]
mov edi, dword [0x4772f8]
addss xmm2, dword [ebp - 0x24]
addss xmm3, dword [ebp - 8]
subss xmm5, dword [eax + 0x10]
subss xmm4, dword [eax + 0xc]
subss xmm2, dword [eax + 0x10]
subss xmm3, dword [eax + 0xc]
mov eax, dword [edi + 0x1d00]
mov dword [edi + 0x1d04], ecx
mov dword [edi + 0x1d48], 0
mov dword [edi + 0x1d08], 0
mov dword [eax + 0x32c], ecx
mov eax, dword [edi + 0x1d00]
movss dword [ebp - 0x2c], xmm5
xorps xmm5, xmm5
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm2
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x334], xmm0
jmp 0x410b68
mov edx, dword [esi + 0x1cdc]
test edx, edx
jle 0x410b2f
mov eax, dword [esi + 0x1ce4]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x410b62
lea ecx, [edx - 1]
mov dl, 1
call fcn.0040f0f0
xorps xmm5, xmm5
jmp 0x410b62
test edi, edi
je 0x410b4e
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x410b44
test eax, 0x1000000
jne 0x410b4e
mov dword [edi + 0x32c], 0
mov dword [esi + 0x1d08], 0
mov dword [esi + 0x1d04], 0
mov edi, dword [0x4772f8]
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x1d04], 0
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
mov dword [esi + 0x1d10], 0
mov dword [esi + 0x1d0c], 0
je 0x410c61
cmp byte [esi + 0x1d52], 0
jne 0x410c61
cmp dword [esi + 0x1e08], 0
jne 0x410c61
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x410c61
test dword [eax + 8], 0x40000
jne 0x410c61
movss xmm0, dword [edi + 0x300]
comiss xmm0, xmm5
seta al
mov byte [ebp - 1], al
test al, al
je 0x410bfb
mov edx, 1
xor ecx, ecx
call fcn.004102f0
comiss xmm0, xmm5
ja 0x410bfd
xor dl, dl
mov ecx, dword [esi + 0x1bd4]
mov eax, dword [esi + 0x1d04]
test ecx, ecx
jne 0x410c19
test dl, dl
je 0x410c1d
mov dword [esi + 0x1d0c], eax
jmp 0x410c1d
cmp ecx, eax
jne 0x410c61
cmp byte [ebp - 1], 0
je 0x410c29
mov dword [esi + 0x1d10], eax
test ecx, ecx
je 0x410c31
cmp ecx, eax
jne 0x410c61
test dl, dl
je 0x410c3b
mov dword [esi + 0x1d14], eax
test ecx, ecx
je 0x410c43
cmp ecx, eax
jne 0x410c61
mov edx, 1
lea ecx, [edx + 1]
call fcn.004102f0
comiss xmm0, xmm5
jbe 0x410c61
mov eax, dword [esi + 0x1d04]
mov dword [esi + 0x1d18], eax
mov ecx, dword [esi + 0x1d00]
test ecx, ecx
je 0x410c7b
test dword [ecx + 8], 0x40000
je 0x410c7b
mov byte [esi + 0x1d52], 1
mov eax, dword [esi + 0x1d2c]
mov byte [esi + 0x1d6c], 0
test eax, eax
je 0x410ca4
mov dword [esi + 0x1d18], eax
mov dword [esi + 0x1d14], eax
mov dword [esi + 0x1d10], eax
mov dword [esi + 0x1d0c], eax
cmp dword [esi + 0x1d74], 0
mov dword [esi + 0x1d2c], 0
jne 0x410e13
or eax, 0xffffffff
mov dword [esi + 0x1d7c], 0xffffffff
mov dword [esi + 0x1d70], 0
test ecx, ecx
je 0x410e0b
or eax, eax
cmp dword [esi + 0x1e08], 0
jne 0x410e0b
or eax, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x410e0b
test byte [edi + 0x1be8], 1
mov dword [ebp - 8], eax
jne 0x410d3a
lea edx, [eax + 4]
lea ecx, [eax + 5]
call fcn.004102f0
comiss xmm0, xmm5
ja 0x410d29
lea ecx, [edx + 0xe]
mov dword [ebp - 8], 0xffffffff
call fcn.004102f0
comiss xmm0, xmm5
jbe 0x410d3a
mov dword [esi + 0x1d7c], 0
mov dword [ebp - 8], 0
mov eax, dword [edi + 0x1be8]
shr eax, 1
test al, 1
jne 0x410d7c
mov edx, 3
lea ecx, [edx + 2]
call fcn.004102f0
comiss xmm0, xmm5
ja 0x410d6b
mov eax, dword [ebp - 8]
lea ecx, [edx + 0xf]
mov dword [ebp - 8], eax
call fcn.004102f0
comiss xmm0, xmm5
jbe 0x410d7c
mov dword [esi + 0x1d7c], 1
mov dword [ebp - 8], 1
mov eax, dword [edi + 0x1be8]
shr eax, 2
test al, 1
jne 0x410dbf
mov edx, 3
lea ecx, [edx + 3]
call fcn.004102f0
comiss xmm0, xmm5
ja 0x410dae
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x10]
mov dword [ebp - 8], eax
call fcn.004102f0
comiss xmm0, xmm5
jbe 0x410dbf
mov dword [esi + 0x1d7c], 2
mov dword [ebp - 8], 2
mov eax, dword [edi + 0x1be8]
shr eax, 3
test al, 1
jne 0x410e08
mov edx, 3
lea ecx, [edx + 4]
call fcn.004102f0
comiss xmm0, xmm5
ja 0x410df1
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x11]
mov dword [ebp - 8], eax
call fcn.004102f0
comiss xmm0, xmm5
jbe 0x410e08
mov eax, 3
mov dword [esi + 0x1d7c], 3
mov dword [esi + 0x1d84], eax
jmp 0x410e1d
mov eax, dword [ebp - 8]
mov dword [esi + 0x1d84], eax
jmp 0x410e1d
mov dword [esi + 0x1d74], 2
xor al, al
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
cmp byte [ebp - 2], al
je 0x410e3f
call fcn.00411690
mov al, byte [esi + 0x1d6c]
xorps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
mov ecx, dword [esi + 0x1d7c]
cmp ecx, 0xffffffff
je 0x410e65
mov byte [esi + 0x1d6c], 1
mov eax, dword [esi + 0x37c]
mov dword [esi + 0x1d78], eax
mov dword [esi + 0x1d80], ecx
jmp 0x410e69
test al, al
je 0x410e8c
cmp dword [esi + 0x1d04], 0
jne 0x410e8c
mov word [esi + 0x1d55], 0x101
mov dword [esi + 0x1d58], 0
mov byte [esi + 0x1d52], 0
cmp byte [edi + 0x1d6c], 0
jne 0x410ea2
cmp byte [edi + 0x1d55], 0
jne 0x410ea2
xor al, al
jmp 0x410ea4
mov al, 1
movss xmm6, dword [0x46b720]
mov byte [edi + 0x1d54], al
mov edi, dword [esi + 0x1d00]
test edi, edi
je 0x4110b5
test dword [edi + 8], 0x40000
jne 0x4110b5
cmp dword [esi + 0x1e08], 0
jne 0x4110b5
mov eax, dword [ebp - 0xc]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x318]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x410eff
mulss xmm0, dword [eax + 0x27c]
cmp word [edi + 0x148], 0
mulss xmm0, dword [0x46b7e4]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x410fd9
cmp byte [edi + 0x151], 0
je 0x410fd9
cmp byte [esi + 0x1d6c], 0
je 0x410fd9
mov eax, dword [esi + 0x1d7c]
test eax, eax
je 0x410f61
cmp eax, 1
jne 0x410f90
movss xmm0, dword [0x46b75c]
jmp 0x410f69
movss xmm0, dword [0x46b83c]
mulss xmm0, xmm1
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
addss xmm0, dword [edi + 0x58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
mov eax, dword [esi + 0x1d7c]
cmp eax, 2
je 0x410faa
cmp eax, 3
jne 0x410fd9
movss xmm0, dword [0x46b75c]
jmp 0x410fb2
movss xmm0, dword [0x46b83c]
mulss xmm0, xmm1
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
addss xmm0, dword [edi + 0x5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x6c], xmm0
xor edx, edx
lea ecx, [edx + 9]
call fcn.004102f0
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.004102f0
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm5
call fcn.004102f0
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.004102f0
mov ecx, dword [ebp - 0xc]
subss xmm6, xmm0
movss xmm1, dword [ecx + 0x338]
comiss xmm1, xmm5
addss xmm6, xmm5
jbe 0x411031
mulss xmm7, dword [0x46b6fc]
mulss xmm6, dword [0x46b6fc]
movss xmm0, dword [ecx + 0x33c]
comiss xmm0, xmm5
jbe 0x41104e
mulss xmm7, dword [0x46b7c8]
mulss xmm6, dword [0x46b7c8]
movss xmm1, dword [ebp - 8]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x411083
cmp byte [edi + 0x88], dl
je 0x411083
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
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x4110ab
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
movss xmm6, dword [0x46b720]
jmp 0x4110b8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1d88], 0
xorps xmm0, xmm0
mov dword [esi + 0x1d90], 0
mov dword [esi + 0x1d8c], 0
movups xmmword [esi + 0x1d94], xmm0
mov dword [esi + 0x1dac], 0x7f7fffff
mov dword [esi + 0x1da8], 0x7f7fffff
mov dword [esi + 0x1da4], 0x7f7fffff
mov dword [esi + 0x1db0], 0
mov dword [esi + 0x1db8], 0
mov dword [esi + 0x1db4], 0
movups xmmword [esi + 0x1dbc], xmm0
mov dword [esi + 0x1dd4], 0x7f7fffff
mov dword [esi + 0x1dd0], 0x7f7fffff
mov dword [esi + 0x1dcc], 0x7f7fffff
mov dword [esi + 0x1dd8], 0
mov dword [esi + 0x1de0], 0
mov dword [esi + 0x1ddc], 0
movups xmmword [esi + 0x1de4], xmm0
mov dword [esi + 0x1dfc], 0x7f7fffff
mov dword [esi + 0x1df8], 0x7f7fffff
mov dword [esi + 0x1df4], 0x7f7fffff
cmp byte [esi + 0x1d6c], 0
je 0x411326
cmp dword [esi + 0x1d30], 3
jne 0x411326
mov edx, dword [esi + 0x1d48]
test edx, edx
jne 0x411326
mov eax, dword [esi + 0x1d00]
movss xmm3, dword [0x46b75c]
movss xmm7, dword [eax + 0x1f8]
movss xmm4, dword [eax + 0x1fc]
movss xmm2, dword [eax + 0x1f0]
subss xmm7, dword [eax + 0xc]
subss xmm4, dword [eax + 0x10]
subss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x334]
addss xmm7, xmm3
addss xmm4, xmm3
subss xmm2, xmm3
movss xmm3, dword [eax + 0x1f4]
subss xmm3, dword [eax + 0x10]
movss dword [ebp - 0x24], xmm4
comiss xmm0, xmm2
subss xmm3, dword [0x46b75c]
jb 0x411237
movss xmm0, dword [eax + 0x338]
comiss xmm0, xmm3
jb 0x411237
comiss xmm7, dword [eax + 0x33c]
jb 0x411237
comiss xmm4, dword [eax + 0x340]
jae 0x411326
movss xmm1, dword [ecx + 0x1934]
mov ecx, dword [eax + 0x318]
mulss xmm1, dword [eax + 0x27c]
test ecx, ecx
je 0x411259
mulss xmm1, dword [ecx + 0x27c]
mulss xmm1, xmm6
subss xmm4, xmm3
add edx, edx
movaps xmm6, xmm7
subss xmm6, xmm2
movss xmm0, dword [eax + edx*8 + 0x338]
minss xmm4, xmm1
minss xmm6, xmm1
xorps xmm4, xmmword [0x46bba0]
subss xmm3, xmm4
addss xmm4, dword [ebp - 0x24]
xorps xmm6, xmmword [0x46bba0]
subss xmm2, xmm6
addss xmm6, xmm7
comiss xmm3, xmm0
jbe 0x4112a4
movaps xmm1, xmm3
jmp 0x4112ab
movaps xmm1, xmm4
minss xmm1, xmm0
movss xmm7, dword [eax + 0x334]
comiss xmm2, xmm7
jbe 0x4112bd
movaps xmm0, xmm2
jmp 0x4112c4
movaps xmm0, xmm6
minss xmm0, xmm7
movss dword [eax + edx*8 + 0x334], xmm0
movss dword [eax + edx*8 + 0x338], xmm1
movss xmm0, dword [eax + edx*8 + 0x340]
comiss xmm3, xmm0
ja 0x4112eb
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [eax + edx*8 + 0x33c]
comiss xmm2, xmm0
ja 0x411300
movaps xmm2, xmm6
minss xmm2, xmm0
movss dword [eax + edx*8 + 0x33c], xmm2
movss dword [eax + edx*8 + 0x340], xmm3
mov dword [esi + 0x1d08], 0
mov dword [esi + 0x1d04], 0
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x411376
mov ecx, dword [esi + 0x1d48]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x334]
comiss xmm0, dword [eax + ecx*8 + 0x33c]
ja 0x411376
movss xmm0, dword [eax + ecx*8 + 0x338]
comiss xmm0, dword [eax + ecx*8 + 0x340]
ja 0x411376
movups xmm0, xmmword [eax + ecx*8 + 0x334]
movups xmmword [ebp - 0x30], xmm0
movss xmm5, dword [ebp - 0x28]
movss xmm3, dword [ebp - 0x30]
jmp 0x41138b
mov dword [ebp - 0x2c], 0
xorps xmm3, xmm3
mov dword [ebp - 0x24], 0
test eax, eax
je 0x4113bf
movss xmm2, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x2c]
addss xmm5, dword [eax + 0xc]
addss xmm2, dword [eax + 0x10]
addss xmm3, dword [eax + 0xc]
addss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x28], xmm5
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x2c], xmm0
jmp 0x4113c6
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movss xmm1, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1d34], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1d38]
addss xmm1, dword [esi + 0x1d40]
movss dword [esi + 0x1d38], xmm0
movss dword [esi + 0x1d40], xmm1
movss xmm0, dword [esi + 0x1d34]
addss xmm0, dword [0x46b75c]
mov dword [esi + 0x1d44], 0
minss xmm0, dword [esi + 0x1d3c]
movss dword [esi + 0x1d34], xmm0
movss dword [esi + 0x1d3c], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret