Function at 0x64a4cbe0
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, 0x48
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
test byte [0x64ab5018], 8
jne 0x64a4cda0
test ebx, ebx
je 0x64a4cd88
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x64a4cd88
mov eax, 2
test esi, esi
je 0x64a4cd75
cmp edi, 1
jle 0x64a4cd75
cmp dword [ebx], 4
jne 0x64a4cd75
fldz
fld dword [esi]
fucompi st(1)
fstp st(0)
jp 0x64a4cd88
jne 0x64a4cd88
lea eax, [edi + 0x3fffffff]
fld1
fld dword [esi + eax*4]
lea ecx, [eax*4]
fucompi st(1)
fstp st(0)
jp 0x64a4cd88
jne 0x64a4cd88
lea eax, [ecx + 4]
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 - 0x2c], ecx
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x28], 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 ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
call ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
sub esp, 0xc
test eax, eax
je 0x64a4cde0
test ecx, ecx
mov edx, dword [ebp - 0x1c]
je 0x64a4cde0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x20]
mov dword [esp], edx
call sym._memcpy
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x1c]
mov dword [esp], ecx
mov dword [ebp - 0x24], ecx
call sym._memcpy
mov eax, dword [ebx + 0x30]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x34]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x38], edi
sub esp, 0xc
xor eax, eax
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], ecx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
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.GdipSetLinePresetBlend
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x1c]
jmp 0x64a4cc0c
mov eax, dword [ebp - 0x20]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x1c], ecx
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, 3
sub esp, 0xc
jmp 0x64a4cd75