Function at 0x1001f7b0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x1c
mov ebx, dword [ecx]
mov eax, dword [ebx + 8]
mov byte [ebx + 0x64], 0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0x58]
mov edi, dword [eax + 0x58]
lea eax, [ebx + 0xd38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jmp 0x1001f816
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov edx, ebx
call sym._SpliceMergeVertices
mov dword [esp], edi
call sym.___gl_meshDelete
test eax, eax
je 0x1001f950
mov eax, dword [ebx + 0xc]
mov edi, ebx
mov edx, dword [eax + 0xc]
mov ebx, eax
nop
cmp edi, edx
je 0x1001f850
mov edi, esi
cmp dword [ebp - 0x14], edi
je 0x1001f8d0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
mov ebx, dword [edi + 0xc]
mov esi, dword [edi]
mov eax, dword [eax + 0x10]
movsd xmm2, qword [ecx + 0x28]
mov edx, dword [ebx + 0xc]
ucomisd xmm2, qword [eax + 0x28]
jp 0x1001f810
jne 0x1001f810
movsd xmm0, qword [ecx + 0x30]
ucomisd xmm0, qword [eax + 0x30]
jp 0x1001f810
jne 0x1001f810
cmp edi, edx
jne 0x1001f7e8
mov edi, esi
cmp ebx, edx
je 0x1001f890
cmp esi, ebx
je 0x1001f987
cmp dword [esi + 4], ebx
je 0x1001f987
mov dword [esp], ebx
mov dword [ebp - 0x20], edx
call sym.___gl_meshDelete
mov edx, dword [ebp - 0x20]
test eax, eax
jne 0x1001f890
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_longjmp]
mov edx, dword [ebp - 0x20]
cmp edi, edx
je 0x1001f970
cmp dword [edi + 4], edx
je 0x1001f970
mov dword [esp], edx
call sym.___gl_meshDelete
test eax, eax
jne 0x1001f816
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_longjmp]
cmp dword [ebp - 0x14], edi
jne 0x1001f81f
nop
mov dword [esp], sym.___gl_vertLeq
mov ebx, dword [ebp - 0x18]
call sym.___gl_pqSortNewPriorityQ
mov dword [ebx + 0x6c], eax
mov esi, eax
test eax, eax
je 0x1001fb9f
mov eax, dword [ebx + 8]
mov edi, dword [eax]
cmp eax, edi
je 0x1001f993
mov dword [ebp - 0x14], ebx
mov ebx, edi
mov edi, eax
jmp 0x1001f912
mov ebx, dword [ebx]
cmp edi, ebx
je 0x1001f990
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym.___gl_pqSortInsert
mov dword [ebx + 0x38], eax
cmp eax, 0x7fffffff
jne 0x1001f908
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x6c]
mov dword [esp], eax
call sym.___gl_pqSortDeletePriorityQ
mov dword [ebx + 0x6c], 0
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_longjmp]
jmp 0x1001f804
mov edi, dword [edi]
mov dword [esp], edx
call sym.___gl_meshDelete
test eax, eax
jne 0x1001f816
jmp 0x1001f8b1
mov edi, dword [esi]
jmp 0x1001f867
mov ebx, dword [ebp - 0x14]
mov dword [esp], esi
call sym.___gl_pqSortInit
test eax, eax
je 0x1001f92b
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x1001fbcc
mov dword [eax], 0
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], sym._EdgeLeq
mov dword [ebx + 0x68], eax
movsd xmm0, qword [0x100258a8]
mov eax, ebx
call sym._AddSentinel
mov eax, ebx
movsd xmm0, qword [0x100258a0]
call sym._AddSentinel
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx + 0x6c]
mov dword [esp], eax
call sym.___gl_pqSortExtractMin
mov esi, eax
test eax, eax
jne 0x1001fa5c
jmp 0x1001fa80
movsd xmm1, qword [eax + 0x28]
ucomisd xmm1, qword [esi + 0x28]
jp 0x1001fa6b
jne 0x1001fa6b
movsd xmm0, qword [eax + 0x30]
ucomisd xmm0, qword [esi + 0x30]
jp 0x1001fa6b
jne 0x1001fa6b
mov eax, dword [ebx + 0x6c]
mov dword [esp], eax
call sym.___gl_pqSortExtractMin
mov edx, dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, ebx
call sym._SpliceMergeVertices
mov eax, dword [ebx + 0x6c]
mov dword [esp], eax
call sym.___gl_pqSortMinimum
test eax, eax
jne 0x1001fa28
mov edx, esi
mov eax, ebx
call sym._SweepEvent
jmp 0x1001fa10
mov edx, dword [ebx + 0x68]
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x70], eax
mov esi, dword [edx + 4]
mov eax, dword [esi]
test eax, eax
je 0x1001fad9
xor edi, edi
nop
lea esi, [esi]
cmp byte [eax + 0xd], 0
jne 0x1001fabd
cmp byte [eax + 0xf], 0
je 0x1001fc0c
test edi, edi
jne 0x1001fc29
mov edi, 1
mov edx, dword [eax + 8]
test edx, edx
jne 0x1001fbef
call sym._DeleteRegion.isra.0
mov edx, dword [ebx + 0x68]
mov esi, dword [edx + 4]
mov eax, dword [esi]
test eax, eax
jne 0x1001faa0
mov edi, dword fs:[0x18]
cmp edx, esi
je 0x1001fb1c
mov dword [ebp - 0x14], ebx
mov ebx, edi
mov edi, edx
nop
lea esi, [esi]
mov eax, esi
mov esi, dword [esi + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp edi, esi
jne 0x1001faf0
mov ebx, dword [ebp - 0x14]
mov edx, edi
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x6c]
sub esp, 0xc
mov dword [esp], eax
call sym.___gl_pqSortDeletePriorityQ
mov eax, dword [ebx + 8]
mov esi, dword [eax + 0x40]
lea edi, [eax + 0x40]
cmp esi, edi
jne 0x1001fb64
jmp 0x1001fbb3
cmp esi, edi
je 0x1001fbb0
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0xc]
cmp eax, edx
je 0x1001fc46
cmp eax, dword [edx + 0xc]
jne 0x1001fb60
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0x1c]
add dword [edx + 0x1c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov edx, dword [edx + 4]
mov ecx, dword [ecx + 0x1c]
add dword [edx + 0x1c], ecx
mov dword [esp], eax
call sym.___gl_meshDelete
test eax, eax
jne 0x1001fb60
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.___gl_meshCheckMesh
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea eax, [ebx + 0xd38]
mov dword [ebx + 0x68], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_longjmp]
jmp 0x1001f9e8
mov dword [esp + 8], 0x50c
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_sweep.c
mov dword [esp], str.reg__windingNumber__0
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x509
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_sweep.c
mov dword [esp], str.reg__fixUpperEdge
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x50a
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_sweep.c
mov dword [esp], str.fixedEdges__1
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x56e
mov dword [esp + 4], str._home_runner_build_wine_wine_dlls_glu32_sweep.c
mov dword [esp], str.e__Lnext___e
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop