Function at 0x64a508f0
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, 0x2b8
fld dword [ecx + 4]
mov eax, dword [ecx]
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x280], eax
mov esi, dword [ecx + 8]
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x28c], ebx
fst dword [ebp - 0x284]
test eax, eax
je 0x64a50ca0
test ebx, ebx
je 0x64a50ca8
fldz
fcompi st(1)
ja 0x64a50cb0
test byte [0x64ab5078], 8
jne 0x64a50bb8
fstp st(0)
lea ebx, [ebp - 0x278]
xor eax, eax
mov ecx, 0x17
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov edi, dword [ebp - 0x280]
mov dword [esp], edi
call sym.gdiplus.dll_GdipGetFamilyName
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x64a509a0
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [ebp - 0x290], eax
mov dword [esp + 0xc], 0
fild dword [edi + 0x48]
fstp dword [esp + 8]
mov eax, dword [ebp - 0x288]
mov dword [esp + 4], eax
fld dword [ebp - 0x284]
fstp dword [esp]
call sym._units_to_pixels
mov edx, esi
mov word [ebp - 0x298], si
movzx edi, word [0x64ab8de4]
fnstcw word [ebp - 0x27a]
fchs
movzx eax, word [ebp - 0x27a]
or ah, 0xc
mov word [ebp - 0x27c], ax
mov eax, esi
and eax, 1
cmp eax, 1
sbb eax, eax
and eax, 0xfffffed4
add eax, 0x2bc
mov dword [ebp - 0x268], eax
movzx eax, word [0x64ab8dd0]
fldcw word [ebp - 0x27c]
fistp dword [ebp - 0x278]
fldcw word [ebp - 0x27a]
mov al, dl
mov ah, byte [ebp - 0x298]
and eax, edi
mov word [ebp - 0x264], ax
mov eax, esi
and eax, 8
mov byte [ebp - 0x262], al
mov dword [esp], ebx
lea ebx, [ebp - 0x21c]
call sym._CreateFontIndirectW_4
sub esp, 4
mov edi, eax
mov dword [esp], 0
call sym._CreateCompatibleDC_4
sub esp, 4
mov esi, eax
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._SelectObject_8
mov dword [ebp - 0x21c], 0xd8
sub esp, 8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xd8
mov dword [esp], esi
call sym._GetOutlineTextMetricsW_12
sub esp, 0xc
mov dword [ebp - 0x298], eax
mov dword [esp], esi
call sym._DeleteDC_4
sub esp, 4
mov dword [esp], edi
call sym._DeleteObject_4
mov ecx, dword [ebp - 0x298]
mov edx, 0x10
sub esp, 4
test ecx, ecx
je 0x64a50990
mov dword [esp + 8], 0xe4
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, dword [ebp - 0x28c]
sub esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x64a50e00
mov edx, dword [ebp - 0x288]
fld dword [ebp - 0x284]
mov ecx, 0x36
mov dword [eax + 0xe0], edx
mov eax, dword [esi]
mov edx, dword [ebp - 0x290]
fstp dword [eax + 0xdc]
mov eax, esi
mov esi, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x284], esi
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax]
movzx eax, byte [0x64ab5078]
mov ecx, eax
and ecx, 8
test esi, esi
je 0x64a50b6a
test cl, cl
jne 0x64a50e60
mov ebx, dword [ebp - 0x280]
mov dword [esi], ebx
mov ecx, dword [ebx + 0x4c]
movzx eax, byte [0x64ab5078]
test ecx, ecx
je 0x64a50e48
test al, 8
je 0x64a50990
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x280], edx
mov eax, dword [eax]
mov dword [esp + 0xc], 0x64ab870d
mov dword [esp + 8], 0x64ab8c44
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp - 0x280]
jmp 0x64a50990
mov edi, eax
shr eax, 0x10
fstp qword [ebp - 0x298]
je 0x64a50cd0
mov dword [esp + 4], 0xffffffff
mov ebx, dword [ebp - 0x280]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x64ab8652
test edx, edx
jne 0x64a50ce0
cmp word [ebx], 0
mov ecx, ebx
je 0x64a510b3
nop
mov eax, edx
lea edx, [edx + 1]
cmp word [ecx + eax*2 + 2], 0
jne 0x64a50c00
mov ebx, 0x224c
lea edx, [ebp - 0x142]
mov word [ebp - 0x144], bx
jmp 0x64a50c64
cmp cx, 9
je 0x64a50d58
cmp cx, 0xa
jne 0x64a50d98
mov ecx, 0x6e5c
add edx, 2
mov word [edx - 2], cx
lea esi, [esi]
nop
sub eax, 1
jb 0x64a50fd0
lea ecx, [ebp - 0x22]
cmp ecx, edx
jb 0x64a50e10
movzx ecx, word [edi]
add edi, 2
cmp cx, 0xd
je 0x64a50d40
jbe 0x64a50c28
cmp cx, 0x22
je 0x64a50d70
cmp cx, 0x5c
jne 0x64a50d88
mov ecx, 0x5c5c
add edx, 2
mov word [edx - 2], cx
jmp 0x64a50c50
fstp st(0)
jmp 0x64a50cb2
fstp st(0)
jmp 0x64a50cb2
fstp st(0)
lea esp, [ebp - 0x10]
mov edx, 2
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 4], edi
mov dword [esp], 0x64ab8645
call sym._wine_dbg_sprintf.constprop.0
mov edx, dword [ebp - 0x28c]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x288]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
fld qword [ebp - 0x298]
mov dword [esp + 0x14], eax
fstp qword [esp + 0x18]
mov eax, dword [ebp - 0x280]
mov dword [esp + 0xc], str._p___s____f___d___d___p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x64ab8c44
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x64a50956
movzx ebx, word [0x64ab8dca]
add edx, 2
mov word [edx - 2], bx
jmp 0x64a50c50
mov ebx, 0x745c
add edx, 2
mov word [edx - 2], bx
jmp 0x64a50c50
movzx ebx, word [0x64ab8dcc]
add edx, 2
mov word [edx - 2], bx
jmp 0x64a50c50
lea ebx, [ecx - 0x20]
cmp bx, 0x5e
jbe 0x64a50df0
lea esi, [esi]
mov ebx, ecx
mov byte [edx], 0x5c
add edx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefGdipCreateFont]
mov byte [edx - 4], bl
mov ebx, ecx
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefGdipCreateFont]
mov byte [edx - 3], bl
mov ebx, ecx
and ecx, 0xf
shr bx, 4
movzx ecx, byte [ecx + str.0123456789abcdefGdipCreateFont]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefGdipCreateFont]
mov byte [edx - 1], cl
mov byte [edx - 2], bl
jmp 0x64a50c50
mov byte [edx], cl
add edx, 1
jmp 0x64a50c50
mov edx, 3
jmp 0x64a50990
mov byte [edx], 0x22
test eax, eax
je 0x64a50fd3
mov byte [edx + 3], 0x2e
mov eax, 0x2e2e
mov word [edx + 1], ax
lea eax, [edx + 4]
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x64a50ce0
lock add dword [ebx + 0x50], 1
movzx eax, byte [0x64ab5078]
jmp 0x64a50b6a
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov ebx, eax
shr eax, 0x10
je 0x64a51028
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x280]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, dword [ebp - 0x284]
mov ecx, eax
sub esp, 8
mov eax, 0x64ab8652
test ecx, ecx
jne 0x64a50f88
cmp word [edi], 0
je 0x64a510e8
mov eax, ecx
lea ecx, [ecx + 1]
cmp word [edi + eax*2 + 2], 0
jne 0x64a50eb0
mov edi, 0x224c
mov dword [ebp - 0x284], esi
mov word [ebp - 0x144], di
lea edi, [ebp - 0x142]
mov dword [ebp - 0x288], edx
jmp 0x64a50f10
cmp cx, 9
je 0x64a51010
cmp cx, 0xa
jne 0x64a51048
mov ecx, 0x6e5c
add edi, 2
mov word [edi - 2], cx
sub eax, 1
jb 0x64a510d1
lea ecx, [ebp - 0x22]
cmp ecx, edi
jb 0x64a50f44
movzx ecx, word [ebx]
add ebx, 2
cmp cx, 0xd
je 0x64a50fe0
jbe 0x64a50ee0
cmp cx, 0x22
je 0x64a50ff8
cmp cx, 0x5c
jne 0x64a510a0
mov esi, 0x5c5c
add edi, 2
mov word [edi - 2], si
jmp 0x64a50f00
mov esi, dword [ebp - 0x284]
mov edx, dword [ebp - 0x288]
mov byte [edi], 0x22
test eax, eax
je 0x64a510e0
mov ebx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [ebp - 0x284], edx
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x284], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x280]
mov dword [esp + 0xc], str._p___s____p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipCloneFontFamily
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov edx, dword [ebp - 0x284]
jmp 0x64a50b50
mov byte [edx], 0x22
lea eax, [edx + 1]
jmp 0x64a50e2b
movzx esi, word [0x64ab8dca]
add edi, 2
mov word [edi - 2], si
jmp 0x64a50f00
movzx esi, word [0x64ab8dcc]
add edi, 2
mov word [edi - 2], si
jmp 0x64a50f00
mov edx, 0x745c
add edi, 2
mov word [edi - 2], dx
jmp 0x64a50f00
mov dword [esp + 4], ebx
mov dword [esp], 0x64ab8645
call sym._wine_dbg_sprintf.constprop.0
mov edx, dword [ebp - 0x284]
jmp 0x64a50f88
mov esi, ecx
mov byte [edi], 0x5c
add edi, 5
shr si, 0xc
movzx esi, si
movzx edx, byte [esi + str.0123456789abcdefGdipCreateFont]
mov esi, ecx
shr si, 8
and esi, 0xf
mov byte [edi - 4], dl
movzx edx, byte [esi + str.0123456789abcdefGdipCreateFont]
mov esi, ecx
and ecx, 0xf
shr si, 4
movzx ecx, byte [ecx + str.0123456789abcdefGdipCreateFont]
and esi, 0xf
mov byte [edi - 3], dl
movzx edx, byte [esi + str.0123456789abcdefGdipCreateFont]
mov byte [edi - 1], cl
mov byte [edi - 2], dl
jmp 0x64a50f00
lea esi, [ecx - 0x20]
cmp si, 0x5e
ja 0x64a51048
mov byte [edi], cl
add edi, 1
jmp 0x64a50f00
mov edi, 0x224c
mov byte [ebp - 0x142], 0x22
lea eax, [ebp - 0x141]
mov word [ebp - 0x144], di
jmp 0x64a50e2b
mov esi, dword [ebp - 0x284]
mov edx, dword [ebp - 0x288]
mov byte [edi], 0x22
lea eax, [edi + 1]
jmp 0x64a50f6b
mov eax, 0x224c
mov byte [ebp - 0x142], 0x22
mov word [ebp - 0x144], ax
lea eax, [ebp - 0x141]
jmp 0x64a50f6b