Function at 0x690589b0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x48
test byte [0x6907a0e8], 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx]
mov dword [ebp - 4], edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
jne 0x69058b40
test ebx, ebx
je 0x69058b80
test edi, edi
je 0x69058b80
mov eax, dword [ebx + 8]
cmp eax, 1
je 0x69058b90
cmp eax, 2
jne 0x69058b00
mov esi, dword [ebx + 0x50]
test esi, esi
je 0x69058b00
mov edx, 0x2ec
mov ecx, 8
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
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
mov esi, eax
je 0x69058bf9
mov dword [eax + 8], 2
mov eax, dword [ebx + 0xc]
movss xmm0, dword [ebx + 0x2c]
mov dword [esi + 0x20], 1
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [ebx + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
movss dword [esi + 0x30], xmm0
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x4c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CopyEnhMetaFileW]
lea ecx, [esi + 0xe4]
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0x50], eax
sub esp, 8
test eax, eax
je 0x69058bd0
mov dword [edi], esi
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 8
test byte [0x6907a0e8], 4
mov ebx, 2
je 0x69058adf
mov edx, str.GdipCloneImage
mov ecx, 0x6907a0e8
mov dword [esp + 8], edx
mov eax, str.GpImage_with_no_image_data__metafile_in_wrong_state___n
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x69058adf
mov dword [esp + 0x14], edi
mov eax, 0x69081088
mov dword [esp + 0xc], eax
mov eax, str.GdipCloneImage
mov dword [esp + 8], eax
mov eax, 0x6907a0e8
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
test ebx, ebx
jne 0x690589e6
lea esi, [esi]
nop
mov ebx, 2
jmp 0x69058adf
mov dword [esp + 0x18], edi
xor edi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 4], edi
mov dword [esp], 0
mov dword [esp + 8], eax
call sym.gdiplus.dll_GdipCloneBitmapAreaI
sub esp, 0x1c
mov ebx, eax
jmp 0x69058adf
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [esp + 4], ebx
mov ebx, 3
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 0x69058adf
mov ebx, 3
jmp 0x69058adf