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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x10114380]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [0x10114fd8]
push edi
mov dword [esp + 0x34], eax
lea edi, [esp + 0x74]
mov byte [eax + 0x67], 0
xor eax, eax
push 9
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x14], esi
mov byte [esp + 0xc], dl
mov dword [esp + 0x30], ecx
mov eax, dword [edi]
mov dword [esp + 0x1c], 1
test eax, eax
jle 0x1006d506
and dword [esp + 0x28], ecx
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, dword [edi + 8]
add esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x24]
jl 0x1006d4c7
cmp byte [esi + 0x28], 0
jne 0x1006d4c7
cmp edx, ecx
je 0x1006d44d
push 0xb
pop ecx
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x40]
add edi, dword [esp + 0x28]
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x28]
add eax, esi
push eax
mov word [eax + 0x26], dx
call fcn.1006e072
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x1006d4b2
mov ecx, dword [edi + 8]
add ecx, 0xffffffd4
add ecx, esi
push ecx
call fcn.1006e072
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x1006d498
test eax, eax
je 0x1006d4b2
mov al, byte [esp + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x1006d49c
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x18], 2
jne 0x1006d4b2
cmp ecx, 2
movzx eax, al
cmovne eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
imul eax, ecx, 0xc
mov ecx, dword [esp + 0x30]
inc dword [esp + eax + 0x74]
inc edx
add esi, 0x2c
mov dword [esp + 0x28], esi
jmp 0x1006d4e8
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi]
jne 0x1006d4d2
and dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [esi]
jne 0x1006d4dd
and dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [esi]
jne 0x1006d4e8
and dword [edi + 0x18], 0
mov esi, dword [esp + 0x2c]
inc ecx
mov eax, dword [edi]
add esi, 0x2c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
cmp ecx, eax
jl 0x1006d40c
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], edi
cmp eax, edx
je 0x1006d518
push edx
mov ecx, edi
call fcn.1006e290
mov eax, dword [edi]
cmp byte [esp + 0xc], 0
je 0x1006d538
cmp eax, dword [esp + 0x1c]
jbe 0x1006d538
push 0x10064c61
push 0x2c
push eax
push dword [edi + 8]
call fcn.100a7070
add esp, 0x10
cmp dword [esp + 0x74], 0
mov ecx, dword [esp + 0x80]
jle 0x1006d55d
mov eax, dword [esp + 0x8c]
add eax, ecx
test eax, eax
jle 0x1006d55d
movss xmm0, dword [esi + 0x37f4]
jmp 0x1006d560
xorps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
test ecx, ecx
jle 0x1006d57e
cmp dword [esp + 0x8c], 0
jle 0x1006d57e
movss xmm0, dword [esi + 0x37f4]
jmp 0x1006d581
xorps xmm0, xmm0
xor esi, esi
movss dword [esp + 0x88], xmm0
mov dword [esp + 0xc], esi
cmp dword [edi + 0x18], esi
je 0x1006d5a3
mov esi, dword [edi + 0x18]
and dword [edi + 0x18], 0
mov dword [esp + 0xc], esi
mov dword [edi + 0x14], esi
cmp dword [edi + 0x60], 0
je 0x1006d5c5
push edi
call fcn.1005c146
pop ecx
test al, al
je 0x1006d5c1
mov eax, dword [edi + 0x60]
cmp eax, dword [edi + 0x14]
cmove esi, eax
mov dword [esp + 0xc], esi
and dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x1006d5e3
push edi
call fcn.1006df20
pop ecx
test eax, eax
je 0x1006d5e3
mov esi, dword [eax]
mov dword [esp + 0xc], esi
mov dword [edi + 0x14], esi
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x8c]
push dword [edi]
and dword [esp + 0x9c], 0
add eax, ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
lea ecx, [ecx + 0x4a60]
call fcn.10023c65
or dword [esp + 0x24], 0xffffffff
xor eax, eax
mov edx, eax
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
cmp dword [edi], eax
jle 0x1006d76f
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 8]
add ecx, eax
mov dword [esp + 0x20], ecx
test edx, edx
je 0x1006d64d
mov eax, dword [edx + 0xc]
cmp eax, dword [ecx + 0xc]
jge 0x1006d65b
test dword [ecx + 4], 0x200000
cmove edx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [edi + 0x14]
movzx edx, dl
cmove edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
test esi, esi
jne 0x1006d685
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x47dc], eax
cmove esi, eax
mov dword [esp + 0xc], esi
push ecx
push edi
call fcn.1005bf93
mov edx, dword [esp + 0x28]
xorps xmm1, xmm1
pop ecx
pop ecx
mov ecx, dword [edx + 4]
movss xmm0, dword [edx + 0x1c]
and ecx, 0x100001
cmp ecx, 0x100000
setne cl
comiss xmm0, xmm1
jae 0x1006d6cb
push ecx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1005c998
mov edx, dword [esp + 0x2c]
add esp, 0xc
xorps xmm1, xmm1
movss xmm0, dword [eax]
push edx
movss dword [edx + 0x18], xmm0
call fcn.1006e072
add esp, 4
imul esi, eax, 0xc
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x24]
jne 0x1006d6f2
mov ecx, dword [esp + 0x14]
movss xmm1, dword [ecx + 0x37f4]
mov ecx, dword [esp + eax*4 + 0x98]
addss xmm0, xmm1
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
addss xmm0, dword [esp + esi + 0x78]
movss dword [esp + esi + 0x78], xmm0
mov esi, dword [esp + 0x20]
mov dword [esp + esi*4 + 0x98], eax
mov esi, dword [esp + 0xc]
imul eax, ecx, 0xc
mov ecx, dword [esp + 0x14]
add eax, dword [ecx + 0x4a68]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
inc ecx
movss xmm0, dword [edx + 0x18]
movss dword [eax + 8], xmm0
movss dword [eax + 4], xmm0
movss xmm0, dword [edx + 0x18]
maxss xmm0, dword [0x100bd4f4]
mov eax, dword [esp + 0x10]
add eax, 0x2c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
movss dword [edx + 0x14], xmm0
mov edx, dword [esp + 0x30]
cmp ecx, dword [edi]
jl 0x1006d638
push 3
xorps xmm4, xmm4
lea eax, [esp + 0x80]
xorps xmm1, xmm1
pop ecx
movss xmm0, dword [eax - 4]
addss xmm0, dword [eax]
add eax, 0xc
addss xmm1, xmm0
sub ecx, 1
jne 0x1006d77f
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x1006d7d9
mov eax, dword [esp + 0x1c]
cmp dword [edi], eax
jle 0x1006d7d9
mov eax, dword [edi + 0xc]
and al, 0x90
cmp al, 0x80
jne 0x1006d7d9
push edi
call fcn.1006dd05
xorps xmm4, xmm4
pop ecx
test eax, eax
je 0x1006d7d9
test dword [eax + 4], 0x200000
mov esi, dword [eax]
mov dword [esp + 0xc], esi
jne 0x1006d7d9
mov dword [edi + 0x14], esi
movss xmm3, dword [esp + 0x90]
movss xmm2, dword [esp + 0x78]
addss xmm3, dword [esp + 0x94]
addss xmm2, dword [esp + 0x7c]
movss xmm1, dword [edi + 0x30]
subss xmm1, dword [edi + 0x28]
movaps xmm0, xmm3
addss xmm0, xmm2
comiss xmm1, xmm0
seta al
test al, al
je 0x1006d836
movss xmm0, dword [esp + 0x84]
subss xmm1, xmm2
addss xmm0, dword [esp + 0x88]
subss xmm1, xmm3
subss xmm0, xmm1
maxss xmm0, xmm4
jmp 0x1006d83a
subss xmm0, xmm1
comiss xmm0, dword [0x100bd4f4]
jb 0x1006d931
test byte [edi + 0xc], 0x40
jne 0x1006d855
test al, al
jne 0x1006d931
test al, al
je 0x1006d873
mov edx, dword [esp + 0x80]
mov eax, edx
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x8c]
mov dword [esp + 0x24], edx
jmp 0x1006d884
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x74]
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
imul ecx, ecx, 0xc
mov dword [esp + 0x10], eax
push ecx
movss dword [esp], xmm0
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x4a68]
add eax, ecx
push eax
call fcn.1005a6b5
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, dword [esp + 0x18]
cmp dword [esp + 0x18], eax
jge 0x1006d931
mov ecx, dword [esp + 0x20]
xorps xmm3, xmm3
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x4a68]
mov esi, dword [esp + 0x28]
imul edx, dword [eax + ecx], 0x2c
cvttss2si eax, dword [eax + ecx + 4]
add edx, dword [esi + 8]
mov esi, dword [esp + 0x14]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
ja 0x1006d925
maxss xmm2, dword [0x100bd4f4]
push edx
call fcn.1006e072
movss xmm1, dword [edx + 0x14]
add esp, 4
imul eax, eax, 0xc
subss xmm1, xmm2
movss xmm0, dword [esp + eax + 0x78]
subss xmm0, xmm1
movss dword [esp + eax + 0x78], xmm0
movss dword [edx + 0x14], xmm2
add ecx, 0xc
sub edi, 1
jne 0x1006d8cc
mov edi, dword [esp + 0x34]
xor esi, esi
xorps xmm2, xmm2
and dword [edi + 0x40], esi
xorps xmm1, xmm1
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
imul edx, eax, 0xc
lea ecx, [esp + 0x78]
add ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
cmp eax, 2
jne 0x1006d977
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
subss xmm0, dword [ecx]
maxss xmm0, xmm2
minss xmm0, xmm1
movaps xmm1, xmm0
jmp 0x1006d97b
mov dword [esp + 0x18], ecx
and dword [esp + 0x38], 0
mov ecx, dword [esp + edx + 0x74]
test ecx, ecx
jle 0x1006d9ee
mov edi, dword [esp + 0x38]
imul eax, esi, 0x2c
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
add edx, eax
or dword [edx + 0x20], 0xffffffff
movss dword [edx + 0x10], xmm1
mov ecx, dword [esp + esi + 0x74]
lea eax, [ecx - 1]
cmp edi, eax
jge 0x1006d9c2
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x37f4]
jmp 0x1006d9c5
movaps xmm0, xmm2
addss xmm0, dword [edx + 0x14]
mov eax, dword [esp + 0x10]
inc edi
add eax, 0x2c
mov dword [esp + 0x10], eax
addss xmm1, xmm0
cmp edi, ecx
jl 0x1006d997
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
movss xmm0, dword [esp + edx + 0x7c]
add esi, ecx
mov edx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
addss xmm0, dword [edx]
mov edx, dword [esp + 0x1c]
maxss xmm0, xmm2
addss xmm1, dword [esp + edx + 0x7c]
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x40], xmm0
cmp eax, 3
jl 0x1006d946
push 0
lea ecx, [edi + 0x84]
call fcn.10023b0d
cmp byte [esp + 0x2c], 0
mov esi, dword [esp + 0xc]
jne 0x1006da44
and dword [edi + 0x14], 0
mov ecx, dword [edi + 0x14]
mov eax, ecx
test ecx, ecx
jne 0x1006da61
cmp dword [edi + 0x18], ecx
jne 0x1006da61
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1006da61
mov esi, dword [ecx]
mov eax, esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x1c], eax
mov byte [edi + 0x68], 0
test esi, esi
je 0x1006da7b
lea eax, [esp + 0x74]
push eax
push esi
push edi
call fcn.1006dc04
add esp, 0xc
movss xmm6, dword [edi + 0x28]
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x30]
movss xmm4, dword [edi + 0x40]
subss xmm0, xmm6
movaps xmm2, xmm4
mov ecx, dword [esp + 0x14]
subss xmm2, xmm0
minss xmm2, dword [edi + 0x48]
maxss xmm2, xmm1
movss dword [edi + 0x48], xmm2
movss xmm5, dword [edi + 0x30]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm4, xmm0
minss xmm4, dword [edi + 0x4c]
maxss xmm4, xmm1
ucomiss xmm2, xmm4
movss dword [edi + 0x4c], xmm4
lahf
test ah, 0x44
jnp 0x1006db5c
movss xmm0, dword [ecx + 0x3bd0]
movaps xmm3, xmm4
mulss xmm0, dword [0x100cea60]
subss xmm3, xmm2
mov eax, dword [edi + 0x24]
inc eax
maxss xmm0, dword [edi + 0x54]
andps xmm3, xmmword [0x100c1050]
mulss xmm3, dword [0x100d67d8]
maxss xmm3, xmm0
movss dword [edi + 0x54], xmm3
cmp eax, dword [ecx + 0x3de0]
jl 0x1006db52
movss xmm1, dword [ecx + 0x3bd0]
mulss xmm1, dword [0x100bd518]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x1006db52
comiss xmm4, xmm2
mulss xmm3, dword [ecx + 0x18]
jbe 0x1006db43
addss xmm2, xmm3
minss xmm2, xmm4
jmp 0x1006db55
comiss xmm2, xmm4
jbe 0x1006db55
subss xmm2, xmm3
maxss xmm2, xmm4
jmp 0x1006db55
movaps xmm2, xmm4
movss dword [edi + 0x48], xmm2
jmp 0x1006db60
and dword [edi + 0x54], 0
movss xmm0, dword [esp + 0x78]
subss xmm5, dword [esp + 0x90]
mov eax, dword [edi + 0x28]
addss xmm0, xmm6
subss xmm5, dword [esp + 0x88]
addss xmm0, dword [esp + 0x7c]
movss dword [edi + 0x5c], xmm5
movss dword [edi + 0x58], xmm0
mov esi, dword [ecx + 0x3e40]
mov ecx, dword [edi + 0x2c]
push ecx
mov dword [esi + 0xf0], eax
lea eax, [esp + 0x3c]
mov dword [esi + 0xf4], ecx
movss xmm0, dword [edi + 0x40]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x78]
movss dword [esp], xmm0
push eax
call fcn.10013097
movss xmm0, dword [edi + 0x44]
addss xmm0, dword [edi + 0x28]
pop ecx
pop ecx
mov ecx, dword [esp + 0xa4]
pop edi
maxss xmm0, dword [esi + 0x110]
movss dword [esi + 0x110], xmm0
pop esi
xor ecx, esp
call fcn.1009543c
mov esp, ebp
pop ebp
ret