Function at 0x64a95280
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xor eax, eax
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x54]
push ebx
push ecx
sub esp, 0x78
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, 0xf
rep stosd dword es:[edi], eax
test byte [0x64ab50e0], 8
jne 0x64a954e0
test esi, esi
je 0x64a95514
test ebx, ebx
je 0x64a95514
mov eax, dword [esi + 0x458]
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
jne 0x64a95530
mov eax, dword [esi + 0x464]
test eax, eax
jne 0x64a95598
mov ecx, dword [esi + 0x470]
test ecx, ecx
jne 0x64a95600
mov edx, dword [esi + 0x47c]
test edx, edx
jne 0x64a95410
mov eax, dword [esi + 0x488]
test eax, eax
jne 0x64a95478
mov dword [esp + 8], 0x4d0
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a953c8
mov dword [eax], 4
test byte [0x64ab50e0], 8
jne 0x64a95660
mov edi, dword [ebx]
mov ecx, 0x134
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebx]
lea eax, [edx + 0x458]
mov dword [edx + 0x458], ecx
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x44]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x38], edx
xor eax, eax
jmp 0x64a95402
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x18]
mov ebx, dword fs:[0x18]
mov eax, dword [esi + 8]
mov dword [esp + 4], 0
add esi, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp esi, edi
jne 0x64a953d5
mov eax, 3
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov ecx, dword [esi + 0x480]
mov dword [ebp - 0x30], 1
mov eax, dword fs:[0x18]
mov dword [ebp - 0x2c], ecx
shl ecx, 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x28], eax
sub esp, 0xc
test eax, eax
je 0x64a953c8
mov edx, dword [esi + 0x484]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._memcpy
mov eax, dword [esi + 0x488]
test eax, eax
je 0x64a9530e
mov ecx, dword [esi + 0x48c]
mov dword [ebp - 0x24], 1
mov eax, dword fs:[0x18]
mov dword [ebp - 0x20], ecx
shl ecx, 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x1c], eax
sub esp, 0xc
test eax, eax
je 0x64a953c8
mov edx, dword [esi + 0x490]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._memcpy
jmp 0x64a9530e
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64abea17
mov dword [esp + 8], str.GdipCloneImageAttributes
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
test esi, esi
jne 0x64a952ba
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov ecx, dword [esi + 0x45c]
mov dword [ebp - 0x54], 1
mov eax, dword fs:[0x18]
mov dword [ebp - 0x50], ecx
shl ecx, 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x4c], eax
sub esp, 0xc
test eax, eax
je 0x64a953c8
mov edx, dword [esi + 0x460]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._memcpy
mov eax, dword [esi + 0x464]
test eax, eax
je 0x64a952e4
mov ecx, dword [esi + 0x468]
mov dword [ebp - 0x48], 1
mov eax, dword fs:[0x18]
mov dword [ebp - 0x44], ecx
shl ecx, 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x40], eax
sub esp, 0xc
test eax, eax
je 0x64a953c8
mov edx, dword [esi + 0x46c]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._memcpy
mov ecx, dword [esi + 0x470]
test ecx, ecx
je 0x64a952f2
mov ecx, dword [esi + 0x474]
mov dword [ebp - 0x3c], 1
mov eax, dword fs:[0x18]
mov dword [ebp - 0x38], ecx
shl ecx, 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
je 0x64a953c8
mov edx, dword [esi + 0x478]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._memcpy
jmp 0x64a952f2
mov eax, dword [ebx]
mov dword [esp + 0xc], 0x64abea21
mov dword [esp + 8], str.GdipCreateImageAttributes
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x64a9534f