Function at 0x64a46130
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x20], edx
test eax, eax
je 0x64a46320
mov ebx, ecx
test ecx, ecx
je 0x64a46320
cmp dword [eax + 4], 1
mov esi, eax
jle 0x64a463eb
mov dword [esp + 8], 0x5c
mov dword [esp + 4], 8
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
call eax
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a463eb
fldz
add eax, 0x44
fst dword [esp + 0x18]
fst dword [esp + 0x14]
fld1
mov dword [esp], eax
fst dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
call sym.gdiplus.dll_GdipSetMatrixElements
mov ecx, dword [ebx]
sub esp, 0x1c
mov dword [ebp - 0x24], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov ecx, dword [ebp - 0x24]
sub esp, 0xc
mov dword [ecx + 0x24], eax
mov ecx, dword [ebx]
mov dword [ebp - 0x24], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov ecx, dword [ebp - 0x24]
sub esp, 0xc
mov dword [ecx + 0x28], eax
mov ecx, dword [ebx]
mov dword [ebp - 0x24], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov ecx, dword [ebp - 0x24]
sub esp, 0xc
mov dword [ecx + 0x30], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x64a46364
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x64a46364
mov eax, dword [eax + 0x30]
fld1
fldz
test eax, eax
je 0x64a46360
fxch st(1)
fst dword [edx]
mov eax, dword [ebx]
mov edi, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
fstp dword [eax]
mov eax, dword [ebx]
mov dword [eax + 0x2c], 1
mov eax, dword [ebx]
mov dword [eax + 4], esi
mov eax, dword [ebx]
mov dword [eax], 3
mov eax, dword [ebx]
mov dword [eax + 8], edi
mov eax, dword [ebx]
mov dword [eax + 0xc], 4
mov eax, dword [ebx]
mov dword [eax + 0x10], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x64a46400
mov eax, dword [esi + 8]
fld st(0)
lea edx, [eax + ecx*8]
jmp 0x64a462c2
fxch st(1)
fadd dword [eax]
fxch st(1)
add eax, 8
fadd dword [eax - 4]
cmp edx, eax
jne 0x64a462c0
mov dword [ebp - 0x1c], ecx
fild dword [ebp - 0x1c]
mov eax, dword [ebx]
fdivp st(2)
fxch st(1)
fstp dword [eax + 0x14]
fild dword [esi + 4]
mov eax, dword [ebx]
fdivp st(1)
fstp dword [eax + 0x18]
mov eax, dword [ebx]
fldz
fst dword [eax + 0x1c]
mov eax, dword [ebx]
fstp dword [eax + 0x20]
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov dword [eax], 0xffffffff
mov eax, dword [ebx]
mov dword [eax + 0x34], 1
test byte [0x64ab5018], 8
jne 0x64a46330
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp + 0xc], 0x64ab7000
mov dword [esp + 8], str.create_path_gradient
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x64a46312
fstp st(0)
fstp st(0)
mov dword [esp + 8], edx
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx]
sub esp, 0xc
mov eax, dword [eax + 0x28]
mov dword [esp + 4], 0
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]
sub esp, 0xc
mov eax, dword [eax + 0x30]
mov dword [esp + 4], 0
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]
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 dword [ebx], 0
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret
fld st(0)
jmp 0x64a462d0