Function at 0x64aaf420
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x2c], eax
test byte [0x64ab5130], 8
jne 0x64aaf628
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x64aaf610
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._GetRegionData_12
sub esp, 0xc
test eax, eax
je 0x64aaf610
mov dword [esp + 8], eax
mov edi, dword fs:[0x18]
mov dword [ebp - 0x30], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64aaf6e0
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym._GetRegionData_12
sub esp, 0xc
test eax, eax
je 0x64aaf6f8
mov edx, dword [esi + 8]
lea eax, [ebp - 0x1c]
test edx, edx
je 0x64aaf660
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.gdiplus.dll_GdipCreatePath
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x64aaf7c8
mov eax, dword [esi + 8]
lea edi, [esi + 0x20]
test eax, eax
je 0x64aaf720
mov ebx, ecx
jmp 0x64aaf517
add edi, 0x10
add ebx, 1
cmp ebx, dword [esi + 8]
jae 0x64aaf720
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp dword [esp + 0x10]
mov eax, dword [edi + 8]
sub eax, edx
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp dword [esp + 0xc]
mov dword [ebp - 0x30], ecx
fild dword [ebp - 0x30]
fstp dword [esp + 8]
mov dword [ebp - 0x30], edx
fild dword [ebp - 0x30]
fstp dword [esp + 4]
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipAddPathRectangle
sub esp, 0x14
test eax, eax
je 0x64aaf508
mov dword [esp + 8], esi
mov ebx, eax
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 [ebp - 0x1c]
sub esp, 0xc
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeletePath
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
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 esi
mov ebx, dword [ebp - 0x1c]
sub esp, 0xc
test byte [0x64ab5130], 8
jne 0x64aaf768
test ebx, ebx
je 0x64aaf610
lea eax, [ebx + 4]
mov dword [esp], eax
call sym._delete_element
mov dword [esp + 8], ebx
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 esi
sub esp, 0xc
lea esi, [esi]
mov ebx, 2
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.GdipCreateRegionHrgn
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64aaf449
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateRegion
sub esp, 4
mov ebx, eax
test eax, eax
jne 0x64aaf740
mov edi, dword [ebp - 0x1c]
test byte [0x64ab5130], 8
jne 0x64aaf798
test edi, edi
je 0x64aaf5a8
lea eax, [edi + 4]
mov dword [esp], eax
call sym._delete_element
mov dword [edi + 4], 0x10000002
mov edx, dword [ebp - 0x2c]
mov dword [edi], 0
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov dword [esp + 8], esi
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]
sub esp, 0xc
jmp 0x64aaf615
lea esp, [ebp - 0x10]
mov ebx, 3
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 8], esi
mov ebx, 1
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x64aaf615
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateRegionPath
sub esp, 8
jmp 0x64aaf560
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x64aaf615
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64ac0781
mov dword [esp + 8], str.GdipDeleteRegion
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64aaf5de
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x64ac0781
mov dword [esp + 8], str.GdipSetEmpty
mov dword [esp + 4], 0x64ab5130
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x64aaf685
mov dword [ebp - 0x2c], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [ebp - 0x2c]
sub esp, 0xc
jmp 0x64aaf615