Function at 0x64a6fe40
Capabilities:
Access peb ldr_data
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, 0xe8
mov eax, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x98], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0xac], eax
test byte [0x64ab50b0], 8
jne 0x64a70370
mov edi, dword [ebp - 0x94]
test edi, edi
je 0x64a70358
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x64a70358
mov edx, dword [ebp - 0x9c]
test ebx, ebx
sete al
test edx, edx
sete dl
or al, dl
jne 0x64a70358
mov edi, dword [ebp - 0xac]
test edi, edi
je 0x64a70358
cmp dword [ebp - 0x8c], 0xffffffff
je 0x64a70500
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x64a70310
mov eax, dword [ebp - 0x98]
and eax, 0xfffffffa
je 0x64a6ff14
test byte [0x64ab50b0], 1
jne 0x64a705d0
mov dword [esp + 4], esi
mov edx, ebx
lea ecx, [ebp - 0x88]
lea edi, [ebp - 0x6c]
mov dword [esp], 0
mov eax, dword [ebp - 0x94]
call sym._get_font_hfont.isra.0
mov dword [esp], 0
call sym._CreateCompatibleDC_4
mov ebx, eax
mov eax, dword [ebp - 0x88]
sub esp, 4
mov dword [ebp - 0xc0], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._SelectObject_8
lea eax, [ebp - 0x54]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._GetTextMetricsW_8
fldz
sub esp, 8
fst dword [ebp - 0x84]
fst dword [ebp - 0x80]
fld1
fst dword [ebp - 0x7c]
fxch st(1)
fst dword [ebp - 0x78]
fstp dword [ebp - 0x74]
fstp dword [ebp - 0x70]
test esi, esi
je 0x64a6ffd2
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x84]
mov dword [esp + 8], 3
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.gdiplus.dll_GdipTransformMatrixPoints
sub esp, 0xc
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call sym._get_graphics_transform
test eax, eax
je 0x64a702e8
mov dword [ebp - 0xbc], 0
fld dword [ebp - 0x80]
fld dword [ebp - 0x78]
fsub st(1)
fld dword [ebp - 0x84]
fld dword [ebp - 0x7c]
fsub st(1)
fxch st(2)
fmul st(0)
fxch st(2)
fmul st(0)
faddp st(2)
fxch st(1)
fsqrt
fstp dword [ebp - 0x94]
fxch st(1)
fsubr dword [ebp - 0x70]
fxch st(1)
fsubr dword [ebp - 0x74]
fld st(0)
fxch st(2)
fmul st(0)
fxch st(2)
fmulp st(1)
faddp st(1)
fsqrt
test byte [ebp - 0x98], 1
jne 0x64a70540
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x8c]
fld dword [eax]
fld dword [eax + 4]
fild dword [ebp - 0x50]
fdiv st(3)
fst dword [ebp - 0xa8]
fild dword [ebp - 0x4c]
fdivrp st(4)
test edx, edx
jle 0x64a70600
test byte [ebp - 0x98], 4
je 0x64a703e0
fld st(2)
xor esi, esi
fld st(2)
fld st(4)
fld st(4)
fxch st(4)
fsubr st(5)
fxch st(7)
faddp st(5)
fxch st(4)
fstp dword [ebp - 0xa8]
fxch st(5)
fstp dword [ebp - 0xb4]
fxch st(1)
mov eax, dword [ebp - 0x90]
fstp dword [ebp - 0xb0]
fxch st(1)
fstp dword [ebp - 0xa4]
fxch st(2)
movzx eax, word [eax + esi*2]
fstp dword [ebp - 0xa0]
fxch st(1)
fstp dword [ebp - 0x9c]
fstp dword [ebp - 0x98]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._GetCharABCWidthsW_16
fld dword [ebp - 0xb4]
fld dword [ebp - 0xb0]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x64]
sub esp, 0x10
add eax, dword [ebp - 0x68]
fcomi st(1)
fld st(0)
fcmovnbe st(0), st(2)
fld dword [ebp - 0xa0]
fld dword [ebp - 0xa8]
fucomi st(1)
fcmovbe st(0), st(1)
fstp st(1)
fld dword [ebp - 0x9c]
fld dword [ebp - 0x98]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x8c]
fucomi st(1)
fcmovnbe st(0), st(1)
fild dword [ebp - 0x98]
fdiv dword [ebp - 0x94]
faddp st(2)
fld dword [ebp - 0xa4]
fxch st(2)
fucomi st(2)
fxch st(2)
fcmovnbe st(0), st(2)
add esi, 1
cmp esi, eax
je 0x64a70238
fxch st(5)
fcompi st(6)
ja 0x64a70348
fstp st(5)
fxch st(1)
fxch st(2)
fxch st(3)
fxch st(4)
fxch st(3)
fstp dword [ebp - 0xb0]
fxch st(3)
jmp 0x64a70190
fxch st(1)
fxch st(2)
fxch st(3)
fxch st(1)
mov eax, dword [ebp - 0x90]
fstp dword [ebp - 0xa4]
fstp dword [ebp - 0xa0]
fxch st(1)
movzx eax, word [eax + esi*2]
fstp dword [ebp - 0x9c]
fstp dword [ebp - 0x98]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._GetCharABCWidthsW_16
fld dword [ebp - 0xa0]
fld dword [ebp - 0xa8]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x64]
sub esp, 0x10
add eax, dword [ebp - 0x68]
fucomi st(1)
fcmovbe st(0), st(1)
fstp st(1)
fld dword [ebp - 0x9c]
fld dword [ebp - 0x98]
mov dword [ebp - 0x98], eax
fucomi st(1)
fcmovnbe st(0), st(1)
fild dword [ebp - 0x98]
fdiv dword [ebp - 0x94]
faddp st(2)
fld dword [ebp - 0xa4]
fxch st(2)
fucomi st(2)
fxch st(2)
fcmovnbe st(0), st(2)
add esi, 1
cmp dword [ebp - 0x8c], esi
jg 0x64a70188
fstp st(2)
fxch st(1)
fld dword [ebp - 0xb0]
fxch st(1)
jmp 0x64a70240
fstp st(6)
fstp st(4)
fstp st(0)
fxch st(3)
fstp dword [ebp - 0x98]
fxch st(2)
mov edx, dword [ebp - 0xbc]
fstp dword [ebp - 0x94]
fxch st(1)
fstp dword [ebp - 0x90]
fstp dword [ebp - 0x8c]
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp], ebx
call sym._DeleteDC_4
mov eax, dword [ebp - 0xc0]
sub esp, 4
mov dword [esp], eax
call sym._DeleteObject_4
fld dword [ebp - 0x8c]
mov eax, dword [ebp - 0xac]
sub esp, 4
fst dword [eax]
fld dword [ebp - 0x90]
fst dword [eax + 4]
fld dword [ebp - 0x98]
fsubrp st(2)
fxch st(1)
fstp dword [eax + 8]
fld dword [ebp - 0x94]
fsubrp st(1)
fstp dword [eax + 0xc]
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
lea eax, [ebp - 0x84]
mov dword [esp + 8], 3
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.gdiplus.dll_GdipTransformMatrixPoints
sub esp, 0xc
jmp 0x64a6fffc
mov eax, dword [ebp - 0xac]
fldz
mov dword [ebp - 0x8c], 0
fst dword [eax]
fst dword [eax + 4]
fst dword [eax + 8]
fstp dword [eax + 0xc]
mov eax, dword [ebp - 0x98]
and eax, 0xfffffffa
je 0x64a6ff14
jmp 0x64a6ff07
fxch st(4)
fxch st(3)
fxch st(2)
fxch st(5)
jmp 0x64a700a4
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov eax, dword [ebp - 0x98]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 0xc], str.__p__p__d__p__p__d__p__p__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipMeasureDriverString
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x64a6fe9f
fstp st(0)
mov ecx, eax
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
fld st(0)
add ecx, 4
fld st(2)
fxch st(4)
mov dword [ebp - 0xb0], ebx
lea eax, [esi + eax*2]
fstp dword [ebp - 0xb8]
fxch st(3)
mov ebx, ecx
mov dword [ebp - 0xb4], eax
jmp 0x64a7041e
fxch st(2)
fxch st(3)
fxch st(1)
fstp dword [ebp - 0xa4]
fxch st(2)
movzx eax, word [esi]
fstp dword [ebp - 0xa0]
fxch st(1)
fstp dword [ebp - 0x9c]
fstp dword [ebp - 0x98]
fld dword [ebx - 4]
fstp dword [ebp - 0x90]
fld dword [ebx]
fstp dword [ebp - 0x8c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call sym._GetCharABCWidthsW_16
fld dword [ebp - 0xa8]
mov eax, dword [ebp - 0x64]
fld dword [ebp - 0x8c]
add eax, dword [ebp - 0x6c]
sub esp, 0x10
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xb4]
fsubr st(1), st(0)
fld dword [ebp - 0x9c]
fucomi st(2)
fcmovnbe st(0), st(2)
fstp st(2)
fadd dword [ebp - 0xb8]
fld dword [ebp - 0xa0]
fxch st(1)
fucomi st(1)
fcmovbe st(0), st(1)
fstp st(1)
fld dword [ebp - 0x90]
fld dword [ebp - 0x98]
fucomi st(1)
fcmovnbe st(0), st(1)
fild dword [ebp - 0x8c]
fdiv dword [ebp - 0x94]
faddp st(2)
fld dword [ebp - 0xa4]
fxch st(2)
fucomi st(2)
fcmovbe st(0), st(2)
fstp st(2)
add esi, 2
add ebx, 8
cmp esi, eax
jne 0x64a70418
fxch st(2)
fxch st(3)
fxch st(1)
mov ebx, dword [ebp - 0xb0]
jmp 0x64a70240
mov eax, dword [ebp - 0x90]
cmp word [eax], 0
je 0x64a70310
add eax, 2
cmp word [eax], 0
jne 0x64a70510
mov edx, dword [ebp - 0x90]
sub eax, edx
sar eax, 1
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
jne 0x64a6fefc
jmp 0x64a70310
mov edx, dword [ebp - 0x8c]
fstp dword [ebp - 0xa0]
mov eax, dword fs:[0x18]
add edx, edx
mov dword [esp + 4], 8
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
fld dword [ebp - 0xa0]
sub esp, 0xc
test eax, eax
mov dword [ebp - 0xbc], eax
je 0x64a70617
fstp dword [ebp - 0xa0]
mov esi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._GetGlyphIndicesW_20
mov dword [ebp - 0x90], esi
fld dword [ebp - 0xa0]
sub esp, 0x14
jmp 0x64a70052
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Ignoring_flags__x_n
mov dword [esp + 8], str.GdipMeasureDriverString
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.1_3
jmp 0x64a6ff14
fstp st(0)
fstp st(2)
fxch st(1)
fld st(0)
fld st(2)
fxch st(1)
fxch st(3)
fxch st(2)
fxch st(1)
jmp 0x64a70240
fstp st(0)
mov dword [esp], ebx
call sym._DeleteDC_4
mov eax, dword [ebp - 0xc0]
sub esp, 4
mov dword [esp], eax
call sym._DeleteObject_4
mov eax, 3
sub esp, 4
jmp 0x64a702d3