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

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
push edi
push 0
push ecx
push esi
call dword [eax + 0x378]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
je 0x10001881
mov eax, dword [esp + 0x44]
mov edx, dword [esi]
push ebp
push 0
push eax
push esi
call dword [edx + 0x378]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x10001880
mov edx, dword [esp + 0x6c]
mov ecx, dword [esi]
push ebx
push 0
push edx
push esi
call dword [ecx + 0x378]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x1000187f
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
movss xmm7, dword [esp + 0x54]
movss xmm5, dword [esp + 0x7c]
movss xmm4, dword [esp + 0x58]
movss xmm2, dword [esp + 0x5c]
movss xmm3, dword [esp + 0x80]
subss xmm3, dword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
subss xmm4, dword [esp + 0x50]
subss xmm5, dword [esp + 0x74]
movss xmm6, dword [0x1000c044]
cvtsi2ss xmm1, eax
cvtsi2ss xmm0, edx
divss xmm4, xmm0
divss xmm5, xmm0
divss xmm3, xmm1
subss xmm2, xmm7
divss xmm2, xmm1
movaps xmm0, xmm2
movaps xmm1, xmm3
add eax, ecx
cmp ecx, eax
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm1, dword [esp + 0x78]
addss xmm0, xmm7
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x78], xmm1
jge 0x1000184c
mov ebp, dword [esp + 0x38]
xorps xmm7, xmm7
add edx, ebp
mulss xmm4, xmm6
addss xmm4, dword [esp + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x48]
lea ebx, [edx*4]
mov dword [esp + 0x3c], ebx
mov ebx, ecx
imul ebx, edx
add ebx, ebp
movaps xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, dword [esp + 0x74]
movss xmm6, dword [0x1000c040]
lea edx, [edi + ebx*4]
mov ebx, dword [esp + 0x84]
sub eax, ecx
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x58], xmm1
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
cmp ebp, eax
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x40], xmm1
jge 0x10001807
mov edi, edx
mov edx, eax
sub edx, ebp
comiss xmm4, xmm7
jb 0x10001633
comiss xmm0, xmm7
jb 0x10001633
mov ebp, dword [esp + 0x60]
cvtsi2ss xmm2, ebp
mulss xmm2, xmm4
cvttss2si ecx, xmm2
cmp ecx, ebp
cvtsi2ss xmm2, dword [esp + 0x64]
mulss xmm2, xmm0
cvttss2si eax, xmm2
jge 0x10001633
cmp eax, dword [esp + 0x64]
jge 0x10001633
imul eax, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x10001635
xor eax, eax
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
cvtsi2ss xmm3, ecx
mov ecx, eax
sar ecx, 8
and ecx, 0xff
cvtsi2ss xmm5, ecx
mov ecx, eax
sar eax, 0x18
and ecx, 0xff
and eax, 0xff
comiss xmm1, xmm7
mulss xmm5, xmm6
cvtsi2ss xmm2, ecx
cvtsi2ss xmm4, eax
mulss xmm3, xmm6
movss dword [esp + 0x54], xmm5
mulss xmm2, xmm6
mulss xmm4, xmm6
jb 0x100016cb
movss xmm0, dword [esp + 0x78]
comiss xmm0, xmm7
jb 0x100016cb
mov ebp, dword [esp + 0x88]
cvtsi2ss xmm7, ebx
mulss xmm7, xmm1
cvttss2si ecx, xmm7
cmp ecx, ebx
cvtsi2ss xmm1, ebp
mulss xmm1, xmm0
cvttss2si eax, xmm1
jge 0x100016cb
cmp eax, ebp
jge 0x100016cb
imul eax, dword [esp + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x100016cd
xor eax, eax
xorps xmm7, xmm7
mov ecx, eax
sar ecx, 0x18
and eax, 0xff
and ecx, 0xff
comiss xmm7, xmm3
cvtsi2ss xmm0, eax
mulss xmm0, xmm6
mulss xmm0, dword [esp + 0x6c]
subss xmm0, xmm2
cvtsi2ss xmm1, ecx
mulss xmm1, xmm6
mulss xmm1, dword [esp + 0x6c]
mulss xmm0, xmm1
addss xmm0, xmm2
movaps xmm2, xmm1
mulss xmm1, xmm4
addss xmm2, xmm4
subss xmm2, xmm1
movss xmm1, dword [0x1000c03c]
jbe 0x10001729
movaps xmm3, xmm7
jmp 0x10001731
comiss xmm3, xmm1
jbe 0x10001731
movaps xmm3, xmm1
movss xmm4, dword [esp + 0x54]
comiss xmm7, xmm4
jbe 0x10001741
movaps xmm5, xmm7
jmp 0x10001749
comiss xmm4, xmm1
jbe 0x10001749
movaps xmm5, xmm1
comiss xmm7, xmm0
jbe 0x10001753
movaps xmm0, xmm7
jmp 0x1000175b
comiss xmm0, xmm1
jbe 0x1000175b
movaps xmm0, xmm1
comiss xmm7, xmm2
jbe 0x10001765
movaps xmm2, xmm7
jmp 0x1000176d
comiss xmm2, xmm1
jbe 0x1000176d
movaps xmm2, xmm1
movss xmm1, dword [0x1000c038]
movss xmm4, dword [esp + 0x74]
addss xmm4, dword [esp + 0x18]
movss xmm6, dword [0x1000c040]
mulss xmm2, xmm1
addss xmm2, dword [0x1000c044]
mulss xmm3, xmm1
cvttss2si eax, xmm2
shl eax, 8
cvttss2si ecx, xmm3
or eax, ecx
shl eax, 8
mulss xmm5, xmm1
cvttss2si ecx, xmm5
or eax, ecx
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x40]
addss xmm1, dword [esp + 0x7c]
shl eax, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esp + 0x2c]
or eax, ecx
mov dword [edi], eax
add edi, 4
dec edx
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x40], xmm1
jne 0x100015f1
movss xmm2, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x80]
movss xmm3, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x78]
movss xmm1, dword [esp + 0x58]
add edx, ecx
dec eax
addss xmm0, xmm2
addss xmm5, xmm3
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x78], xmm5
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], eax
jne 0x100015d3
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push 2
push edi
push eax
push esi
call dword [edx + 0x37c]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi]
push 2
push ebp
push edx
push esi
call dword [ecx + 0x37c]
mov ecx, dword [esp + 0x70]
mov eax, dword [esi]
push 2
push ebx
push ecx
push esi
call dword [eax + 0x37c]
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret 0x64