Function at 0x64aa5310
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 edx, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64ab5120], 8
jne 0x64aa5440
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x64aa5428
test ebx, ebx
je 0x64aa5428
mov dword [esp + 8], 0x58
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x20], eax
call eax
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64aa5548
mov edx, dword [ebp - 0x1c]
mov edi, eax
mov ecx, 0x16
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov dword [eax + 0x18], 0
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov dword [eax + 0x38], 0
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0
mov eax, dword [ebx]
add eax, 0x38
mov dword [esp + 4], eax
mov eax, dword [edx + 0x38]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCloneBrush
sub esp, 8
mov esi, eax
test eax, eax
je 0x64aa53f8
mov ecx, dword [ebx]
mov dword [esp], ecx
call sym.gdiplus.dll_GdipDeletePen
mov dword [ebx], 0
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x64aa5480
mov edi, dword [ebx]
mov dword [esp], eax
lea ecx, [edi + 0x18]
mov dword [esp + 4], ecx
call sym.gdiplus.dll_GdipCloneCustomLineCap
mov edx, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
je 0x64aa5480
mov ecx, dword [ebx]
mov esi, eax
jmp 0x64aa53d0
lea esp, [ebp - 0x10]
mov esi, 2
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [ebp - 0x1c], edx
mov dword [esp + 0xc], 0x64ac00a9
mov dword [esp + 8], str.GdipClonePen
mov dword [esp + 4], 0x64ab5120
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_11
mov edx, dword [ebp - 0x1c]
jmp 0x64aa5336
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x64aa54a9
mov edi, dword [ebx]
mov dword [ebp - 0x1c], edx
mov dword [esp], eax
lea ecx, [edi + 0x1c]
mov dword [esp + 4], ecx
call sym.gdiplus.dll_GdipCloneCustomLineCap
mov edx, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
jne 0x64aa541d
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x64aa5507
mov eax, dword [edx + 0x30]
mov edi, dword [ebx]
mov dword [ebp - 0x1c], edx
mov ecx, dword fs:[0x18]
shl eax, 2
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
mov dword [edi + 0x2c], eax
mov ecx, dword [ebx]
sub esp, 0xc
mov edi, dword [ecx + 0x2c]
test edi, edi
je 0x64aa5560
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
mov edx, dword [edx + 0x2c]
mov dword [esp], edi
shl eax, 2
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym._memcpy
test byte [0x64ab5120], 8
je 0x64aa53e1
mov eax, dword [ebx]
mov dword [esp + 0xc], 0x64ac009b
mov dword [esp + 8], str.GdipClonePen
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5120
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_11
jmp 0x64aa53e1
lea esp, [ebp - 0x10]
mov esi, 3
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov esi, 3
jmp 0x64aa53d0