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

Disassembly:
sub esp, 0x9c
push esi
push edi
mov edi, dword [0x10110f1c]
mov dword [esp + 0x40], edi
mov eax, dword [edi + 0x3e40]
mov byte [eax + 0xac], 1
mov esi, dword [edi + 0x3e40]
mov dword [esp + 0x44], esi
cmp byte [esi + 0xaf], 0
jne 0x1006401e
push 0
push dword [esp + 0xb0]
mov ecx, esi
call fcn.100104d4
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [esp + 0xb8]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x38]
push eax
call fcn.1000cb48
movss xmm0, dword [edi + 0x37e0]
addss xmm0, xmm0
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0xb4], xmm0
call fcn.1000aa55
movss xmm0, dword [esp + 0xb4]
add esp, 0xc
mov eax, dword [esp + 0xd4]
fstp dword [esp + 0x8c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.100129de
movss xmm2, dword [esp + 0x44]
add esp, 0x14
addss xmm2, dword [esi + 0xf0]
movss xmm3, dword [esp + 0x34]
addss xmm3, dword [esi + 0xf4]
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xf4]
mov dword [esp + 0x60], eax
movaps xmm0, xmm2
mov dword [esp + 0x64], ecx
movss dword [esp + 0x68], xmm2
movaps xmm4, xmm3
movss dword [esp + 0x6c], xmm3
movss xmm1, dword [edi + 0x37dc]
subss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [edi + 0x37e0]
subss xmm4, xmm0
movss dword [esp + 0x78], xmm4
movss xmm4, dword [esp + 0x60]
addss xmm4, xmm1
movss xmm1, dword [esp + 0x64]
addss xmm1, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x10063863
addss xmm1, dword [edi + 0x37f4]
jmp 0x10063866
xorps xmm1, xmm1
addss xmm2, xmm1
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], xmm2
subss xmm2, dword [esp + 0x64]
movss xmm0, dword [edi + 0x37e0]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0x98], xmm2
call fcn.1001254b
xor esi, esi
lea eax, [esp + 0x68]
push esi
push eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.1001269c
add esp, 0x18
test al, al
je 0x1006401e
push dword [esp + 0x88]
lea eax, [esp + 0x64]
push eax
call fcn.1001281b
movss xmm1, dword [0x100bdf50]
movss xmm0, dword [esp + 0xcc]
ucomiss xmm0, xmm1
pop ecx
pop ecx
mov byte [esp + 0x9b], al
lahf
test ah, 0x44
jnp 0x1006391f
movss xmm3, dword [esp + 0xc8]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x100639e9
movss xmm2, dword [0x100bdf64]
movaps xmm3, xmm1
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0xb8]
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0x8c], xmm2
test esi, esi
jle 0x100639ba
mov edi, dword [esp + 0xa0]
push edi
push dword [esp + 0xb8]
call dword [esp + 0xb8]
fstp dword [esp + 0xa8]
movss xmm1, dword [esp + 0xa8]
inc edi
movaps xmm3, xmm1
maxss xmm1, dword [esp + 0x94]
minss xmm3, dword [esp + 0xa4]
pop ecx
pop ecx
movaps xmm2, xmm1
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0x8c], xmm2
cmp edi, esi
jl 0x10063955
movss xmm0, dword [esp + 0xc4]
movss xmm1, dword [0x100bdf50]
mov edi, dword [esp + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100639cc
movss dword [esp + 0xc4], xmm3
movss xmm0, dword [esp + 0xc8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100639f0
movss dword [esp + 0xc8], xmm2
jmp 0x100639f0
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.1000ab6c
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.10015304
or dword [esp + 0x9c], 0xffffffff
xor eax, eax
mov edx, dword [esp + 0xc4]
add esp, 0x1c
test edx, edx
sete al
inc eax
cmp esi, eax
jl 0x10063f5b
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 + 0x88], eax
cmp byte [esp + 0x9b], 0
mov dword [esp + 0x74], edx
je 0x10063bdc
movss xmm1, dword [edi + 0xdc0]
movss xmm2, dword [esp + 0x58]
comiss xmm1, xmm2
jb 0x10063bdc
movss xmm0, dword [edi + 0xdc4]
comiss xmm0, dword [esp + 0x70]
jb 0x10063bdc
movss xmm3, dword [esp + 0x7c]
comiss xmm3, xmm1
jbe 0x10063bdc
movss xmm4, dword [esp + 0x78]
comiss xmm4, xmm0
jbe 0x10063bdc
movaps xmm0, xmm3
subss xmm1, xmm2
subss xmm0, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10063af2
xorps xmm1, xmm1
jmp 0x10063afa
minss xmm1, dword [0x100d3780]
mov ecx, dword [esp + 0xbc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x80], 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 0x10063bac
movss xmm0, dword [esp + 0xa0]
push ecx
cvtps2pd xmm0, xmm0
push ecx
mov ecx, dword [esp + 0x88]
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.1000b421
add esp, 0x1c
jmp 0x10063bd8
cmp edx, 1
jne 0x10063bd8
movss xmm0, dword [esp + 0x9c]
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push dword [esp + 0x88]
push str._d:__8.4g
call fcn.1000b421
add esp, 0x10
mov edx, dword [esp + 0x74]
movss xmm2, dword [0x100ba4c4]
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 0x10063c1e
xorps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
jmp 0x10063c32
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 + 0x88]
movss xmm0, dword [esp + 0x88]
subss xmm0, xmm2
mulss xmm0, xmm4
movss dword [esp], xmm0
call fcn.1006bf42
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 0x10063cc4
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, dword [0x100ba4c4]
jmp 0x10063cdc
comiss xmm1, xmm2
jbe 0x10063cd4
movss dword [esp + 0x8c], xmm1
jmp 0x10063ce5
movss xmm0, dword [0x100ba4c4]
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.1000ab6c
add esp, 4
mov dword [esp + 0x4c], 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.1000ab6c
cmp dword [esp + 0x7c], 0
pop ecx
pop ecx
mov dword [esp + 0x84], eax
jle 0x10063f5b
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x58]
movd xmm2, dword [esp + 0x88]
movss xmm1, dword [esp + 0x94]
mov edi, dword [esp + 0x80]
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x78]
subss xmm0, dword [esp + 0x70]
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [esp + 0x9c]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x78], 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 [0x100ba4c0]
cvttss2si eax, xmm0
mov dword [esp + 0x88], 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.1006bf42
movss xmm0, dword [esp + 0x50]
add esp, 4
movss xmm2, dword [esp + 0xa0]
movss xmm5, dword [esp + 0x7c]
movss xmm7, dword [esp + 0x78]
fld1
movss xmm4, dword [esp + 0x58]
fsubrp st(1)
movss xmm6, dword [esp + 0x70]
mov eax, dword [esp + 0xa8]
movss xmm3, dword [esp + 0x9c]
mulss xmm2, xmm5
mulss xmm0, xmm7
addss xmm2, xmm4
fstp dword [esp + 0xc]
movss xmm1, dword [esp + 0xc]
addss xmm0, xmm6
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x94], xmm0
test eax, eax
je 0x10063e7d
movss xmm1, dword [esp + 0x8c]
mulss xmm1, xmm7
movaps xmm0, xmm5
mulss xmm0, xmm3
addss xmm1, xmm6
addss xmm0, xmm4
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x50], xmm0
test eax, eax
jne 0x10063eda
cmp edi, dword [esp + 0x88]
mov eax, dword [esp + 0x48]
cmove eax, dword [esp + 0x84]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x264]
call fcn.1003a323
jmp 0x10063f31
cmp eax, 1
jne 0x10063f31
addss xmm2, dword [0x100ba4c8]
comiss xmm0, xmm2
jb 0x10063efa
subss xmm0, dword [0x100ba4c4]
movss dword [esp + 0x50], xmm0
mov eax, dword [esp + 0x48]
push 0
push ecx
and dword [esp], 0
cmp edi, dword [esp + 0x90]
cmove eax, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x264]
call fcn.1003a4ad
sub dword [esp + 0x74], 1
movss xmm0, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x38]
movaps xmm1, xmm0
movss dword [esp + 0xa0], xmm0
jne 0x10063d92
mov edi, dword [esp + 0x40]
cmp dword [esp + 0xc0], 0
je 0x10063fbf
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x90]
and dword [esp + 0x94], 0
push 0
push eax
push 0
movss dword [esp + 0x5c], 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 + 0x68]
movss dword [esp + 0x6c], xmm0
push eax
call fcn.10014d9b
add esp, 0x1c
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [0x100ba4b8]
jbe 0x10064015
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 + 0x7c]
movss dword [esp + 0xa0], xmm0
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.10014c04
add esp, 0x14
mov eax, dword [esp + 0x80]
jmp 0x10064021
or eax, 0xffffffff
pop edi
pop esi
add esp, 0x9c
ret