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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, dword [0x10047020]
mov esi, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], esi
mov eax, dword [edi + 0x1734]
mov byte [eax + 0x86], 1
mov eax, dword [edi + 0x1734]
mov dword [esp + 0x68], eax
cmp byte [eax + 0x88], 0
jne 0x10014949
mov ecx, dword [eax + 0x1c4]
xor edx, edx
mov eax, dword [eax + 0x1cc]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10002bb0
add esp, 4
mov dword [esp + 0x28], eax
cmp dword [edi + 0x1750], eax
jne 0x100140b1
mov byte [edi + 0x1758], 1
mov edx, dword [edi + 0x1734]
xorps xmm0, xmm0
movss xmm2, dword [edx + 0x134]
comiss xmm0, xmm2
jbe 0x1001412e
cmp dword [edx + 0x194], 1
movss xmm3, dword [edx + 0xc8]
subss xmm3, dword [edx + 0x18]
movss xmm1, dword [edx + 0x48]
je 0x1001411e
mov ecx, dword [edx + 0x190]
movss xmm0, dword [edx + 0x198]
movss xmm1, dword [edx + 0x19c]
subss xmm1, xmm0
lea eax, [ecx + 1]
test eax, eax
cmovns ecx, eax
mov eax, dword [edx + 0x1c0]
lea ecx, [ecx + ecx*4]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, dword [edx + 0x50]
subss xmm1, xmm3
addss xmm2, xmm1
maxss xmm2, dword [0x10042c90]
mov ecx, esi
cvttss2si eax, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x64], xmm1
cmp esi, 0xffffffff
jae 0x1001415c
mov dl, byte [ecx]
test dl, dl
je 0x1001415c
cmp dl, 0x23
jne 0x10014156
cmp byte [ecx + 1], dl
je 0x1001415c
inc ecx
cmp ecx, 0xffffffff
jb 0x10014146
movss xmm3, dword [edi + 0x16f0]
mov eax, dword [edi + 0x16ec]
mov dword [esp + 0x10], eax
movss dword [esp + 0x2c], xmm3
cmp esi, ecx
jne 0x1001417d
movaps xmm7, xmm0
jmp 0x100141d6
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x40]
mov dword [esp], 0xbf800000
push ecx
movaps xmm2, xmm3
mov ecx, eax
call fcn.10023670
movss xmm1, dword [esp + 0x30]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100141b7
mov eax, dword [esp + 0x10]
movss xmm2, dword [esp + 0x2c]
divss xmm2, dword [eax]
subss xmm1, xmm2
addss xmm1, dword [0x10042c88]
movss xmm3, dword [esp + 0x34]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x64]
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm7, xmm0
mov eax, dword [esp + 0x68]
movss xmm4, dword [eax + 0xc8]
movss xmm6, dword [edi + 0x13e4]
movaps xmm2, xmm4
movss xmm5, dword [eax + 0xcc]
addss xmm2, xmm1
movaps xmm1, xmm6
movss dword [esp + 0x2c], xmm7
addss xmm1, xmm6
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x20], xmm2
addss xmm1, xmm3
addss xmm1, xmm5
movss dword [esp + 0x24], xmm1
jbe 0x10014236
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x13f4]
addss xmm2, xmm0
movss dword [esp + 0x5c], xmm1
subss xmm1, xmm5
movss dword [esp + 0x50], xmm4
lea ecx, [esp + 0x30]
movss dword [esp + 0x54], xmm5
movss dword [esp + 0x58], xmm2
subss xmm2, xmm4
movss dword [esp + 0x34], xmm1
movaps xmm1, xmm6
movss dword [esp + 0x30], xmm2
call fcn.10003f60
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x50]
call fcn.100040c0
test al, al
je 0x10014949
movss xmm0, dword [edi + 0x13e4]
lea eax, [esp + 0xe]
addss xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x17]
push eax
addss xmm0, dword [edi + 0x16f0]
lea ecx, [esp + 0x24]
movss dword [esp + 0x1c], xmm0
call fcn.1000c9c0
mov esi, dword [0x10047020]
add esp, 0xc
mov byte [esp + 0xe], al
mov ecx, dword [esi + 0x17b0]
cmp dword [esi + 0x17a4], ecx
jle 0x100142e8
mov eax, dword [esp + 0x28]
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 0x17ac]
mov byte [esp + 0xd], 1
cmp dword [ecx + edx*8], eax
je 0x100142ed
mov byte [esp + 0xd], 0
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x20]
subss xmm2, dword [esp + 0x10]
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x80], xmm1
movss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x84], xmm1
movups xmm1, xmmword [esi + 0x14ac]
movss dword [esp + 0x8c], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movaps xmm3, xmm1
movss dword [esp + 0x10], xmm2
shufps xmm3, xmm1, 0xff
mulss xmm3, dword [esi + 0x13bc]
movss dword [esp + 0x88], xmm2
movss xmm2, dword [0x10042c90]
movaps xmmword [esp + 0x30], xmm1
jbe 0x10014365
xorps xmm1, xmm1
jmp 0x10014369
minss xmm1, xmm2
movss xmm5, dword [0x10042d28]
movss xmm4, dword [0x10042c70]
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si edx, xmm1
movss xmm1, dword [esp + 0x34]
comiss xmm0, xmm1
jbe 0x10014395
xorps xmm1, xmm1
jmp 0x10014399
minss xmm1, xmm2
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x38]
shl eax, 8
or edx, eax
comiss xmm0, xmm1
jbe 0x100143ba
xorps xmm1, xmm1
jmp 0x100143be
minss xmm1, xmm2
mulss xmm1, xmm5
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or edx, eax
comiss xmm0, xmm3
jbe 0x100143d9
xorps xmm3, xmm3
jmp 0x100143dd
minss xmm3, xmm2
mov esi, dword [esp + 0x24]
movss xmm2, dword [edi + 0x13e8]
mulss xmm3, xmm5
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
addss xmm3, xmm4
push dword [esp + 0x24]
cvttss2si ecx, xmm3
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.10006b30
movss xmm0, dword [esp + 0x20]
add esp, 0x10
cmp byte [esp + 0xd], 0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm0
jne 0x1001443c
cmp byte [esp + 0xf], 0
mov ecx, 0x1e0
je 0x10014441
mov ecx, 0x1f0
mov eax, dword [0x10047020]
xorps xmm0, xmm0
movss xmm2, dword [0x10042c90]
movups xmm1, xmmword [eax + ecx + 0x13bc]
comiss xmm0, xmm1
movaps xmm5, xmm1
movaps xmmword [esp + 0x50], xmm1
shufps xmm5, xmm1, 0xff
mulss xmm5, dword [eax + 0x13bc]
jbe 0x10014477
xorps xmm1, xmm1
jmp 0x1001447b
minss xmm1, xmm2
movss xmm4, dword [0x10042d28]
movss xmm3, dword [0x10042c70]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si edx, xmm1
movss xmm1, dword [esp + 0x54]
comiss xmm0, xmm1
jbe 0x100144a7
xorps xmm1, xmm1
jmp 0x100144ab
minss xmm1, xmm2
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x58]
shl eax, 8
or edx, eax
comiss xmm0, xmm1
jbe 0x100144cc
xorps xmm1, xmm1
jmp 0x100144d0
minss xmm1, xmm2
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or edx, eax
comiss xmm0, xmm5
jbe 0x100144eb
xorps xmm5, xmm5
jmp 0x100144ef
minss xmm5, xmm2
movss xmm2, dword [edi + 0x13e8]
mulss xmm5, xmm4
push esi
push dword [esp + 0x24]
push dword [esp + 0x3c]
addss xmm5, xmm3
push dword [esp + 0x3c]
cvttss2si ecx, xmm5
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.10006b30
mov ecx, dword [0x10047020]
add esp, 0x10
movss xmm6, dword [edi + 0x13e4]
movss xmm2, dword [0x10042c70]
movaps xmm1, xmm6
addss xmm1, dword [esp + 0x10]
movss xmm0, dword [ecx + 0x16f0]
addss xmm6, dword [esp + 0x1c]
movaps xmm3, xmm0
mov eax, dword [ecx + 0x1734]
mulss xmm3, dword [0x10042c6c]
movups xmm4, xmmword [ecx + 0x143c]
mov edx, dword [eax + 0x258]
mulss xmm0, xmm2
movaps xmm7, xmm3
mulss xmm7, dword [0x10042d44]
movaps xmm5, xmm4
addss xmm1, xmm0
shufps xmm5, xmm4, 0xff
addss xmm6, xmm0
mulss xmm5, dword [ecx + 0x13bc]
movaps xmm0, xmm3
movss dword [esp + 0x30], xmm3
mulss xmm0, dword [0x10042c60]
movss dword [esp + 0x10], xmm1
movss xmm1, dword [0x10042c90]
subss xmm6, xmm0
movaps xmmword [esp + 0x90], xmm4
movaps xmm0, xmm3
mulss xmm0, dword [0x10042d48]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10042c84]
movss dword [esp + 0x78], xmm0
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x100145ea
xorps xmm4, xmm4
jmp 0x100145ee
minss xmm4, xmm1
movss xmm3, dword [0x10042d28]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
movss xmm4, dword [esp + 0x94]
comiss xmm0, xmm4
jbe 0x10014615
xorps xmm4, xmm4
jmp 0x10014619
minss xmm4, xmm1
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
movss xmm4, dword [esp + 0x98]
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1001463d
xorps xmm4, xmm4
jmp 0x10014641
minss xmm4, xmm1
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x1001465c
xorps xmm5, xmm5
jmp 0x10014660
minss xmm5, xmm1
movss xmm0, dword [esp + 0x10]
addss xmm7, xmm6
movss xmm1, dword [esp + 0x78]
addss xmm6, dword [esp + 0x30]
mulss xmm5, xmm3
addss xmm1, xmm0
movss dword [esp + 0x7c], xmm7
movss dword [esp + 0x54], xmm7
addss xmm5, xmm2
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x78], xmm1
movss xmm1, dword [esp + 0x50]
addss xmm1, xmm0
movss dword [esp + 0x14], xmm6
cvttss2si eax, xmm5
movss dword [esp + 0x50], xmm1
shl eax, 0x18
or eax, ecx
mov ecx, edx
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10021080
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1001472f
movss xmm0, dword [esp + 0x18]
lea ecx, [esp + 0x48]
addss xmm0, dword [edi + 0x13e0]
push 0
push ecx
push 0
push 0
movss dword [esp + 0x40], xmm0
lea edx, [esp + 0x98]
movss xmm0, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
addss xmm0, dword [edi + 0x13e4]
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
movss dword [esp + 0x48], xmm0
call fcn.10006680
add esp, 0x14
movss xmm0, dword [esp + 0x2c]
comiss xmm0, dword [0x10042c2c]
jbe 0x1001477e
movss xmm0, dword [esp + 0x20]
xor edx, edx
addss xmm0, dword [edi + 0x13f4]
mov ecx, dword [esp + 0x6c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [edi + 0x13e4]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 1
call fcn.10006310
add esp, 0xc
cmp byte [esp + 0xd], 0
jne 0x10014799
cmp byte [esp + 0xe], 0
je 0x10014949
mov ecx, dword [esp + 0x28]
call fcn.100073b0
movss xmm0, dword [ebp + 8]
ucomiss xmm0, dword [0x10042c2c]
lahf
test ah, 0x44
jp 0x100147b6
movss xmm0, dword [esp + 0x64]
movss dword [ebp + 8], xmm0
movss xmm2, dword [esp + 0x24]
movss xmm6, dword [ebp + 0xc]
movaps xmm0, xmm2
movss xmm5, dword [edi + 0x1430]
addss xmm0, xmm6
comiss xmm2, xmm0
jbe 0x100147da
movaps xmm3, xmm2
jmp 0x100147e7
movss xmm3, dword [edi + 8]
subss xmm3, xmm5
minss xmm3, xmm0
movss xmm4, dword [esp + 0x1c]
movaps xmm0, xmm2
movaps xmm1, xmm3
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, xmm5
minss xmm0, xmm6
comiss xmm0, xmm1
jbe 0x1001483a
movaps xmm0, xmm4
movaps xmm2, xmm5
subss xmm0, xmm6
comiss xmm2, xmm0
ja 0x1001481d
movaps xmm2, xmm0
minss xmm2, xmm4
mov esi, dword [0x10047020]
movaps xmm3, xmm4
movss dword [esi + 0x17c0], xmm4
mov dword [esi + 0x17c8], 0x3f800000
jmp 0x10014852
mov esi, dword [0x10047020]
movss dword [esi + 0x17c0], xmm2
mov dword [esi + 0x17c8], 0
movss xmm0, dword [esp + 0x18]
subss xmm3, xmm2
mov dword [esi + 0x17e0], 1
lea eax, [esp + 0x6c]
mov dword [esi + 0x17c4], 0
lea ecx, [esi + 0x178c]
movss dword [esi + 0x17bc], xmm0
movss xmm0, dword [ebp + 8]
movss dword [esi + 0x17cc], xmm0
movss dword [esi + 0x17d0], xmm3
mov dword [esi + 0x17e4], 8
movss xmm0, dword [esi + 0x13c0]
movss xmm1, dword [esi + 0x13c4]
push eax
mov dword [esp + 0x70], 1
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm1
call fcn.10017480
mov ecx, dword [edi + 0x13e4]
mov edx, dword [esp + 0x68]
mov eax, dword [edi + 0x13e0]
mov dword [esi + 0x13c4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x13c0], eax
mov edx, dword [edx + 8]
and edx, 0x80
or edx, 0x800000
call fcn.100075c0
test al, al
je 0x10014949
mov ecx, dword [0x10047020]
mov eax, dword [ecx + 0x1734]
mov byte [eax + 0x86], 1
mov eax, dword [ecx + 0x1734]
cmp byte [eax + 0x88], 0
jne 0x10014941
xorps xmm1, xmm1
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], 0
call fcn.10003f60
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret