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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x1008b040]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, dword [0x10116ebc]
push edi
mov edi, ecx
mov byte [esp + 0x17], dl
mov dword [esp + 0x3c], edi
mov eax, dword [esi + 0x3e28]
mov byte [eax + 0x90], 1
mov eax, dword [esi + 0x3e28]
mov dword [esp + 0x2c], eax
cmp byte [eax + 0x93], 0
jne 0x1007087e
mov ecx, dword [eax + 0xc8]
xor edx, edx
mov eax, dword [eax + 0xd0]
mov dword [esp + 0x30], esi
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1002af80
mov edi, eax
add esp, 4
mov eax, esi
mov dword [esp + 0x20], edi
cmp dword [eax + 0x3e48], edi
jne 0x10070064
push ecx
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, edi
call fcn.100418d0
mov esi, dword [0x10116ebc]
add esp, 8
mov eax, dword [esp + 0x3c]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10070086
nop
mov dl, byte [ecx]
test dl, dl
je 0x10070086
cmp dl, 0x23
jne 0x10070080
cmp byte [ecx + 1], dl
je 0x10070086
inc ecx
cmp ecx, 0xffffffff
jb 0x10070070
movss xmm2, dword [esi + 0x3bb4]
cmp eax, ecx
jne 0x10070097
xorps xmm7, xmm7
jmp 0x100700d9
movss xmm3, dword [0x1008580c]
push ecx
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x3bb0]
lea eax, [esp + 0x44]
mov dword [esp], 0xbf800000
push eax
call fcn.10052940
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x10085700]
movss xmm2, dword [esp + 0x38]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm3, dword [esi + 0x37d8]
xorps xmm0, xmm0
comiss xmm7, xmm0
mov eax, dword [esp + 0x2c]
addss xmm3, xmm3
movss dword [esp + 0x5c], xmm7
movss xmm1, dword [eax + 0xd4]
movss xmm6, dword [eax + 0xd8]
movaps xmm4, xmm1
mov eax, dword [esp + 0x30]
movss dword [esp + 0x24], xmm1
addss xmm3, dword [esi + 0x3bb4]
movss dword [esp + 0x58], xmm6
movss xmm5, dword [eax + 0x37d8]
addss xmm4, xmm3
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x54], xmm4
movaps xmm4, xmm6
addss xmm4, xmm3
movss dword [esp + 0xc], xmm4
movaps xmm4, xmm5
addss xmm4, xmm5
addss xmm4, xmm2
jbe 0x1007015d
movaps xmm0, xmm7
addss xmm0, dword [eax + 0x37ec]
addss xmm0, xmm3
movss dword [esp + 0x6c], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x70], xmm6
lea ecx, [esp + 0x34]
addss xmm2, xmm0
movaps xmm0, xmm6
addss xmm0, xmm4
movss dword [esp + 0x74], xmm2
subss xmm2, xmm1
movss dword [esp + 0x78], xmm0
movaps xmm1, xmm5
subss xmm0, xmm6
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm0
call fcn.10039850
push 0
push 0
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.10039a00
add esp, 8
test al, al
je 0x1007087e
movss xmm0, dword [esp + 0x58]
lea eax, [esp + 0x62]
addss xmm0, dword [esp + 0xc]
movss xmm1, dword [0x100856cc]
lea ecx, [esp + 0x6c]
movss xmm2, dword [esp + 0x24]
addss xmm2, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mulss xmm0, xmm1
push 0
push eax
mulss xmm2, xmm1
lea eax, [esp + 0x6b]
push eax
addss xmm0, xmm1
addss xmm2, xmm1
cvttss2si edi, xmm0
cvttss2si esi, xmm2
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movd xmm2, esi
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x10085708]
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm1
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x30], xmm0
call fcn.1006dfe0
add esp, 0xc
mov byte [esp + 0x2b], al
test al, al
je 0x10070265
mov ecx, dword [0x10116ebc]
or dword [ecx + 0x4690], 4
mov word [ecx + 0x3e70], 0x101
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x6c]
push 1
call fcn.1002c910
mov edx, dword [esp + 0x30]
add esp, 4
cmp byte [esp + 0x62], 0
mov cl, byte [esp + 0x63]
mov edx, dword [edx + 0x248]
mov dword [esp + 0x20], edx
je 0x1007029b
test cl, cl
je 0x1007029b
mov eax, 9
jmp 0x100702a5
xor eax, eax
test cl, cl
setne al
add eax, 7
mov ecx, dword [0x10116ebc]
add eax, eax
movss xmm0, dword [0x10085708]
xorps xmm1, xmm1
movups xmm2, xmmword [ecx + eax*8 + 0x3860]
comiss xmm1, xmm2
movaps xmm5, xmm2
movaps xmmword [esp + 0x40], xmm2
shufps xmm5, xmm2, 0xff
mulss xmm5, dword [ecx + 0x3798]
jbe 0x100702de
xorps xmm4, xmm4
jmp 0x100702e5
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm3, dword [0x100857e4]
movss xmm2, dword [0x100856cc]
movss xmm6, dword [esp + 0x44]
comiss xmm1, xmm6
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x10070311
xorps xmm4, xmm4
jmp 0x10070318
movaps xmm4, xmm0
minss xmm4, xmm6
movss xmm6, dword [esp + 0x48]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x10070339
xorps xmm4, xmm4
jmp 0x10070340
movaps xmm4, xmm0
minss xmm4, xmm6
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1007035b
xorps xmm0, xmm0
jmp 0x1007035f
minss xmm0, xmm5
movss xmm6, dword [esp + 0x24]
mulss xmm0, xmm3
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [esp + 0xc], eax
test eax, 0xff000000
je 0x100703d8
comiss xmm2, xmm6
ja 0x100703d8
push 0xf
push ecx
lea eax, [esp + 0x3c]
mov dword [esp], 0x40bc7edd
push eax
xorps xmm3, xmm3
movaps xmm2, xmm6
mov ecx, edx
call fcn.1004bf60
mov eax, dword [esp + 0x20]
mov ecx, eax
push dword [esp + 0xc]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1004b730
mov edx, dword [esp + 0x20]
movss xmm2, dword [0x100856cc]
movss xmm3, dword [0x100857e4]
movss xmm6, dword [esp + 0x24]
mov dword [edx + 0x54], 0
cmp byte [esp + 0x17], 0
movss xmm1, dword [0x10085708]
je 0x1007052e
movss xmm0, dword [esp + 0x18]
movaps xmm4, xmm1
divss xmm0, dword [0x1008575c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
mov edx, dword [eax + 0x248]
mov eax, dword [0x10116ebc]
mov dword [esp + 0x18], edx
maxss xmm4, xmm0
xorps xmm0, xmm0
movups xmm5, xmmword [eax + 0x3980]
comiss xmm0, xmm5
movaps xmm7, xmm5
movss dword [esp + 0xc], xmm4
shufps xmm7, xmm5, 0xff
mulss xmm7, dword [eax + 0x3798]
movaps xmmword [esp + 0x40], xmm5
jbe 0x1007044c
xorps xmm4, xmm4
jmp 0x10070453
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm5, dword [esp + 0x44]
comiss xmm0, xmm5
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x1007046f
xorps xmm4, xmm4
jmp 0x10070476
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm5, dword [esp + 0x48]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x10070497
xorps xmm4, xmm4
jmp 0x1007049e
movaps xmm4, xmm1
minss xmm4, xmm5
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm7
jbe 0x100704b9
xorps xmm4, xmm4
jmp 0x100704c0
movaps xmm4, xmm1
minss xmm4, xmm7
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
movaps xmm4, xmm6
subss xmm4, dword [esp + 0xc]
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x20], eax
test eax, 0xff000000
je 0x10070531
comiss xmm2, xmm4
ja 0x10070531
push 0xf
push ecx
lea eax, [esp + 0x3c]
mov dword [esp], 0x40bc7edd
push eax
xorps xmm3, xmm3
movaps xmm2, xmm4
mov ecx, edx
call fcn.1004bf60
mov eax, dword [esp + 0x18]
mov ecx, eax
push dword [esp + 0x20]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1004b730
mov edx, dword [esp + 0x18]
movss xmm1, dword [0x10085708]
mov dword [edx + 0x54], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x30]
movss xmm2, dword [eax + 0x37e0]
comiss xmm2, xmm0
movss dword [esp + 0x18], xmm2
jbe 0x100707d6
mov edx, dword [0x10116ebc]
mov eax, dword [esp + 0x2c]
movups xmm3, xmmword [edx + 0x38c0]
mov eax, dword [eax + 0x248]
mov dword [esp + 0xc], eax
comiss xmm0, xmm3
movaps xmm5, xmm3
movaps xmmword [esp + 0x40], xmm3
shufps xmm5, xmm3, 0xff
mulss xmm5, dword [edx + 0x3798]
jbe 0x10070585
xorps xmm2, xmm2
jmp 0x1007058c
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x100857e4]
movss xmm3, dword [0x100856cc]
movss xmm6, dword [esp + 0x44]
comiss xmm0, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x100705b8
xorps xmm2, xmm2
jmp 0x100705bf
movaps xmm2, xmm1
minss xmm2, xmm6
movss xmm6, dword [esp + 0x48]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x100705e0
xorps xmm2, xmm2
jmp 0x100705e7
movaps xmm2, xmm1
minss xmm2, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x10070602
xorps xmm2, xmm2
jmp 0x10070609
movaps xmm2, xmm1
minss xmm2, xmm5
movss xmm7, dword [esp + 0x24]
mulss xmm2, xmm4
movd xmm5, edi
cvtdq2ps xmm5, xmm5
addss xmm2, xmm3
addss xmm5, xmm1
cvttss2si eax, xmm2
movd xmm2, esi
cvtdq2ps xmm2, xmm2
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x20], eax
movss dword [esp + 0x44], xmm5
addss xmm2, xmm1
movss dword [esp + 0x40], xmm2
test eax, 0xff000000
je 0x100706c3
comiss xmm3, xmm7
ja 0x100706c3
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x40]
push 0xf
movaps xmm2, xmm7
push ecx
subss xmm2, xmm3
mov dword [esp], 0x40bc7edd
push eax
xorps xmm3, xmm3
mov ecx, esi
call fcn.1004bf60
movss xmm0, dword [esp + 0x18]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 1
push dword [esp + 0x28]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1004aa10
movss xmm1, dword [0x10085708]
xorps xmm0, xmm0
movss xmm3, dword [0x100856cc]
movss xmm4, dword [0x100857e4]
movss xmm7, dword [esp + 0x24]
mov edx, dword [0x10116ebc]
mov dword [esi + 0x54], 0
mov eax, dword [esp + 0x2c]
movups xmm6, xmmword [edx + 0x38b0]
comiss xmm0, xmm6
mov edi, dword [eax + 0x248]
mov eax, dword [esp + 0x30]
movaps xmm5, xmm6
movaps xmmword [esp + 0x40], xmm6
movss xmm2, dword [eax + 0x37e0]
shufps xmm5, xmm6, 0xff
mulss xmm5, dword [edx + 0x3798]
movss dword [esp + 0xc], xmm2
jbe 0x10070704
xorps xmm2, xmm2
jmp 0x1007070b
movaps xmm2, xmm1
minss xmm2, xmm6
movss xmm6, dword [esp + 0x44]
comiss xmm0, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x10070727
xorps xmm2, xmm2
jmp 0x1007072e
movaps xmm2, xmm1
minss xmm2, xmm6
movss xmm6, dword [esp + 0x48]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x1007074f
xorps xmm2, xmm2
jmp 0x10070756
movaps xmm2, xmm1
minss xmm2, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x10070771
xorps xmm1, xmm1
jmp 0x10070775
minss xmm1, xmm5
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si esi, xmm1
shl esi, 0x18
or esi, ecx
test esi, 0xff000000
je 0x100707d6
comiss xmm3, xmm7
ja 0x100707d6
subss xmm7, xmm3
xorps xmm3, xmm3
push 0xf
push ecx
lea eax, [esp + 0x3c]
mov dword [esp], 0x40bc7edd
push eax
movaps xmm2, xmm7
mov ecx, edi
call fcn.1004bf60
movss xmm0, dword [esp + 0xc]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 1
push esi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1004aa10
mov dword [edi + 0x54], 0
mov esi, dword [esp + 0x30]
movss xmm0, dword [esp + 0x54]
mov dword [esp + 0xc], 0x2978287c
mov byte [esp + 0x10], 0
cmp byte [esi + 0x5a1c], 0
addss xmm0, dword [esi + 0x37ec]
mov dword [esp + 0x18], 0x29202842
mov byte [esp + 0x1c], 0
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [esi + 0x37d8]
movss dword [esp + 0x68], xmm0
je 0x10070843
cmp byte [esp + 0x17], 0
lea eax, [esp + 0x19]
lea edx, [esp + 0xd]
push 0
cmove edx, eax
lea ecx, [esp + 0x68]
call fcn.100403a0
add esp, 4
movss xmm1, dword [esp + 0x5c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10070869
push dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
xor edx, edx
push dword [esp + 0x68]
push 1
call fcn.1002ba10
add esp, 0xc
mov al, byte [esp + 0x2b]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret