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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x450
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push 0xc0
mov dword [esp + 0x50], eax
lea eax, [esp + 0xf4]
push 0
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], esi
mov byte [esp + 0x2a5], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1d0]
xorps xmm0, xmm0
movups xmmword [esp + 0x1b0], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x1cc], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [esp + 0x297], 0x100
xor eax, eax
mov word [esp + 0x294], ax
mov byte [esp + 0x296], al
push 0xc0
push eax
mov dword [esp + 0x298], eax
mov byte [esp + 0x451], al
lea eax, [esp + 0x2a8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x380]
xorps xmm0, xmm0
movups xmmword [esp + 0x360], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x37c], xmm0
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov word [esp + 0x453], 0x100
mov word [esp + 0x450], ax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x452], al
add esp, 0xc
mov dword [esp + 0x440], eax
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [eax]
add eax, 0x30
mov dword [esp + 0x48], eax
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0xc]
movups xmmword [esp + 0x74], xmm0
movups xmm0, xmmword [esi]
push dword [eax]
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [esi + 0x20]
xor esi, esi
mov dword [esp + 0x40], esi
movups xmmword [esp + 0xc8], xmm0
movsd xmm0, qword [0x10300438]
movsd qword [esp + 0x88], xmm0
call fcn.102795c0
test eax, eax
je 0x10298d4c
lea eax, [esp + 0xb0]
push eax
push dword [edi]
lea ecx, [esp + 0x2a8]
call fcn.101d2850
test eax, eax
je 0x10298d4c
nop dword [eax + eax]
movzx eax, byte [esp + 0x446]
xor edi, edi
movsd xmm7, qword [0x10300438]
mov dword [esp + 0x10], esi
movaps xmm5, xmm7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x10298870
mov eax, dword [esp + 0x28]
lea esi, [esp + 0xf0]
movsd xmm3, qword [eax + 0xb8]
movsd xmm6, qword [eax + 0xb0]
movsd qword [esp + 0x50], xmm3
nop word [eax + eax]
comisd xmm3, xmm6
movsd xmm1, qword [esp + edi*8 + 0x380]
movsd xmm2, qword [0x103000c8]
jb 0x1029838e
movaps xmm0, xmm6
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x102983af
subsd xmm1, xmm3
comisd xmm2, xmm1
jmp 0x102983a6
movaps xmm0, xmm1
subsd xmm0, xmm6
comisd xmm2, xmm0
jbe 0x102983af
movaps xmm0, xmm3
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x102983af
mov eax, 1
jmp 0x102983b1
xor eax, eax
test al, al
je 0x10298480
movzx eax, byte [esp + 0x296]
xor ecx, ecx
mov dword [esp + 0x40], eax
test eax, eax
je 0x10298480
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x2a0]
movsd xmm3, qword [eax + 0xa8]
movsd xmm4, qword [eax + 0xb0]
nop word [eax + eax]
comisd xmm4, xmm3
movsd xmm1, qword [esp + ecx*8 + 0x1d0]
jb 0x10298416
movaps xmm0, xmm3
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x10298437
subsd xmm1, xmm4
comisd xmm2, xmm1
jmp 0x1029842e
movaps xmm0, xmm1
subsd xmm0, xmm3
comisd xmm2, xmm0
jbe 0x10298437
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x10298437
mov eax, 1
jmp 0x10298439
xor eax, eax
test al, al
je 0x1029846c
movsd xmm1, qword [esi]
movsd xmm0, qword [esi + 8]
subsd xmm1, qword [edx]
subsd xmm0, qword [edx + 8]
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm1, xmm0
comisd xmm5, xmm1
jbe 0x1029846c
movaps xmm5, xmm1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
inc ecx
add edx, 0x10
cmp ecx, dword [esp + 0x40]
jl 0x102983f0
movsd xmm3, qword [esp + 0x50]
inc edi
add esi, 0x10
cmp edi, dword [esp + 0x18]
jl 0x10298360
ucomisd xmm5, xmm7
lahf
test ah, 0x44
jnp 0x10298870
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0xf0]
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x2a0]
mov eax, edx
shl eax, 4
movsd xmm7, qword [esp + ecx*8 + 0x380]
add esi, eax
subsd xmm3, xmm7
movsd qword [esp + 0x50], xmm7
subsd xmm6, xmm7
mov eax, ecx
shl eax, 4
add edi, eax
mulsd xmm6, xmm3
xorps xmm3, xmm3
comisd xmm3, xmm6
jb 0x1029852c
mov eax, dword [esp + 0x34]
movsd xmm2, qword [esp + edx*8 + 0x1d0]
movsd xmm1, qword [eax + 0xb0]
movsd xmm0, qword [eax + 0xa8]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm3, xmm1
jb 0x1029852c
push edi
mov ecx, esi
call fcn.101d0650
test al, al
jne 0x102987f1
movsd xmm7, qword [esp + 0x50]
xorps xmm3, xmm3
movsd xmm1, qword [esi]
movsd xmm0, qword [esi + 8]
subsd xmm1, qword [edi]
subsd xmm0, qword [edi + 8]
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm1, xmm0
comisd xmm1, xmmword [esp + 0x80]
ja 0x10298d4c
mov esi, dword [esp + 0x38]
inc esi
cmp dword [esp + 0x10], 5
mov dword [esp + 0x38], esi
jge 0x10298d4c
mov edi, dword [esp + 0x30]
ucomisd xmm3, xmm7
mov ecx, dword [edi]
movsd qword [esp + 0x80], xmm1
lahf
test ah, 0x44
jp 0x10298594
movsd xmm5, qword [ecx]
movsd xmm6, qword [ecx + 8]
jmp 0x1029864b
movsd xmm0, qword [0x103001f8]
ucomisd xmm0, xmm7
lahf
test ah, 0x44
jp 0x102985b5
movsd xmm5, qword [ecx + 0x30]
movsd xmm6, qword [ecx + 0x38]
jmp 0x1029864b
movaps xmm4, xmm0
movsd xmm5, qword [ecx + 0x10]
movsd xmm0, qword [ecx]
subsd xmm4, xmm7
movsd xmm6, qword [ecx + 0x18]
movaps xmm1, xmm7
mulsd xmm1, xmm7
movaps xmm3, xmm4
movaps xmm2, xmm4
mulsd xmm3, xmm4
mulsd xmm4, qword [0x10300230]
mulsd xmm2, xmm3
mulsd xmm3, qword [0x10300230]
mulsd xmm4, xmm1
mulsd xmm0, xmm2
mulsd xmm3, xmm7
mulsd xmm1, xmm7
mulsd xmm5, xmm3
mulsd xmm6, xmm3
addsd xmm5, xmm0
movsd xmm0, qword [ecx + 0x20]
mulsd xmm0, xmm4
addsd xmm5, xmm0
movaps xmm0, xmm1
mulsd xmm0, qword [ecx + 0x30]
addsd xmm5, xmm0
movsd xmm0, qword [ecx + 8]
mulsd xmm0, xmm2
addsd xmm6, xmm0
movsd xmm0, qword [ecx + 0x28]
mulsd xmm0, xmm4
addsd xmm6, xmm0
movsd xmm0, qword [ecx + 0x38]
mulsd xmm0, xmm1
addsd xmm6, xmm0
lea eax, [esp + 0xd0]
movsd qword [esp + 0x10], xmm5
push eax
movaps xmm2, xmm7
movsd qword [esp + 0x1c], xmm6
movsd qword [esp + 0x64], xmm5
movsd qword [esp + 0x6c], xmm6
call fcn.101d4870
lea ecx, [esp + 0xf0]
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
lea eax, [esp + 0x60]
addsd xmm1, qword [esp + 0x10]
addsd xmm0, qword [esp + 0x18]
push eax
mov eax, dword [esp + 0xc]
movsd qword [esp + 0x74], xmm1
movsd qword [esp + 0x7c], xmm0
push dword [eax]
call fcn.102795c0
test eax, eax
je 0x10298874
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 8]
movsd xmm7, qword [esp + ecx*8 + 0x1d0]
mov ecx, dword [eax]
movaps xmm2, xmm7
lea eax, [esp + 0x90]
push eax
call fcn.1022d0f0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xb0], xmm0
movss xmm3, dword [ecx + 0x30]
movsd xmm1, qword [ecx + 0x10]
subsd xmm1, qword [ecx]
movsd xmm6, qword [ecx + 0x20]
subsd xmm6, qword [ecx]
cvtps2pd xmm3, xmm3
movaps xmm5, xmm6
movsd xmm2, qword [ecx + 0x18]
mulsd xmm1, xmm3
subsd xmm2, qword [ecx + 8]
movaps xmm0, xmm1
addsd xmm0, xmm1
mulsd xmm2, xmm3
subsd xmm5, xmm0
movaps xmm0, xmm3
mulsd xmm0, xmm6
subsd xmm0, xmm6
mulsd xmm0, xmm7
addsd xmm5, xmm0
movaps xmm0, xmm2
addsd xmm0, xmm2
mulsd xmm5, xmm7
addsd xmm5, xmm1
movsd xmm1, qword [ecx + 0x28]
subsd xmm1, qword [ecx + 8]
mulsd xmm3, xmm1
movaps xmm4, xmm1
subsd xmm4, xmm0
xorps xmm0, xmm0
ucomisd xmm5, xmm0
subsd xmm3, xmm1
lahf
mulsd xmm3, xmm7
addsd xmm4, xmm3
mulsd xmm4, xmm7
addsd xmm4, xmm2
test ah, 0x44
jp 0x102987a2
ucomisd xmm4, xmm0
lahf
test ah, 0x44
jp 0x102987a2
ucomisd xmm7, xmm0
lahf
test ah, 0x44
jnp 0x10298795
ucomisd xmm7, qword [0x103001f8]
lahf
test ah, 0x44
jp 0x102987a2
movsd xmm4, qword [ecx + 0x28]
movaps xmm5, xmm6
subsd xmm4, qword [ecx + 8]
movsd xmm1, qword [esp + 0xb0]
lea eax, [esp + 0xb0]
movsd xmm0, qword [esp + 0xb8]
addsd xmm1, xmm5
addsd xmm0, xmm4
push eax
push dword [edi]
lea ecx, [esp + 0x2a8]
movsd qword [esp + 0xc8], xmm1
movsd qword [esp + 0xd0], xmm0
call fcn.101d2850
test eax, eax
jne 0x10298300
jmp 0x10298874
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov byte [edx + 0x1a8], 1
movsd xmm0, qword [esp + eax*8 + 0x380]
add eax, eax
mov dword [edx + 0x1a0], 0
movsd qword [edx + 0xe0], xmm0
movsd xmm0, qword [esp + ecx*8 + 0x1d0]
add ecx, ecx
movsd qword [edx + 0x140], xmm0
movups xmm0, xmmword [esp + eax*8 + 0x2a0]
mov eax, 1
movups xmmword [edx], xmm0
movups xmm0, xmmword [esp + ecx*8 + 0xf0]
movups xmmword [edx + 0xc0], xmm0
mov byte [edx + 0x1a6], 1
pop edi
pop esi
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x30]
movaps xmm0, xmmword [0x103009d0]
lea ecx, [esp + 0x60]
mov esi, dword [esp + 0x34]
sub esp, 8
mov eax, dword [esp + 0x10]
movsd xmm1, qword [0x10300488]
movups xmmword [esp + 0x68], xmm0
mov byte [esp + 0x80], 0
movups xmmword [esp + 0x98], xmm0
mov byte [esp + 0xb0], 0
movsd xmm0, qword [esi + 0xa8]
movsd qword [esp], xmm0
push dword [edi]
movsd qword [esp + 0x7c], xmm1
push esi
push dword [eax]
movsd qword [esp + 0xb4], xmm1
call fcn.1029b670
movsd xmm0, qword [esi + 0xb0]
lea eax, [esi + 0x20]
sub esp, 8
lea ecx, [esp + 0x98]
movsd qword [esp], xmm0
push dword [edi]
push eax
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.1029b670
movsd xmm2, qword [esp + 0x70]
movsd xmm1, qword [esp + 0xa0]
movaps xmm0, xmm2
comisd xmm2, xmm1
seta al
mov byte [esp + 0xf], al
test al, al
je 0x10298924
movaps xmm0, xmm1
movaps xmm1, xmm2
mov ecx, dword [esp + 0x28]
movsd xmm5, qword [ecx + 0xb0]
comisd xmm0, xmm5
ja 0x1029893c
movsd xmm0, xmm5
jmp 0x10298940
movsd xmm0, xmm0
movsd xmm4, qword [ecx + 0xb8]
movsd qword [esp + 0x38], xmm0
comisd xmm4, xmm1
ja 0x1029895a
movsd xmm2, xmm4
jmp 0x1029895e
movsd xmm2, xmm1
comisd xmm0, xmm2
movsd qword [esp + 0x10], xmm2
ja 0x10298d4c
movsd xmm3, qword [esp + 0x68]
movsd xmm6, qword [esp + 0x98]
movsd xmm7, qword [esp + 0x90]
ucomisd xmm0, xmm5
movsd xmm0, qword [esp + 0x60]
lahf
test ah, 0x44
jp 0x10298a36
mov eax, dword [esp + 8]
sub esp, 8
movsd xmm0, qword [0x10300488]
movsd qword [esp + 0xe8], xmm0
movaps xmm0, xmmword [0x103009d0]
movsd qword [esp], xmm5
push dword [eax]
mov byte [esp + 0xf4], 0
push ecx
push dword [edi]
lea ecx, [esp + 0xe4]
movups xmmword [esp + 0xe4], xmm0
call fcn.1028e510
mov eax, dword [esp + 0x28]
movsd xmm2, qword [esp + 0x10]
movsd xmm0, qword [esp + 0x60]
movsd xmm3, qword [esp + 0x68]
movsd xmm1, qword [eax]
subsd xmm1, qword [esp + 0xd0]
movsd xmm4, qword [eax + 0xb8]
movsd xmm6, qword [esp + 0x98]
movsd xmm7, qword [esp + 0x90]
movsd qword [esp + 0x18], xmm1
movsd xmm1, qword [eax + 8]
subsd xmm1, qword [esp + 0xd8]
mov al, byte [esp + 0xf]
jmp 0x10298a69
test al, al
je 0x10298a54
movaps xmm1, xmm7
lea ecx, [esi + 0x20]
subsd xmm1, qword [ecx]
movsd qword [esp + 0x18], xmm1
movaps xmm1, xmm6
subsd xmm1, qword [ecx + 8]
jmp 0x10298a6c
movaps xmm1, xmm0
subsd xmm1, qword [esi]
movsd qword [esp + 0x18], xmm1
movaps xmm1, xmm3
subsd xmm1, qword [esi + 8]
lea ecx, [esi + 0x20]
ucomisd xmm2, xmm4
movsd qword [esp + 0x40], xmm1
lahf
test ah, 0x44
jp 0x10298adc
mov esi, dword [esp + 8]
lea ecx, [esp + 0x60]
movsd xmm0, qword [0x10300488]
sub esp, 8
movsd qword [esp + 0x78], xmm0
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0x80], 0
movsd qword [esp], xmm4
push dword [esi]
movups xmmword [esp + 0x6c], xmm0
push dword [esp + 0x54]
push dword [edi]
call fcn.1028e510
mov eax, dword [esp + 0x48]
movsd xmm2, qword [esp + 0x10]
movsd xmm0, qword [eax]
movsd xmm3, qword [eax + 8]
subsd xmm0, qword [esp + 0x60]
subsd xmm3, qword [esp + 0x68]
jmp 0x10298afe
test al, al
je 0x10298aeb
subsd xmm0, qword [esi]
subsd xmm3, qword [esi + 8]
jmp 0x10298afa
movaps xmm0, xmm7
movaps xmm3, xmm6
subsd xmm0, qword [ecx]
subsd xmm3, qword [ecx + 8]
mov esi, dword [esp + 8]
movsd xmm1, qword [esp + 0x18]
mulsd xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, xmm3
xorps xmm3, xmm3
addsd xmm1, xmm0
comisd xmm1, xmm3
jae 0x10298d4c
movsd xmm0, qword [0x10300488]
movsd xmm7, qword [esp + 0x38]
movsd qword [esp + 0x70], xmm0
subsd xmm2, xmm7
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0x78], 0
movups xmmword [esp + 0x60], xmm0
nop dword [eax]
mulsd xmm2, qword [0x103001c8]
movsd xmm1, qword [0x10300050]
movaps xmm0, xmm2
movsd qword [esp + 0x10], xmm2
andps xmm0, xmmword [0x103009e0]
comisd xmm1, xmm0
ja 0x10298d4c
mov ecx, dword [edi]
movaps xmm0, xmm2
addsd xmm7, xmm0
ucomisd xmm3, xmm7
movsd qword [esp + 0x38], xmm7
lahf
test ah, 0x44
jp 0x10298ba0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x50], xmm0
jmp 0x10298c61
movsd xmm0, qword [0x103001f8]
ucomisd xmm0, xmm7
lahf
test ah, 0x44
jp 0x10298bc0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esp + 0x50], xmm0
jmp 0x10298c61
movaps xmm6, xmm0
movsd xmm2, qword [ecx + 0x10]
subsd xmm6, xmm7
movsd xmm1, qword [ecx + 0x18]
movaps xmm3, xmm7
mulsd xmm3, xmm7
movaps xmm5, xmm6
mulsd xmm5, xmm6
movaps xmm4, xmm5
mulsd xmm5, qword [0x10300230]
mulsd xmm4, xmm6
mulsd xmm6, qword [0x10300230]
mulsd xmm5, xmm7
movaps xmm0, xmm4
mulsd xmm0, qword [ecx]
mulsd xmm2, xmm5
mulsd xmm6, xmm3
mulsd xmm3, xmm7
addsd xmm2, xmm0
mulsd xmm1, xmm5
movsd xmm0, qword [ecx + 0x20]
mulsd xmm0, xmm6
addsd xmm2, xmm0
movaps xmm0, xmm3
mulsd xmm0, qword [ecx + 0x30]
addsd xmm2, xmm0
movsd xmm0, qword [ecx + 8]
mulsd xmm0, xmm4
movsd qword [esp + 0x50], xmm2
addsd xmm1, xmm0
movsd xmm0, qword [ecx + 0x28]
mulsd xmm0, xmm6
addsd xmm1, xmm0
movsd xmm0, qword [ecx + 0x38]
mulsd xmm0, xmm3
addsd xmm1, xmm0
movsd qword [esp + 0x58], xmm1
movups xmm0, xmmword [esp + 0x50]
sub esp, 8
lea eax, [esp + 0x88]
movups xmmword [esp + 0x88], xmm0
movsd qword [esp], xmm7
push dword [esi]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.1028e510
movsd xmm0, qword [esp + 0x80]
xor ecx, ecx
subsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x88]
subsd xmm1, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x18]
mulsd xmm2, xmm0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
movsd xmm0, qword [esp + 0x10]
comisd xmm2, xmm1
setae cl
xor eax, eax
comisd xmm1, xmm0
seta al
cmp ecx, eax
jne 0x10298cec
xorps xmm0, xmmword [0x103009f0]
movsd qword [esp + 0x10], xmm0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x84]
call fcn.101d0650
movsd xmm2, qword [esp + 0x10]
xorps xmm3, xmm3
movsd xmm7, qword [esp + 0x38]
test al, al
je 0x10298b50
mov eax, dword [esi + 0x18]
movsd xmm2, qword [esp + 0x70]
nop dword [eax]
movsd xmm1, qword [eax + 0xb0]
movsd xmm0, qword [eax + 0xa8]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm3, xmm1
jae 0x10298d64
mov eax, dword [eax + 0x80]
test eax, eax
jne 0x10298d20
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x80]
push ecx
movaps xmm3, xmm2
mov ecx, eax
movsd xmm2, qword [esp + 0x3c]
mov byte [eax + 0x1a7], 1
call fcn.102202a0
mov ecx, dword [esp + 0x454]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10