Function at 0x64a4b160
Capabilities:
Get process heap flags
Get process heap force 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, 0x48
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
test byte [0x64ab5018], 8
jne 0x64a4b318
test ebx, ebx
je 0x64a4b300
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x64a4b300
test edi, edi
je 0x64a4b300
cmp ecx, 1
jle 0x64a4b300
mov esi, dword [ebx]
cmp esi, 3
jne 0x64a4b300
fldz
fld dword [edi]
fucompi st(1)
fstp st(0)
jp 0x64a4b300
jne 0x64a4b300
lea eax, [ecx + 0x3fffffff]
mov dword [ebp - 0x2c], ecx
fld1
fld dword [edi + eax*4]
lea edx, [eax*4]
fucompi st(1)
fstp st(0)
jp 0x64a4b300
jne 0x64a4b300
add edx, 4
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x24], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 8
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x30], ecx
call ecx
mov edx, dword [ebp - 0x24]
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 8
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
call ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub esp, 0xc
test edx, edx
je 0x64a4b360
test eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
je 0x64a4b360
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._memcpy
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edi, dword [ebp - 0x28]
mov dword [esp], edi
mov edi, dword fs:[0x18]
call sym._memcpy
mov eax, dword [ebx + 0x38]
mov dword [esp + 4], 0
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x3c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
xor esi, esi
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [ebx + 0x38], eax
mov eax, esi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], ecx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov esi, 2
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__p__p__i__n
mov dword [esp + 8], str.GdipSetPathGradientPresetBlend
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x64a4b18c
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x28]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x64a4b305