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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x478
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x474], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
push 0xc0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x11c]
push 0
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], edi
mov byte [esp + 0x2cd], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1f8]
xorps xmm0, xmm0
movups xmmword [esp + 0x1d8], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x1f4], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [esp + 0x2bf], 0x100
xor eax, eax
mov word [esp + 0x2bc], ax
mov byte [esp + 0x2be], al
push 0xc0
push eax
mov dword [esp + 0x2c0], eax
mov byte [esp + 0x479], al
lea eax, [esp + 0x2d0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x3a8]
xorps xmm0, xmm0
movups xmmword [esp + 0x388], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x3a4], xmm0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [esi]
xor eax, eax
mov word [esp + 0x47b], 0x100
mov word [esp + 0x478], ax
lea ecx, [esp + 0x124]
mov byte [esp + 0x47a], al
add esp, 0xc
mov dword [esp + 0x468], eax
lea eax, [esi + 0x30]
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0x64], eax
xor esi, esi
movups xmm0, xmmword [eax]
lea eax, [esp + 0xb8]
mov dword [esp + 0x38], esi
push eax
mov eax, dword [esp + 0x10]
movups xmmword [esp + 0xcc], xmm0
movups xmm0, xmmword [edi]
push dword [eax]
movups xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esp + 0xf0], xmm0
movsd xmm0, qword [0x10300438]
movsd qword [esp + 0x58], xmm0
call fcn.101d2850
test eax, eax
je 0x1029ac8c
lea eax, [esp + 0xd8]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2cc]
push dword [eax]
call fcn.101d2850
test eax, eax
je 0x1029ac8c
nop dword [eax]
movzx eax, byte [esp + 0x46e]
movsd xmm5, qword [0x10300438]
mov dword [esp + 0x20], esi
xor esi, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x1029a715
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x118]
mov dword [esp + 0x2c], edx
movsd xmm6, qword [eax + 0xb0]
movsd xmm7, qword [eax + 0xb8]
comisd xmm7, xmm6
movsd xmm1, qword [esp + esi*8 + 0x3a8]
movsd xmm2, qword [0x103000c8]
jb 0x1029a34f
movaps xmm0, xmm6
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1029a370
subsd xmm1, xmm7
comisd xmm2, xmm1
jmp 0x1029a367
movaps xmm0, xmm1
subsd xmm0, xmm6
comisd xmm2, xmm0
jbe 0x1029a370
movaps xmm0, xmm7
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1029a370
mov eax, 1
jmp 0x1029a372
xor eax, eax
test al, al
je 0x1029a440
mov al, byte [esp + 0x2be]
xor ecx, ecx
movzx edi, al
test al, al
je 0x1029a440
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x2c8]
movsd xmm3, qword [eax + 0xb0]
movsd xmm4, qword [eax + 0xb8]
nop dword [eax]
comisd xmm4, xmm3
movsd xmm1, qword [esp + ecx*8 + 0x1f8]
jb 0x1029a3d6
movaps xmm0, xmm3
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1029a3f7
subsd xmm1, xmm4
comisd xmm2, xmm1
jmp 0x1029a3ee
movaps xmm0, xmm1
subsd xmm0, xmm3
comisd xmm2, xmm0
jbe 0x1029a3f7
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1029a3f7
mov eax, 1
jmp 0x1029a3f9
xor eax, eax
test al, al
je 0x1029a430
mov eax, dword [esp + 0x2c]
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
subsd xmm1, qword [edx]
subsd xmm0, qword [edx + 8]
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm1, xmm0
comisd xmm5, xmm1
jbe 0x1029a430
movaps xmm5, xmm1
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], ecx
inc ecx
add edx, 0x10
cmp ecx, edi
jl 0x1029a3b0
mov edx, dword [esp + 0x2c]
inc esi
add edx, 0x10
mov dword [esp + 0x2c], edx
cmp esi, dword [esp + 0x18]
jl 0x1029a321
ucomisd xmm5, qword [0x10300438]
lahf
test ah, 0x44
jnp 0x1029a715
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0x118]
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x2c8]
mov eax, edx
xorps xmm3, xmm3
shl eax, 4
movsd xmm5, qword [esp + ecx*8 + 0x3a8]
add esi, eax
subsd xmm6, xmm5
movsd qword [esp + 0x18], xmm5
subsd xmm7, xmm5
mov eax, ecx
shl eax, 4
add edi, eax
mulsd xmm6, xmm7
comisd xmm3, xmm6
jb 0x1029a4f4
mov eax, dword [esp + 0x34]
movsd xmm2, qword [esp + edx*8 + 0x1f8]
movsd xmm1, qword [eax + 0xb8]
movsd xmm0, qword [eax + 0xb0]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm3, xmm1
jb 0x1029a4f4
push edi
mov ecx, esi
call fcn.101d0650
test al, al
jne 0x1029a8e1
movsd xmm5, qword [esp + 0x18]
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 + 0x50]
ja 0x1029ac8c
mov esi, dword [esp + 0x38]
inc esi
cmp dword [esp + 0x20], 5
mov dword [esp + 0x38], esi
jge 0x1029ac8c
mov edi, dword [esp + 0x14]
ucomisd xmm3, xmm5
mov ecx, dword [edi]
movsd qword [esp + 0x50], xmm1
lahf
test ah, 0x44
jp 0x1029a556
movsd xmm6, qword [ecx]
movsd xmm7, qword [ecx + 8]
jmp 0x1029a60e
movsd xmm0, qword [0x103001f8]
ucomisd xmm0, xmm5
lahf
test ah, 0x44
jp 0x1029a577
movsd xmm6, qword [ecx + 0x30]
movsd xmm7, qword [ecx + 0x38]
jmp 0x1029a60e
movaps xmm4, xmm0
movsd xmm6, qword [ecx + 0x10]
movsd xmm0, qword [ecx]
subsd xmm4, xmm5
movsd xmm7, qword [ecx + 0x18]
movaps xmm1, xmm5
mulsd xmm1, xmm5
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, xmm5
mulsd xmm1, xmm5
mulsd xmm6, xmm3
mulsd xmm7, xmm3
addsd xmm6, xmm0
movsd xmm0, qword [ecx + 0x20]
mulsd xmm0, xmm4
addsd xmm6, xmm0
movsd xmm0, qword [ecx + 0x30]
mulsd xmm0, xmm1
addsd xmm6, xmm0
movsd xmm0, qword [ecx + 8]
mulsd xmm0, xmm2
addsd xmm7, xmm0
movsd xmm0, qword [ecx + 0x28]
mulsd xmm0, xmm4
addsd xmm7, xmm0
movsd xmm0, qword [ecx + 0x38]
mulsd xmm0, xmm1
addsd xmm7, xmm0
lea eax, [esp + 0xf8]
movsd qword [esp + 0x20], xmm6
push eax
movaps xmm2, xmm5
movsd qword [esp + 0x1c], xmm7
movsd qword [esp + 0xbc], xmm6
movsd qword [esp + 0xc4], xmm7
call fcn.101d4870
lea ecx, [esp + 0x118]
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
lea eax, [esp + 0xb8]
addsd xmm1, qword [esp + 0x20]
addsd xmm0, qword [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
movsd qword [esp + 0xcc], xmm1
movsd qword [esp + 0xd4], xmm0
push dword [eax]
call fcn.101d2850
test eax, eax
je 0x1029a715
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
movsd xmm7, qword [esp + ecx*8 + 0x1f8]
mov ecx, dword [eax]
movaps xmm2, xmm7
lea eax, [esp + 0x98]
push eax
call fcn.101d4d60
movaps xmm2, xmm7
movups xmm0, xmmword [eax]
lea eax, [esp + 0x68]
push eax
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0xdc], xmm0
call fcn.101d4870
movups xmm2, xmmword [esp + 0x88]
lea ecx, [esp + 0x2c8]
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
addsd xmm1, xmm2
unpckhpd xmm2, xmm2
lea eax, [esp + 0xd8]
addsd xmm0, xmm2
push eax
push dword [edi]
movsd qword [esp + 0xf0], xmm1
movsd qword [esp + 0xf8], xmm0
call fcn.101d2850
test eax, eax
jne 0x1029a2d0
movaps xmm0, xmmword [0x103009d0]
lea ecx, [esp + 0x68]
mov edi, dword [esp + 0x34]
sub esp, 8
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
movsd xmm1, qword [0x10300488]
movups xmmword [esp + 0x70], xmm0
mov byte [esp + 0x88], 0
movups xmmword [esp + 0xa0], xmm0
mov byte [esp + 0xb8], 0
movsd xmm0, qword [edi + 0xb0]
movsd qword [esp], xmm0
push dword [esi]
movsd qword [esp + 0x84], xmm1
push edi
push dword [eax]
movsd qword [esp + 0xbc], xmm1
call fcn.1028e6d0
movsd xmm0, qword [edi + 0xb8]
lea eax, [edi + 0x30]
sub esp, 8
lea ecx, [esp + 0xa0]
movsd qword [esp], xmm0
push dword [esi]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.1028e6d0
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0xa8]
movaps xmm0, xmm2
comisd xmm2, xmm1
seta al
mov byte [esp + 0x13], al
test al, al
je 0x1029a7cc
movaps xmm0, xmm1
movaps xmm1, xmm2
mov esi, dword [esp + 0x40]
movsd xmm5, qword [esi + 0xb0]
comisd xmm0, xmm5
ja 0x1029a7e4
movsd xmm0, xmm5
jmp 0x1029a7e8
movsd xmm0, xmm0
movsd xmm4, qword [esi + 0xb8]
movsd qword [esp + 0x38], xmm0
comisd xmm4, xmm1
ja 0x1029a802
movsd xmm2, xmm4
jmp 0x1029a806
movsd xmm2, xmm1
comisd xmm0, xmm2
movsd qword [esp + 0x20], xmm2
ja 0x1029ac8c
movsd xmm3, qword [esp + 0x70]
movsd xmm6, qword [esp + 0xa0]
movsd xmm7, qword [esp + 0x98]
ucomisd xmm0, xmm5
movsd xmm0, qword [esp + 0x68]
lahf
test ah, 0x44
jp 0x1029a960
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xf8]
movsd xmm0, qword [0x10300488]
sub esp, 8
movsd qword [esp + 0x110], xmm0
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0x118], 0
movsd qword [esp], xmm5
push dword [eax]
mov eax, dword [esp + 0x20]
push esi
movups xmmword [esp + 0x108], xmm0
push dword [eax]
call fcn.1028e6d0
movsd xmm1, qword [esi]
subsd xmm1, qword [esp + 0xf8]
movsd xmm4, qword [esi + 0xb8]
movsd xmm2, qword [esp + 0x20]
movsd xmm0, qword [esp + 0x68]
movsd xmm3, qword [esp + 0x70]
movsd xmm6, qword [esp + 0xa0]
movsd xmm7, qword [esp + 0x98]
mov al, byte [esp + 0x13]
movsd qword [esp + 0x18], xmm1
movsd xmm1, qword [esi + 8]
subsd xmm1, qword [esp + 0x100]
jmp 0x1029a993
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov byte [edx + 0x1a8], 1
movsd xmm0, qword [esp + eax*8 + 0x3a8]
add eax, eax
mov dword [edx + 0x1a0], 0
movsd qword [edx + 0xe0], xmm0
movsd xmm0, qword [esp + ecx*8 + 0x1f8]
add ecx, ecx
movsd qword [edx + 0x140], xmm0
movups xmm0, xmmword [esp + eax*8 + 0x2c8]
mov eax, 1
movups xmmword [edx], xmm0
movups xmm0, xmmword [esp + ecx*8 + 0x118]
movups xmmword [edx + 0xc0], xmm0
mov byte [edx + 0x1a6], 1
pop edi
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10
test al, al
je 0x1029a97e
movaps xmm1, xmm7
lea ecx, [edi + 0x30]
subsd xmm1, qword [ecx]
movsd qword [esp + 0x18], xmm1
movaps xmm1, xmm6
subsd xmm1, qword [ecx + 8]
jmp 0x1029a996
movaps xmm1, xmm0
subsd xmm1, qword [edi]
movsd qword [esp + 0x18], xmm1
movaps xmm1, xmm3
subsd xmm1, qword [edi + 8]
lea ecx, [edi + 0x30]
ucomisd xmm2, xmm4
movsd qword [esp + 0x40], xmm1
lahf
test ah, 0x44
jp 0x1029aa0d
mov edi, dword [esp + 0xc]
lea eax, [esi + 0x30]
movsd xmm0, qword [0x10300488]
lea ecx, [esp + 0x68]
mov esi, dword [esp + 0x14]
sub esp, 8
movsd qword [esp + 0x80], xmm0
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0x88], 0
movsd qword [esp], xmm4
push dword [edi]
movups xmmword [esp + 0x74], xmm0
push eax
push dword [esi]
call fcn.1028e6d0
mov eax, dword [esp + 0x64]
movsd xmm2, qword [esp + 0x20]
movsd xmm0, qword [eax]
movsd xmm3, qword [eax + 8]
subsd xmm0, qword [esp + 0x68]
subsd xmm3, qword [esp + 0x70]
jmp 0x1029aa33
mov esi, dword [esp + 0x14]
test al, al
je 0x1029aa20
subsd xmm0, qword [edi]
subsd xmm3, qword [edi + 8]
jmp 0x1029aa2f
movaps xmm0, xmm7
movaps xmm3, xmm6
subsd xmm0, qword [ecx]
subsd xmm3, qword [ecx + 8]
mov edi, dword [esp + 0xc]
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 0x1029ac8c
movsd xmm0, qword [0x10300488]
movsd xmm7, qword [esp + 0x38]
movsd qword [esp + 0x78], xmm0
subsd xmm2, xmm7
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0x80], 0
movups xmmword [esp + 0x68], xmm0
nop dword [eax]
nop dword [eax + eax]
mulsd xmm2, qword [0x103001c8]
movsd xmm1, qword [0x10300050]
movaps xmm0, xmm2
movsd qword [esp + 0x20], xmm2
andps xmm0, xmmword [0x103009e0]
comisd xmm1, xmm0
ja 0x1029ac8c
mov ecx, dword [esi]
movaps xmm0, xmm2
addsd xmm7, xmm0
ucomisd xmm3, xmm7
movsd qword [esp + 0x38], xmm7
lahf
test ah, 0x44
jp 0x1029aae0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x50], xmm0
jmp 0x1029aba2
movsd xmm0, qword [0x103001f8]
ucomisd xmm0, xmm7
lahf
test ah, 0x44
jp 0x1029ab00
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esp + 0x50], xmm0
jmp 0x1029aba2
movaps xmm6, xmm0
movsd xmm2, qword [ecx + 0x10]
movsd xmm0, qword [ecx]
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
mulsd xmm0, xmm4
mulsd xmm6, xmm3
mulsd xmm2, xmm5
mulsd xmm3, xmm7
mulsd xmm1, xmm5
addsd xmm2, xmm0
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 + 0x90]
movups xmmword [esp + 0x90], xmm0
movsd qword [esp], xmm7
push dword [edi]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.1028e6d0
movsd xmm0, qword [esp + 0x88]
xor ecx, ecx
subsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x90]
subsd xmm1, qword [esp + 0x70]
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 + 0x20]
comisd xmm2, xmm1
setae cl
xor eax, eax
comisd xmm1, xmm0
seta al
cmp ecx, eax
jne 0x1029ac2d
xorps xmm0, xmmword [0x103009f0]
movsd qword [esp + 0x20], xmm0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x8c]
call fcn.101d0650
movsd xmm2, qword [esp + 0x20]
xorps xmm3, xmm3
movsd xmm7, qword [esp + 0x38]
test al, al
je 0x1029aa90
mov eax, dword [edi + 0x18]
movsd xmm2, qword [esp + 0x78]
nop
movsd xmm1, qword [eax + 0xb8]
movsd xmm0, qword [eax + 0xb0]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm3, xmm1
jae 0x1029aca4
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x1029ac60
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x88]
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 + 0x47c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10