Function at 0x690180c0
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, 0xa8
test byte [0x6907a0c8], 8
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
jne 0x69018480
test edi, edi
je 0x690180fd
test byte [0x6907a0c8], 1
jne 0x69018438
test esi, esi
je 0x69018467
test ebx, ebx
je 0x690184f8
mov edx, 8
mov edi, 0xb4
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x69018467
mov dword [esp + 0x18], 0
add eax, 0x44
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], eax
call sym.gdiplus.dll_GdipSetMatrixElements
mov eax, dword [ebx]
add eax, 0x60
sub esp, 0x1c
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateRegion
sub esp, 4
test eax, eax
mov edi, eax
jne 0x69018400
mov dword [esp], esi
mov ecx, 7
mov dword [esp + 4], ecx
call dword [sym.imp.gdi32.dll_GetCurrentObject]
sub esp, 8
test eax, eax
je 0x690184c0
mov dword [esp], eax
lea edx, [ebp - 0x6c]
mov dword [esp + 8], edx
mov edx, 0x54
mov dword [esp + 4], edx
call dword [sym.imp.gdi32.dll_GetObjectW]
mov edx, dword [ebx]
sub esp, 0xc
cmp eax, 0x54
je 0x690184d0
mov dword [edx], esi
mov dword [esp], esi
mov dword [ebp - 0x8c], edx
call dword [sym.imp.user32.dll_WindowFromDC]
mov edx, dword [ebp - 0x8c]
mov ecx, 0x58
mov dword [edx + 4], eax
mov eax, dword [ebx]
sub esp, 4
mov edx, dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov dword [eax + 8], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 3
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x34], 1
mov dword [eax + 0x38], 0x3f800000
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [ebp - 0x8c], edx
call edx
mov ecx, dword [ebx]
pxor xmm0, xmm0
mov edx, dword [ebp - 0x8c]
cvtsi2ss xmm0, eax
sub esp, 8
mov eax, 0x5a
movss dword [ecx + 0x3c], xmm0
mov dword [esp + 4], eax
mov dword [esp], esi
call edx
pxor xmm0, xmm0
mov edx, dword [ebp - 0x8c]
mov ecx, eax
mov eax, dword [ebx]
sub esp, 8
cvtsi2ss xmm0, ecx
mov dword [eax + 0x5c], 0
lea ecx, [eax + 0x68]
movss dword [eax + 0x40], xmm0
mov dword [eax + 0x64], 4
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x70], 0
mov eax, 2
mov dword [esp + 4], eax
mov dword [esp], esi
call edx
mov edx, eax
mov eax, dword [ebx]
sub esp, 8
cmp edx, 2
sete dl
movzx edx, dl
mov dword [eax + 0x10], edx
lea edx, [eax + 0x84]
mov eax, dword [eax]
test eax, eax
je 0x69018538
mov dword [ebp - 0x8c], edx
lea ecx, [ebp - 0x84]
mov edx, 0x204
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetTransform]
mov edx, dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x70]
sub esp, 0xc
movss dword [esp + 0x18], xmm0
movss xmm0, dword [ebp - 0x74]
mov dword [esp], edx
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp - 0x78]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x7c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x80]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x84]
movss dword [esp + 4], xmm0
call sym.gdiplus.dll_GdipSetMatrixElements
sub esp, 0x1c
mov edx, dword [ebx]
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [ebp - 0x8c], edx
call dword [sym.imp.gdi32.dll_CreateRectRgn]
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x9c], eax
mov eax, dword [ebx]
sub esp, 0x10
mov eax, dword [eax + 0x9c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.gdi32.dll_GetClipRgn]
sub esp, 8
test eax, eax
je 0x69018510
test byte [0x6907a0c8], 8
je 0x69018424
mov eax, dword [ebx]
mov ecx, 0x6907a0c8
mov edx, str.GdipCreateFromHDC2
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, 0x6907e0b8
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0_4
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebx]
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov ecx, str.Dont_know_how_to_handle_parameter_hDevice_n
mov eax, 0x6907a0c8
mov dword [esp + 0xc], ecx
mov edi, str.GdipCreateFromHDC2
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_4
test esi, esi
jne 0x69018105
lea esp, [ebp - 0x10]
mov edi, 3
pop ecx
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], ebx
mov eax, 0x6907e07b
mov dword [esp + 0xc], eax
mov eax, str.GdipCreateFromHDC2
mov dword [esp + 8], eax
mov eax, 0x6907a0c8
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x690180ec
mov edx, dword [ebx]
jmp 0x690181e3
cmp word [ebp - 0x46], 0x20
jne 0x690181e3
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x690181e3
mov dword [edx + 0xc], 1
jmp 0x690181e3
lea esp, [ebp - 0x10]
mov edi, 2
pop ecx
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 0x9c]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [ebx]
mov dword [eax + 0x9c], esi
sub esp, 4
jmp 0x690183b4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], edx
call sym.gdiplus.dll_GdipSetMatrixElements
sub esp, 0x1c
jmp 0x6901835e