Function at 0x64a4ad90
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, 0x68
fld dword [ecx + 4]
mov ebx, dword [ecx]
fld dword [ecx + 8]
test byte [0x64ab5018], 8
jne 0x64a4b040
test ebx, ebx
je 0x64a4aff0
mov esi, dword [ebx]
cmp esi, 3
jne 0x64a4b000
fldz
fxch st(2)
fucomi st(2)
fstp st(2)
jp 0x64a4b020
jne 0x64a4b020
mov dword [ebp - 0x3c], 2
mov edi, 1
xor eax, eax
fstp dword [ebp + eax*4 - 0x30]
fst dword [ebp + eax*4 - 0x24]
movzx eax, byte [0x64ab5018]
fld1
fxch st(1)
and eax, 8
fucompi st(1)
fstp st(0)
jp 0x64a4ae10
je 0x64a4afa0
mov dword [ebp + edi*4 - 0x30], 0
mov dword [ebp + edi*4 - 0x24], 0x3f800000
test al, al
jne 0x64a4b0a0
fldz
fld dword [ebp - 0x24]
fucompi st(1)
fstp st(0)
jp 0x64a4b004
jne 0x64a4b004
mov eax, dword [ebp - 0x3c]
lea edi, [eax*4 - 4]
fld1
fld dword [ebp + edi - 0x24]
fucompi st(1)
fstp st(0)
jp 0x64a4b004
jne 0x64a4b004
add edi, 4
mov dword [esp + 8], edi
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 8
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x48], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x44], edx
call edx
sub esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edx, dword [ebp - 0x44]
call edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
sub esp, 0xc
test edx, edx
je 0x64a4b108
test eax, eax
je 0x64a4b108
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x30]
mov dword [edx], eax
mov eax, dword [ebp + edi - 0x34]
lea ecx, [edx + 4]
and ecx, 0xfffffffc
mov dword [edx + edi - 4], eax
mov eax, edx
sub eax, ecx
mov edx, eax
sub esi, eax
add edx, edi
and edx, 0xfffffffc
cmp edx, 4
jb 0x64a4af09
mov dword [ebp - 0x48], ebx
and edx, 0xfffffffc
xor eax, eax
mov ebx, dword [esi + eax]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, edx
jb 0x64a4aef9
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp + edi - 0x28]
mov dword [esi + edi - 4], eax
lea eax, [esi + 4]
and eax, 0xfffffffc
sub esi, eax
add edi, esi
sub edx, esi
and edi, 0xfffffffc
cmp edi, 4
jb 0x64a4af42
and edi, 0xfffffffc
xor ecx, ecx
mov esi, dword [edx + ecx]
mov dword [eax + ecx], esi
add ecx, 4
cmp ecx, edi
jb 0x64a4af35
mov eax, dword [ebx + 0x24]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
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 eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x3c]
xor esi, esi
sub esp, 0xc
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x28], eax
jmp 0x64a4b009
test al, al
je 0x64a4b088
lea eax, [ebp - 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x14], eax
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
cmp dword [ebx], 3
je 0x64a4b088
jmp 0x64a4b004
fstp st(0)
fstp st(0)
jmp 0x64a4b004
fstp st(0)
fstp st(0)
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 0xc
fldz
mov edi, 2
mov eax, 1
mov dword [ebp - 0x3c], 3
fst dword [ebp - 0x30]
fstp dword [ebp - 0x24]
jmp 0x64a4adee
fst qword [esp + 0x1c]
fstp dword [ebp - 0x40]
fst qword [esp + 0x14]
fstp dword [ebp - 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__0.2f__0.2f__n
mov dword [esp + 8], str.GdipSetPathGradientLinearBlend
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
fld dword [ebp - 0x3c]
fld dword [ebp - 0x40]
jmp 0x64a4adb9
cmp edi, 1
je 0x64a4b0f0
mov dword [ebp - 0x3c], 2
jmp 0x64a4ae28
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__p__p__i__n
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.GdipSetPathGradientBlend
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
cmp dword [ebx], 3
jne 0x64a4b004
jmp 0x64a4ae28
mov dword [ebp - 0x3c], 1
mov edi, 4
jmp 0x64a4ae60
mov eax, dword [ebp - 0x40]
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 - 0x44]
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 0x64a4b009