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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x468
mov eax, dword [ebp + 8]
mov ecx, 0xec
push esi
mov esi, dword [0x1010e648]
push edi
add esi, 0x1518
mov dword [esp + 0x24], 0
lea edi, [esp + 0xc0]
mov dword [esp + 0x20], 0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x1010e648]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
movups xmm0, xmmword [esp + 0x20]
mov dword [edi + 0x1560], 0
mov dword [edi + 0x1564], 0x3f800000
movups xmmword [edi + 0x1618], xmm0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
mov esi, dword [edi + 0x19b4]
add edx, ecx
mov dword [esp + 0x24], 0x42000000
sar edx, 4
mov eax, edx
mov ecx, dword [0x1010e690]
movss xmm1, dword [esi + 0x14]
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x17], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f61b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movups xmm0, xmmword [edi + 0x15f8]
movss dword [esp + 0x20], xmm1
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [edi + 0x1648]
movups xmmword [esp + 0x40], xmm0
call fcn.10012580
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x92492493
sub ecx, edx
mov dword [esp + 0x1c], edx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10087627
movss xmm0, dword [esp + 0x4c]
xor edi, edi
movss xmm4, dword [esp + 0x3c]
xorps xmm2, xmm2
movss xmm5, dword [esp + 0x38]
movss xmm6, dword [esp + 0x34]
movss xmm7, dword [esp + 0x30]
mov esi, dword [0x1010e648]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x7c], xmm4
movss dword [esp + 0x80], xmm5
movss dword [esp + 0x8c], xmm6
movss dword [esp + 0x90], xmm7
movss dword [esp + 0x50], xmm0
nop word [eax + eax]
mov eax, dword [esp + 0x1c]
movss xmm3, dword [0x100f5ab0]
movss xmm0, dword [eax + edi + 0x18]
comiss xmm2, xmm0
jbe 0x1008720c
xorps xmm1, xmm1
jmp 0x10087213
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm0, dword [esi + 0x1638]
subss xmm0, xmm7
mov ecx, dword [ebp + 8]
mulss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x163c]
subss xmm0, xmm6
mulss xmm0, xmm1
addss xmm0, xmm6
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x1640]
subss xmm0, xmm5
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esi + 0x1644]
subss xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x4c], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [esi + 0x1738], xmm0
mov eax, dword [ecx]
movss xmm0, dword [eax + edi + 0x18]
comiss xmm2, xmm0
jbe 0x1008729c
xorps xmm1, xmm1
jmp 0x100872a3
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm0, dword [esi + 0x1638]
subss xmm0, xmm7
mulss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x163c]
subss xmm0, xmm6
mulss xmm0, xmm1
addss xmm0, xmm6
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x1640]
subss xmm0, xmm5
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esi + 0x1644]
subss xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esi + 0x1728], xmm0
mov eax, dword [ecx]
movss xmm0, dword [eax + edi + 0x18]
comiss xmm2, xmm0
jbe 0x10087329
xorps xmm1, xmm1
jmp 0x10087330
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm0, dword [esi + 0x1638]
subss xmm0, xmm7
mulss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esi + 0x163c]
subss xmm0, xmm6
mulss xmm0, xmm1
addss xmm0, xmm6
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esi + 0x1640]
subss xmm0, xmm5
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esi + 0x1644]
subss xmm0, xmm4
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0xac], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [esi + 0x1718], xmm0
mov eax, dword [ecx]
movss xmm0, dword [eax + edi + 0x18]
comiss xmm2, xmm0
jbe 0x100873c5
xorps xmm1, xmm1
jmp 0x100873cc
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm0, dword [esi + 0x1658]
subss xmm0, dword [esp + 0x50]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esi + 0x165c]
subss xmm0, dword [esp + 0x6c]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esi + 0x1660]
subss xmm0, dword [esp + 0x70]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esi + 0x1664]
subss xmm0, dword [esp + 0x78]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x78]
movss dword [esp + 0xbc], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esi + 0x15c8], xmm0
cmp dword [edx], eax
jne 0x100874a4
movups xmm0, xmmword [esi + 0x1638]
movups xmmword [esi + 0x1718], xmm0
movups xmm0, xmmword [esi + 0x1638]
movups xmmword [esi + 0x1728], xmm0
movups xmm0, xmmword [esi + 0x1638]
movups xmmword [esi + 0x1738], xmm0
movups xmm0, xmmword [esi + 0x1658]
movups xmmword [esi + 0x15c8], xmm0
jmp 0x100874a7
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx]
add ecx, edi
cmp dword [ecx + 0x14], 0xf
jbe 0x100874b3
mov ecx, dword [ecx]
push ecx
lea edx, [esp + 0x24]
call fcn.1002bb40
mov edx, dword [esp + 0x1c]
add esp, 4
test al, al
je 0x100874d4
mov eax, dword [ebp + 0xc]
cmp dword [eax], edx
mov dword [eax], edx
setne byte [esp + 0x17]
mov esi, dword [0x1010e648]
cmp byte [esi + 0x1b2f], 0
mov ecx, dword [esi + 0x19b4]
je 0x10087652
cmp byte [esi + 0x1b2e], 0
jne 0x10087652
mov eax, dword [esi + 0x1ad0]
test eax, eax
je 0x10087510
cmp eax, dword [ecx + 0x108]
jne 0x10087510
mov al, 1
jmp 0x10087512
xor al, al
test al, al
jne 0x100876e6
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100f5cdc]
mov eax, dword [eax]
movss xmm1, dword [eax + edi + 0x18]
subss xmm1, xmm0
maxss xmm1, xmm2
movss dword [eax + edi + 0x18], xmm1
mov eax, dword [ebp + 0x10]
cmp dword [eax], edx
jne 0x10087550
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [esp + 0x18], eax
jae 0x100875d4
mov eax, dword [esi + 0x19b4]
mov byte [eax + 0x7c], 1
mov edx, dword [esi + 0x19b4]
cmp byte [edx + 0x7f], 0
jne 0x100875d4
movss xmm1, dword [esi + 0x1560]
addss xmm1, dword [edx + 0xd0]
movss xmm0, dword [edx + 0xd4]
movss dword [edx + 0xc8], xmm1
movss dword [edx + 0xcc], xmm0
mov eax, dword [edx + 0xf0]
mov ecx, dword [edx + 0xf4]
mov dword [edx + 0xe8], eax
mov eax, dword [edx + 0xfc]
mov dword [edx + 0xec], ecx
mov dword [edx + 0xf8], eax
mov eax, dword [ebp + 8]
add edi, 0x1c
inc dword [esp + 0x18]
movss xmm4, dword [esp + 0x7c]
movss xmm5, dword [esp + 0x80]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x92492493
movss xmm6, dword [esp + 0x8c]
sub ecx, edx
movss xmm7, dword [esp + 0x90]
mov dword [esp + 0x1c], edx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x100871f0
call fcn.10012660
mov edi, dword [0x1010e648]
lea esi, [esp + 0xc0]
mov al, byte [esp + 0x17]
add edi, 0x1518
mov ecx, 0xec
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
test byte [ecx + 0x10c], 1
je 0x1008751a
mov eax, dword [ecx + 0x2fc]
cmp dword [esi + 0x19bc], eax
jne 0x1008751a
mov eax, dword [esi + 0x19e8]
test eax, eax
je 0x10087695
cmp eax, dword [ecx + 0x108]
je 0x10087695
cmp byte [esi + 0x19f5], 0
jne 0x10087695
cmp eax, dword [ecx + 0x48]
jne 0x1008751a
mov eax, dword [esi + 0x1acc]
test eax, eax
je 0x100876c4
mov eax, dword [eax + 0x2fc]
test eax, eax
je 0x100876c4
cmp byte [eax + 0x7b], 0
je 0x100876c4
cmp eax, dword [ecx + 0x2fc]
je 0x100876c4
test dword [eax + 8], 0xc000000
jne 0x1008751a
test byte [ecx + 0x16c], 4
jne 0x1008751a
mov eax, dword [ecx + 0x108]
cmp eax, dword [ecx + 0x48]
jne 0x100876e6
cmp byte [ecx + 0x7c], 0
jne 0x1008751a
mov eax, dword [ebp + 0x10]
xorps xmm2, xmm2
mov dword [eax], edx
mov eax, dword [ebp + 8]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x100f5cdc]
mov eax, dword [eax]
addss xmm0, dword [eax + edi + 0x18]
minss xmm0, dword [0x100f5ab0]
movss dword [eax + edi + 0x18], xmm0
jmp 0x10087550