Function at 0x1007cf90
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 byte [esp + 0x17], dl
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x3e28]
mov byte [eax + 0x90], 1
mov edi, dword [esi + 0x3e28]
mov dword [esp + 0x20], edi
cmp byte [edi + 0x93], 0
jne 0x1007d4b7
mov ecx, dword [edi + 0xc8]
xor edx, edx
mov eax, dword [edi + 0xd0]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x1c]
call fcn.1002af80
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x3e48], eax
jne 0x1007d016
push ecx
push dword [esp + 0x1c]
mov edx, 0xb
mov ecx, eax
call fcn.100418d0
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1007d037
mov dl, byte [ecx]
test dl, dl
je 0x1007d037
cmp dl, 0x23
jne 0x1007d031
cmp byte [ecx + 1], dl
je 0x1007d037
inc ecx
cmp ecx, 0xffffffff
jb 0x1007d021
mov edx, dword [0x10116ebc]
xorps xmm7, xmm7
movss xmm0, dword [edx + 0x3bb4]
cmp eax, ecx
jne 0x1007d051
xorps xmm1, xmm1
jmp 0x1007d099
movss xmm3, dword [0x1008580c]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
mov ecx, dword [edx + 0x3bb0]
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
push eax
call fcn.10052940
movss xmm0, dword [esp + 0x38]
xorps xmm7, xmm7
addss xmm0, dword [0x10085700]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x3c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp + 0xc]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x2c], xmm1
movss xmm2, dword [ecx + 4]
ucomiss xmm2, xmm7
movss dword [esp + 0x28], xmm2
lahf
test ah, 0x44
jp 0x1007d0c5
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [ecx]
ucomiss xmm0, xmm7
movss dword [esp + 0x24], xmm0
lahf
test ah, 0x44
jp 0x1007d0e1
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x50], xmm0
lea ecx, [esp + 0x50]
movss xmm0, dword [edi + 0xd4]
xorps xmm1, xmm1
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [edi + 0xd8]
addss xmm0, dword [edi + 0x10c]
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x38], xmm0
call fcn.10039850
mov eax, dword [ebp + 0xc]
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [eax]
ucomiss xmm0, xmm7
movss xmm7, dword [esp + 0x6c]
lahf
test ah, 0x44
jp 0x1007d14b
movss xmm0, dword [esp + 0x2c]
subss xmm1, xmm7
maxss xmm0, xmm1
jmp 0x1007d151
movss xmm0, dword [esp + 0x24]
movss xmm2, dword [esi + 0x37e4]
lea ecx, [esp + 0x40]
movss xmm3, dword [esi + 0x37e8]
movaps xmm5, xmm7
addss xmm5, xmm0
movss xmm4, dword [esp + 0x38]
movaps xmm0, xmm2
movss xmm6, dword [esp + 0x38]
mulss xmm0, dword [0x100856cc]
mov edx, dword [esp + 0x1c]
movss dword [esp + 0x78], xmm4
addss xmm4, dword [esp + 0x28]
cvttss2si eax, xmm0
push 0
push 0
movaps xmm0, xmm3
movss dword [esp + 0x7c], xmm7
mulss xmm0, dword [0x100856cc]
movss dword [esp + 0x74], xmm5
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm1
movss dword [esp + 0x78], xmm4
subss xmm3, xmm0
subss xmm7, xmm1
subss xmm6, xmm0
addss xmm2, xmm5
addss xmm3, xmm4
movss dword [esp + 0x48], xmm7
movss dword [esp + 0x4c], xmm6
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x54], xmm3
call fcn.10039a00
add esp, 8
test al, al
je 0x1007d4b7
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x37]
push 0
push eax
lea eax, [esp + 0x3e]
push eax
lea ecx, [esp + 0x4c]
call fcn.1006dfe0
mov edx, dword [0x10116ebc]
add esp, 0xc
mov byte [esp + 0x16], al
test al, al
je 0x1007d30b
cmp byte [esi + 0x47d3], 0
jne 0x1007d2fb
cmp dword [esi + 0x4794], edi
jne 0x1007d2fb
mov ecx, dword [edi + 0x12c]
cmp dword [esi + 0x47cc], ecx
jne 0x1007d2fb
movss xmm1, dword [edi + 0xe4]
movss xmm0, dword [esp + 0x40]
movss xmm2, dword [edi + 0xe8]
subss xmm0, xmm1
mov eax, dword [esi + 0x4668]
mov edi, dword [esp + 0x1c]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm2
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x4c]
mov dword [edx + 0x479c], eax
subss xmm0, xmm2
mov eax, dword [edx + 0x4794]
mov dword [edx + 0x4798], edi
mov dword [edx + 0x47cc], ecx
mov dword [eax + ecx*4 + 0x2f8], edi
lea eax, [ecx + 0x30]
mov edi, dword [esp + 0x20]
shl eax, 4
add eax, dword [edx + 0x4794]
movss dword [esp + 0x5c], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
mov byte [esi + 0x47d2], 1
or dword [edx + 0x4690], 4
mov word [edx + 0x3e70], 0x101
mov cl, byte [esp + 0x36]
test cl, cl
jne 0x1007d31d
cmp byte [esp + 0x17], cl
je 0x1007d448
cmp byte [esp + 0x37], 0
je 0x1007d32f
test cl, cl
je 0x1007d32f
mov eax, 0x1a
jmp 0x1007d339
xor eax, eax
test cl, cl
setne al
add eax, 0x18
movss xmm4, dword [0x10085708]
add eax, eax
xorps xmm0, xmm0
movups xmm3, xmmword [edx + eax*8 + 0x3860]
comiss xmm0, xmm3
movaps xmm2, xmm3
movaps xmmword [esp + 0x50], xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [edx + 0x3798]
jbe 0x1007d36c
xorps xmm1, xmm1
jmp 0x1007d373
movaps xmm1, xmm4
minss xmm1, xmm3
movss xmm3, dword [0x100857e4]
movss xmm5, dword [0x100856cc]
movss xmm6, dword [esp + 0x54]
comiss xmm0, xmm6
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
jbe 0x1007d39f
xorps xmm1, xmm1
jmp 0x1007d3a6
movaps xmm1, xmm4
minss xmm1, xmm6
movss xmm6, dword [esp + 0x58]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x1007d3c7
xorps xmm1, xmm1
jmp 0x1007d3ce
movaps xmm1, xmm4
minss xmm1, xmm6
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
mov dword [esp + 0x20], ecx
ja 0x1007d3ef
movaps xmm0, xmm4
minss xmm0, xmm2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mulss xmm0, xmm3
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
addss xmm0, xmm5
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 0x3e28]
cvttss2si eax, xmm0
push ecx
mov dword [esp], 0
mov ecx, dword [ecx + 0x248]
shl eax, 0x18
or eax, dword [esp + 0x28]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1004c980
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push 0xa
call fcn.1002c910
add esp, 4
lea eax, [esp + 0x40]
lea edx, [esp + 0x6c]
push eax
lea eax, [esi + 0x3838]
push eax
lea eax, [esp + 0x34]
push eax
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x88]
call fcn.1002c190
mov al, byte [esp + 0x2a]
add esp, 0x14
test al, al
je 0x1007d4b9
test dword [edi + 8], 0x4000000
je 0x1007d4b9
test byte [esi + 0x468c], 0x20
jne 0x1007d4b9
call fcn.1003ade0
mov al, byte [esp + 0x16]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret