Function at 0x64a5b120
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, 0x38
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x64ab50b0], 8
jne 0x64a5b278
test edi, edi
je 0x64a5b260
test esi, esi
je 0x64a5b260
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], 0x58
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64a5b318
mov eax, dword [edi + 0x70]
mov dword [ebx + 0xc], 1
add eax, 1
mov dword [ebx + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x20], eax
fld dword [edi + 0x38]
fstp dword [ebx + 0x24]
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x64]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x74]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x48]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x40], eax
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x44], eax
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x60]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCloneRegion
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x64a5b2b0
mov eax, dword [edi + 0x68]
mov dword [ebx], eax
lea eax, [edi + 0x68]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x68]
mov dword [eax + 4], ebx
mov dword [edi + 0x68], ebx
mov eax, dword [ebx + 8]
mov dword [edi + 0x70], eax
mov dword [esi], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x64a5b24d
cmp dword [edi + 0x18], 2
je 0x64a5b2f0
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea esp, [ebp - 0x10]
mov ecx, 2
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x64ab9094
mov dword [esp + 8], str.GdipSaveGraphics
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a5b146
mov dword [ebp - 0x20], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov edx, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._METAFILE_SaveGraphics
mov ecx, dword [ebp - 0x1c]
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea esp, [ebp - 0x10]
mov ecx, 3
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8