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

Disassembly:
sub esp, 0x9c
push esi
push edi
mov edi, dword [0x10114fd8]
mov dword [esp + 0x40], edi
mov eax, dword [edi + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e40]
mov dword [esp + 0x54], eax
cmp byte [eax + 0xaf], 0
jne 0x10064a14
push 0
push dword [esp + 0xb0]
mov ecx, eax
call fcn.10010fc5
push ecx
mov dword [esp], 0xbf800000
mov esi, eax
push 1
push 0
push dword [esp + 0xb8]
lea eax, [esp + 0x38]
push eax
call fcn.1000d679
movss xmm0, dword [edi + 0x37e0]
addss xmm0, xmm0
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0xb4], xmm0
call fcn.1000b540
movss xmm0, dword [esp + 0xb4]
add esp, 0xc
mov eax, dword [esp + 0xd4]
fstp dword [esp + 0x90]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.10013524
mov ecx, dword [esp + 0x68]
add esp, 0x14
movss xmm1, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
addss xmm1, dword [ecx + 0xf0]
addss xmm3, dword [ecx + 0xf4]
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
movaps xmm2, xmm1
movss dword [esp + 0x68], xmm1
movaps xmm4, xmm3
movss dword [esp + 0x6c], xmm3
movss xmm0, dword [edi + 0x37dc]
subss xmm2, xmm0
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x80], xmm2
movss xmm2, dword [edi + 0x37e0]
subss xmm4, xmm2
movss dword [esp + 0x58], xmm0
addss xmm2, dword [esp + 0x64]
xorps xmm0, xmm0
movss dword [esp + 0x7c], xmm4
movss dword [esp + 0x74], xmm2
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x10064254
addss xmm2, dword [edi + 0x37f4]
jmp 0x10064257
xorps xmm2, xmm2
addss xmm1, xmm2
movss dword [esp + 0x1c], xmm3
subss xmm3, dword [esp + 0x64]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x14], ecx
push ecx
movss dword [esp + 0x1c], xmm1
subss xmm1, dword [esp + 0x64]
movss xmm0, dword [edi + 0x37e0]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0x98], xmm1
call fcn.10013097
push 0
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x20]
push 0
push eax
call fcn.100131e8
add esp, 0x18
test al, al
je 0x10064a14
lea eax, [esp + 0x60]
push esi
push eax
call fcn.1001335c
movss xmm1, dword [0x100c0f80]
movss xmm0, dword [esp + 0xcc]
ucomiss xmm0, xmm1
pop ecx
pop ecx
mov byte [esp + 0x9b], al
lahf
test ah, 0x44
jnp 0x1006430a
movss xmm3, dword [esp + 0xc8]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x100643df
movss xmm3, dword [0x100c0f94]
movaps xmm2, xmm1
and dword [esp + 0xa0], 0
mov esi, dword [esp + 0xb8]
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0x8c], xmm3
test esi, esi
jle 0x100643b0
mov edi, dword [esp + 0xa0]
push edi
push dword [esp + 0xb8]
call dword [esp + 0xb8]
movss xmm2, dword [esp + 0xa4]
fstp dword [esp + 0xa8]
movss xmm0, dword [esp + 0xa8]
comiss xmm0, xmm2
pop ecx
pop ecx
ja 0x1006437c
movaps xmm2, xmm0
movss dword [esp + 0x9c], xmm2
movss xmm3, dword [esp + 0x8c]
comiss xmm3, xmm0
jae 0x10064396
movaps xmm3, xmm0
movss dword [esp + 0x8c], xmm3
inc edi
cmp edi, esi
jl 0x10064341
movss xmm0, dword [esp + 0xc4]
movss xmm1, dword [0x100c0f80]
mov edi, dword [esp + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100643c2
movss dword [esp + 0xc4], xmm2
movss xmm0, dword [esp + 0xc8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100643e6
movss dword [esp + 0xc8], xmm3
jmp 0x100643e6
mov esi, dword [esp + 0xb8]
movss xmm0, dword [edi + 0x37e4]
push ecx
mov dword [esp], 0x3f800000
push 7
movss dword [esp + 0xa8], xmm0
call fcn.1000b657
movss xmm0, dword [esp + 0xa8]
add esp, 4
movss dword [esp], xmm0
push 1
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.10015e9d
or dword [esp + 0xa0], 0xffffffff
xor eax, eax
mov edx, dword [esp + 0xc4]
add esp, 0x1c
test edx, edx
sete al
inc eax
cmp esi, eax
jl 0x1006494e
cvttss2si eax, dword [esp + 0x30]
xor ecx, ecx
test edx, edx
mov edx, esi
setne cl
dec ecx
cmp eax, esi
cmovl edx, eax
lea eax, [ecx + esi]
add edx, ecx
mov dword [esp + 0x70], eax
cmp byte [esp + 0x9b], 0
mov dword [esp + 0x78], edx
je 0x100645d2
movss xmm1, dword [edi + 0xdc0]
movss xmm2, dword [esp + 0x58]
comiss xmm1, xmm2
jb 0x100645d2
movss xmm0, dword [edi + 0xdc4]
comiss xmm0, dword [esp + 0x74]
jb 0x100645d2
movss xmm3, dword [esp + 0x80]
comiss xmm3, xmm1
jbe 0x100645d2
movss xmm4, dword [esp + 0x7c]
comiss xmm4, xmm0
jbe 0x100645d2
movaps xmm0, xmm3
subss xmm1, xmm2
subss xmm0, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100644e8
xorps xmm1, xmm1
jmp 0x100644f0
minss xmm1, dword [0x100d67c0]
mov ecx, dword [esp + 0xbc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x84], eax
lea esi, [eax + ecx]
mov eax, esi
cdq
idiv dword [esp + 0xb8]
push edx
push dword [esp + 0xb8]
call dword [esp + 0xb8]
lea eax, [esi + 1]
mov esi, dword [esp + 0xc0]
cdq
idiv esi
fstp dword [esp + 0xa4]
push edx
push dword [esp + 0xc0]
call dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
add esp, 0x10
fstp dword [esp + 0xa0]
test edx, edx
jne 0x100645a2
movss xmm0, dword [esp + 0xa0]
push ecx
cvtps2pd xmm0, xmm0
push ecx
mov ecx, dword [esp + 0x8c]
lea eax, [ecx + 1]
movsd qword [esp], xmm0
movss xmm0, dword [esp + 0xa4]
push eax
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push ecx
push str._d:__8.4g_n_d:__8.4g
call fcn.1000bf10
add esp, 0x1c
jmp 0x100645ce
cmp edx, 1
jne 0x100645ce
movss xmm0, dword [esp + 0x9c]
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x8c]
push str._d:__8.4g
call fcn.1000bf10
add esp, 0x10
mov edx, dword [esp + 0x78]
movss xmm2, dword [0x100bd4f4]
movd xmm0, edx
movaps xmm1, xmm2
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [esp + 0xc4]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10064614
xorps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
jmp 0x10064628
subss xmm0, xmm1
movaps xmm1, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x5c], xmm1
mov eax, dword [esp + 0xbc]
cdq
idiv esi
movss dword [esp + 0x9c], xmm0
push edx
push dword [esp + 0xb8]
movss dword [esp + 0xa8], xmm0
call dword [esp + 0xb8]
movss xmm2, dword [esp + 0xcc]
add esp, 4
movss xmm4, dword [esp + 0x60]
fstp dword [esp + 0x8c]
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm2
mulss xmm0, xmm4
movss dword [esp], xmm0
call fcn.1006ca71
fld1
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0xcc]
fsubrp st(1)
add esp, 4
xorps xmm1, xmm1
comiss xmm1, xmm0
fstp dword [esp + 0x94]
jbe 0x100646ba
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, dword [0x100bd4f4]
jmp 0x100646d2
comiss xmm1, xmm2
jbe 0x100646ca
movss dword [esp + 0x8c], xmm1
jmp 0x100646db
movss xmm0, dword [0x100bd4f4]
movss dword [esp + 0x8c], xmm0
cmp dword [esp + 0xa8], 0
push ecx
mov dword [esp], 0x3f800000
push 0x28
pop eax
push 0x26
pop ecx
cmove eax, ecx
push eax
call fcn.1000b657
add esp, 4
mov dword [esp + 0x48], eax
cmp dword [esp + 0xac], 0
mov dword [esp], 0x3f800000
push 0x29
pop ecx
push 0x27
pop eax
cmove ecx, eax
push ecx
call fcn.1000b657
cmp dword [esp + 0x80], 0
pop ecx
pop ecx
mov dword [esp + 0x88], eax
jle 0x1006494e
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [esp + 0x58]
movd xmm2, dword [esp + 0x70]
movss xmm1, dword [esp + 0x94]
mov edi, dword [esp + 0x84]
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x74]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x9c]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x7c], xmm0
mov ecx, dword [esp + 0xbc]
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x3c]
inc ecx
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [0x100bd4f0]
cvttss2si eax, xmm0
mov dword [esp + 0x70], eax
add eax, ecx
cdq
idiv esi
push edx
push dword [esp + 0xb8]
call dword [esp + 0xb8]
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
add esp, 4
subss xmm0, dword [esp + 0xc8]
mulss xmm0, dword [esp + 0x60]
movss dword [esp], xmm0
call fcn.1006ca71
movss xmm0, dword [esp + 0x4c]
add esp, 4
movss xmm6, dword [esp + 0x7c]
movss xmm2, dword [esp + 0xa0]
movss xmm4, dword [esp + 0x80]
fld1
movss xmm5, dword [esp + 0x74]
fsubrp st(1)
movss xmm3, dword [esp + 0x58]
mov eax, dword [esp + 0xa8]
mulss xmm0, xmm6
mulss xmm2, xmm4
addss xmm0, xmm5
fstp dword [esp + 0xc]
movss xmm1, dword [esp + 0xc]
addss xmm2, xmm3
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x90], xmm2
test eax, eax
je 0x10064879
movss xmm1, dword [esp + 0x8c]
mulss xmm0, xmm4
mulss xmm1, xmm6
addss xmm0, xmm3
addss xmm1, xmm5
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm1
test eax, eax
jne 0x100648d0
cmp edi, dword [esp + 0x70]
mov eax, dword [esp + 0x44]
cmove eax, dword [esp + 0x88]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x264]
call fcn.1003aa25
jmp 0x10064924
cmp eax, 1
jne 0x10064924
addss xmm2, dword [0x100bd4f8]
comiss xmm0, xmm2
jb 0x100648f0
subss xmm0, dword [0x100bd4f4]
movss dword [esp + 0x4c], xmm0
mov eax, dword [esp + 0x44]
push 0
push ecx
and dword [esp], 0
cmp edi, dword [esp + 0x78]
cmove eax, dword [esp + 0x90]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x264]
call fcn.1003abaf
sub dword [esp + 0x78], 1
movss xmm0, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x38]
movaps xmm1, xmm0
movss dword [esp + 0xa0], xmm0
jne 0x1006478e
mov edi, dword [esp + 0x40]
cmp dword [esp + 0xc0], 0
je 0x100649b2
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x90]
and dword [esp + 0x94], 0
push 0
push eax
push 0
movss dword [esp + 0x58], xmm0
lea eax, [esp + 0x74]
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [edi + 0x37e0]
push 0
push dword [esp + 0xd0]
mov dword [esp + 0xa4], 0x3f000000
push eax
lea eax, [esp + 0x64]
movss dword [esp + 0x68], xmm0
push eax
call fcn.10015932
add esp, 0x1c
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x100bd4e8]
jbe 0x10064a0b
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [edi + 0x37f4]
push 1
push 0
push dword [esp + 0xb4]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0xa0], xmm0
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.1001579b
add esp, 0x14
mov eax, dword [esp + 0x84]
jmp 0x10064a17
or eax, 0xffffffff
pop edi
pop esi
add esp, 0x9c
ret