Function at 0x69076e10
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]
test byte [0x6907a148], 8
mov ebx, dword [ecx]
mov dword [ebp - 0x30], eax
jne 0x69076f40
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x69076f28
mov dword [esp], ebx
xor edi, edi
xor eax, eax
mov dword [esp + 8], edi
mov edi, dword [sym.imp.gdi32.dll_GetRegionData]
mov dword [esp + 4], eax
call edi
sub esp, 0xc
test eax, eax
mov ecx, eax
je 0x69076f28
mov dword [esp + 8], ecx
mov esi, 8
mov dword [esp + 4], esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x69077116
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call edi
sub esp, 0xc
test eax, eax
je 0x69077060
mov edx, dword [esi + 8]
lea eax, [ebp - 0x1c]
test edx, edx
jne 0x69076f78
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateRegion
sub esp, 4
test eax, eax
mov ebx, eax
jne 0x690770a0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipSetEmpty
sub esp, 4
test eax, eax
mov ebx, eax
je 0x69077098
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
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_GdipDeleteRegion
sub esp, 4
jmp 0x69076f2d
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 eax, str.__p___p__n
mov dword [esp + 0xc], eax
mov eax, str.GdipCreateRegionHrgn
mov dword [esp + 8], eax
mov eax, 0x6907a148
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_12
jmp 0x69076e39
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.gdiplus.dll_GdipCreatePath
sub esp, 8
test eax, eax
mov edi, eax
jne 0x690770f0
mov ebx, dword [esi + 8]
lea ecx, [esi + 0x20]
test ebx, ebx
jne 0x69076fb5
jmp 0x690770d0
inc edi
add ecx, 0x10
cmp dword [esi + 8], edi
jbe 0x690770d0
mov ebx, dword [ecx + 4]
pxor xmm0, xmm0
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx]
sub eax, ebx
cvtsi2ss xmm0, eax
movss dword [esp + 0x10], xmm0
pxor xmm0, xmm0
mov eax, dword [ecx + 8]
sub eax, edx
cvtsi2ss xmm0, eax
mov eax, dword [ebp - 0x1c]
movss dword [esp + 0xc], xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, ebx
mov dword [esp], eax
movss dword [esp + 8], xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
movss dword [esp + 4], xmm0
call sym.gdiplus.dll_GdipAddPathRectangle
mov ecx, dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
mov ebx, eax
je 0x69076fa8
mov dword [esp + 8], esi
xor edx, edx
mov dword [esp + 4], edx
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 eax, dword [ebp - 0x34]
xor ecx, ecx
mov ebx, 1
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov dword [edx], eax
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x34]
xor edi, edi
mov dword [esp + 4], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateRegionPath
sub esp, 8
mov ebx, eax
jmp 0x69077016
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x34]
xor esi, esi
mov dword [esp + 4], esi
mov ebx, edi
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 0x69076f2d
mov ebx, 3
jmp 0x69076f2d