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

Disassembly:
sub esp, 0x48
cmp dword [0x652830], 2
push esi
mov esi, ecx
je 0x41f1d5
movss xmm0, dword [0x5c8e44]
movss xmm3, dword [0x565554]
mov ecx, dword [0x6b09f8]
movss xmm1, dword [esi + 0x74]
movss xmm2, dword [esi + 0x78]
mulss xmm2, xmm3
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0x70]
mulss xmm1, xmm3
mulss xmm0, xmm3
movss xmm3, dword [ecx + 0x78]
lea eax, [esp + 0x1c]
push eax
addss xmm3, xmm1
movss xmm1, dword [ecx + 0x7c]
lea edx, [esp + 0x34]
push edx
addss xmm1, xmm2
movss xmm2, dword [ecx + 0x74]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
addss xmm2, xmm0
push edx
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm1
call fcn.00401d70
movss xmm0, dword [esi + 0x74]
xorps xmm2, xmm2
comiss xmm0, xmm2
jae 0x41f1d5
movss xmm1, dword [0x565fe0]
comiss xmm1, xmm0
jbe 0x41ec68
movss xmm0, dword [0x565314]
jmp 0x41ec70
mulss xmm0, dword [0x565fdc]
comiss xmm2, dword [esp + 0x1c]
movss dword [esp + 0x18], xmm0
ja 0x41ed60
movss xmm3, dword [0x565fd8]
movss xmm1, dword [esp + 0xc]
comiss xmm3, xmm1
ja 0x41ed60
comiss xmm1, dword [0x565fd4]
ja 0x41ed60
movss xmm0, dword [esp + 8]
comiss xmm3, xmm0
ja 0x41ed60
comiss xmm0, dword [0x565fd0]
ja 0x41ed60
subss xmm1, dword [0x565f38]
subss xmm0, dword [0x565f44]
lea ecx, [esp + 0x20]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm2
call fcn.0043cf00
fsubr dword [0x565fcc]
fmul dword [0x565524]
fld dword [0x565fc8]
fcompi st(1)
fstp st(0)
jbe 0x41ed14
movss xmm0, dword [0x565fc8]
movss dword [esp + 0x10], xmm0
jmp 0x41ed66
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x565f38]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 8]
subss xmm0, dword [0x565f44]
movss dword [esp + 0x40], xmm0
xorps xmm0, xmm0
lea ecx, [esp + 0x3c]
movss dword [esp + 0x44], xmm0
call fcn.0043cf00
fsubr dword [0x565fcc]
fmul dword [0x565524]
fstp dword [esp + 0x10]
jmp 0x41ed66
movss dword [esp + 0x10], xmm2
mov eax, dword [esi + 0x204]
push eax
mov ecx, 0x5c8e38
call fcn.0041af30
fld dword [0x565d54]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x41ee01
fld dword [0x5c8e48]
movss xmm1, dword [esp + 0x10]
xorps xmm4, xmm4
fnstcw word [esp + 6]
movzx eax, word [esp + 6]
or eax, 0xc00
mov dword [esp + 0x20], eax
ucomiss xmm1, xmm4
fldcw word [esp + 0x20]
lahf
mov dword [esi + 0x200], 0
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x204], ecx
fldcw word [esp + 6]
test ah, 0x44
jnp 0x41ee0a
mov eax, dword [0x6b09f8]
push 0
push 0
lea edx, [esp + 0x38]
push edx
add eax, 0x74
push eax
mov ecx, 0x610464
call fcn.00419500
test eax, eax
je 0x41ee01
xorps xmm4, xmm4
movaps xmm1, xmm4
mov dword [esi + 0x200], 1
jmp 0x41ee0a
movss xmm1, dword [esp + 0x10]
xorps xmm4, xmm4
cmp dword [esi + 0x200], 0
je 0x41ee16
movaps xmm1, xmm4
movss xmm2, dword [esi + 0x1f8]
comiss xmm2, xmm1
movss xmm3, dword [0x565d1c]
movss xmm0, dword [esp + 0x14]
jbe 0x41ee51
movaps xmm5, xmm0
mulss xmm5, xmm3
subss xmm2, xmm5
comiss xmm1, xmm2
movss dword [esi + 0x1f8], xmm2
jbe 0x41ee51
movss dword [esi + 0x1f8], xmm1
movss xmm2, dword [esi + 0x1f8]
comiss xmm1, xmm2
jbe 0x41ee7b
mulss xmm0, xmm3
addss xmm0, xmm2
comiss xmm0, xmm1
movss dword [esi + 0x1f8], xmm0
jbe 0x41ee7b
movss dword [esi + 0x1f8], xmm1
movss xmm0, dword [esi + 0x1f8]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x41f1d5
push edi
push 0
mov ecx, 0x610810
movss dword [esp + 0x1c], xmm0
call fcn.00409330
push 0
mov ecx, 0x610810
call fcn.00409280
mov ecx, dword [esi + 4]
push 0
push 0
push 1
push ecx
mov ecx, 0x610810
call fcn.00409010
fnstcw word [esp + 0xa]
movzx eax, word [esp + 0xa]
movss xmm3, dword [esp + 0x1c]
movss xmm0, dword [esi + 0x10c]
movss xmm1, dword [esi + 0x110]
movss xmm2, dword [esi + 0x114]
cvtsi2ss xmm4, dword [0x5c8de8]
mulss xmm4, dword [0x565314]
lea edi, [esi + 0x10c]
mulss xmm1, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm3
movss xmm3, dword [0x5652d0]
subss xmm3, xmm4
or eax, 0xc00
mov dword [esp + 0x24], eax
mulss xmm0, xmm3
movss dword [esp + 0x40], xmm0
fld dword [esp + 0x40]
fld dword [0x565328]
mov edx, dword [esi + 4]
fmul st(1), st(0)
mulss xmm1, xmm3
fldcw word [esp + 0x24]
movss dword [esp + 0x44], xmm1
movss xmm0, dword [esp + 0xc]
push edx
mulss xmm2, xmm3
movss dword [esp + 0x4c], xmm2
fxch st(1)
movss xmm2, dword [esp + 0x1c]
fistp qword [esp + 0x28]
movaps xmm1, xmm2
addss xmm1, xmm0
mov ecx, dword [esp + 0x28]
or ecx, 0xffffff00
shl ecx, 8
movaps xmm3, xmm2
fldcw word [esp + 0xe]
fld dword [esp + 0x48]
fnstcw word [esp + 0xe]
fmul st(1)
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
and edx, 0xff
or ecx, edx
shl ecx, 8
fldcw word [esp + 0xe]
fmul dword [esp + 0x4c]
fnstcw word [esp + 0xe]
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
and eax, 0xff
or ecx, eax
push ecx
fldcw word [esp + 0x12]
sub esp, 0x10
movss dword [esp + 0xc], xmm1
movss xmm1, dword [esp + 0x28]
addss xmm3, xmm1
movss dword [esp + 8], xmm3
subss xmm0, xmm2
movss dword [esp + 4], xmm0
subss xmm1, xmm2
movss dword [esp], xmm1
call fcn.0040b730
add esp, 0x18
cmp dword [esi + 0x200], 0
jne 0x41f1d4
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.0043cf90
fnstcw word [esp + 0xa]
movss xmm1, dword [eax]
movss xmm0, dword [0x565d54]
mulss xmm1, xmm0
movss dword [esp + 0x40], xmm1
fld dword [esp + 0x40]
movss xmm1, dword [eax + 4]
fld dword [0x565328]
mulss xmm1, xmm0
fmul st(1), st(0)
movss dword [esp + 0x44], xmm1
fxch st(1)
movss xmm1, dword [eax + 8]
movzx eax, word [esp + 0xa]
or eax, 0xc00
mov dword [esp + 0x24], eax
movss xmm2, dword [0x565bc4]
fldcw word [esp + 0x24]
mulss xmm1, xmm0
movss xmm0, dword [0x565f38]
subss xmm0, dword [esp + 0x10]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [0x565f44]
fistp qword [esp + 0x24]
subss xmm1, dword [esp + 0xc]
mulss xmm0, xmm2
mov esi, dword [esp + 0x24]
or esi, 0xffffff00
shl esi, 8
mulss xmm1, xmm2
fldcw word [esp + 0xa]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
mov edi, 8
fld dword [esp + 0x44]
fnstcw word [esp + 0xa]
fmul st(1)
movzx eax, word [esp + 0xa]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp qword [esp + 0x24]
mov ecx, dword [esp + 0x24]
and ecx, 0xff
or esi, ecx
shl esi, 8
fldcw word [esp + 0xa]
fmul dword [esp + 0x48]
fnstcw word [esp + 0xa]
movzx eax, word [esp + 0xa]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp qword [esp + 0x24]
mov edx, dword [esp + 0x24]
and edx, 0xff
or esi, edx
fldcw word [esp + 0xa]
jmp 0x41f14c
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x18]
fld1
addss xmm0, dword [esp + 0x10]
addss xmm1, dword [esp + 0xc]
sub esp, 8
fst dword [esp + 4]
movss dword [esp + 0x18], xmm0
subss xmm0, dword [0x565f38]
fstp dword [esp]
push 0
movss dword [esp + 0x18], xmm1
subss xmm1, dword [0x565f44]
movss dword [esp + 0x4c], xmm0
xorps xmm0, xmm0
push esi
lea ecx, [esp + 0x50]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm0
call fcn.0043cf00
fmul dword [0x565bc4]
sub esp, 0xc
fadd dword [0x565540]
fstp dword [esp + 8]
fld dword [esp + 0x28]
fstp dword [esp + 4]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.0040c630
add esp, 0x1c
sub edi, 1
jne 0x41f140
pop edi
pop esi
add esp, 0x48
ret