Function at 0x64a4ab40
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ebx, dword [ecx]
mov edx, dword [eax + 8]
mov ecx, dword [ecx + 4]
mov edi, dword [eax + 0xc]
test byte [0x64ab5018], 8
jne 0x64a4acf8
test ebx, ebx
je 0x64a4ace0
test ecx, ecx
je 0x64a4ace0
test edx, edx
je 0x64a4ace0
test edi, edi
jle 0x64a4ace0
mov esi, dword [ebx]
cmp esi, 3
jne 0x64a4ace0
cmp edi, 1
je 0x64a4abc8
fldz
fld dword [edx]
fucompi st(1)
fstp st(0)
jp 0x64a4ace0
jne 0x64a4ace0
fld1
fld dword [edx + edi*4 - 4]
fucompi st(1)
fstp st(0)
jp 0x64a4ace0
jne 0x64a4ace0
lea eax, [edi*4]
mov dword [ebp - 0x30], edx
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x28], edx
call edx
mov edx, dword [ebp - 0x24]
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edx, dword [ebp - 0x28]
call edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
sub esp, 0xc
test edx, edx
je 0x64a4ad40
test eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
je 0x64a4ad40
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._memcpy
mov dword [esp + 8], esi
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x28]
mov dword [esp], esi
call sym._memcpy
mov eax, dword [ebx + 0x24]
mov dword [esp + 4], 0
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x28]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
mov dword [ebx + 0x2c], edi
sub esp, 0xc
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], esi
lea esp, [ebp - 0x10]
xor esi, esi
pop ecx
mov eax, esi
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 + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [ebp - 0x20], edx
mov dword [esp + 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__p__p__i__n
mov dword [esp + 8], str.GdipSetPathGradientBlend
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
jmp 0x64a4ab6e
mov eax, dword [ebp - 0x1c]
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 0x64a4ace5