Function at 0x64a76b80
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, 0x218
mov eax, dword [ecx]
fld dword [ecx + 0x14]
mov ebx, dword [ecx + 0xc]
mov edi, dword [ecx + 0x18]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ecx + 4]
fst dword [ebp - 0x1c4]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x1c8], eax
test byte [0x64ab50c0], 8
jne 0x64a76ef8
fstp st(0)
mov ecx, dword [ebp - 0x1c0]
test ecx, ecx
je 0x64a76ee0
mov edx, dword [ebp - 0x1bc]
test edx, edx
je 0x64a76ee0
test ebx, ebx
sete dl
je 0x64a76ee0
fldz
fld dword [ebp - 0x1c4]
fucompi st(1)
fstp st(0)
setnp al
cmovne eax, edx
test al, al
jne 0x64a76ee0
test edi, edi
je 0x64a76ee0
mov eax, dword [ebp - 0x1c8]
test eax, eax
je 0x64a76ee0
lea eax, [ebp - 0x1ae]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1cc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.gdiplus.dll_GdipGetEmHeight
sub esp, 0xc
mov esi, eax
test eax, eax
jne 0x64a76ee5
fld dword [edi]
movzx eax, word [ebp - 0x1ae]
lea esi, [ebp - 0x1a4]
mov dword [ebp - 0x1d8], eax
fstp dword [ebp - 0x190]
fld dword [edi + 4]
fstp dword [ebp - 0x18c]
fild dword [ebp - 0x1d8]
fld dword [edi + 8]
fmul st(1)
fld dword [ebp - 0x1c4]
fdiv st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x188]
fxch st(1)
fmul dword [edi + 0xc]
fdivrp st(1)
fstp dword [ebp - 0x184]
test byte [0x64ab50c0], 8
jne 0x64a77160
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
call sym._GdipClonePath_8.part.0
sub esp, 8
mov esi, eax
test eax, eax
jne 0x64a76ee5
mov dword [esp], 0
call sym._CreateCompatibleDC_4
mov dword [ebp - 0x1d8], eax
sub esp, 4
mov edx, eax
lea eax, [ebp - 0x1a8]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.gdiplus.dll_GdipCreateFromHDC
sub esp, 8
mov esi, eax
test eax, eax
jne 0x64a771c1
lea eax, [ebp - 0x1ac]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x1ae]
mov dword [ebp - 0x1cc], eax
fild dword [ebp - 0x1cc]
mov dword [esp], ebx
fstp dword [esp + 4]
call sym.gdiplus.dll_GdipCreateFont
sub esp, 0x14
mov esi, eax
test eax, eax
jne 0x64a771b0
lea esi, [ebp - 0x144]
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x1a8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call sym._get_log_fontW
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteFont
mov eax, dword [ebp - 0x1a8]
sub esp, 4
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteGraphics
sub esp, 4
mov dword [esp], esi
call sym._CreateFontIndirectW_4
sub esp, 4
mov ebx, eax
test eax, eax
je 0x64a77230
mov dword [esp + 4], eax
mov esi, dword [ebp - 0x1d8]
mov dword [esp], esi
call sym._SelectObject_8
lea eax, [ebp - 0x180]
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._GetTextMetricsW_8
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x19c], 0
sub esp, 8
mov dword [ebp - 0x1a0], eax
movzx eax, word [ebp - 0x1ae]
mov dword [ebp - 0x1cc], eax
fild dword [ebp - 0x1cc]
lea eax, [ebp - 0x1a0]
fdivr dword [ebp - 0x1c4]
fst dword [ebp - 0x198]
fild dword [ebp - 0x17c]
fmulp st(1)
fstp dword [ebp - 0x194]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], sym._format_string_callback
mov dword [esp + 0x18], 1
mov eax, dword [ebp - 0x1c8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x190]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1d0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp + 4], eax
mov dword [ebp - 0x1d8], esi
mov dword [esp], esi
call sym._gdip_format_string
mov esi, eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp], eax
call sym._DeleteDC_4
sub esp, 4
mov dword [esp], ebx
call sym._DeleteObject_4
sub esp, 4
test esi, esi
jne 0x64a77305
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [eax + 0x14]
cmp eax, 1
je 0x64a77269
cmp eax, 2
je 0x64a772c5
jmp 0x64a76ed0
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x64a76ed0
fstp st(0)
jmp 0x64a76ed0
fstp st(0)
lea esi, [esi]
mov dword [esp], ecx
call sym.gdiplus.dll_GdipDeletePath
sub esp, 4
jmp 0x64a76ee5
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 0x20
mov eax, dword [ebp - 0x1bc]
fstp qword [ebp - 0x1d8]
test eax, eax
je 0x64a771a0
shr eax, 0x10
je 0x64a76ff0
mov dword [esp + 4], 0xffffffff
mov esi, dword [ebp - 0x1bc]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x64abae3c
test edx, edx
jne 0x64a77006
cmp word [esi], 0
je 0x64a77208
mov ecx, esi
lea esi, [esi]
mov eax, edx
lea edx, [edx + 1]
cmp word [ecx + eax*2 + 2], 0
jne 0x64a76f50
mov esi, 0x224c
mov dword [ebp - 0x1dc], ebx
lea edx, [ebp - 0x142]
mov word [ebp - 0x144], si
mov esi, dword [ebp - 0x1bc]
jmp 0x64a76fb4
cmp cx, 9
je 0x64a77088
cmp cx, 0xa
jne 0x64a770b8
mov ecx, 0x6e5c
add edx, 2
mov word [edx - 2], cx
sub eax, 1
jb 0x64a771f0
lea ecx, [ebp - 0x22]
cmp ecx, edx
jb 0x64a77128
movzx ecx, word [esi]
add esi, 2
cmp cx, 0xd
je 0x64a77070
jbe 0x64a76f80
cmp cx, 0x22
je 0x64a770a0
cmp cx, 0x5c
jne 0x64a77110
mov ecx, 0x5c5c
add edx, 2
mov word [edx - 2], cx
jmp 0x64a76fa0
mov eax, dword [ebp - 0x1bc]
mov dword [esp], 0x64abac9f
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov esi, dword [ebp - 0x1c8]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
fld qword [ebp - 0x1d8]
fstp qword [esp + 0x24]
mov esi, dword [ebp - 0x1cc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov esi, dword [ebp - 0x1d0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov eax, dword [ebp - 0x1c0]
mov dword [esp + 0xc], str.__p___s___d___p___d___f___p___p__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipAddPathString
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x64a76be1
movzx ebx, word [0x64abb550]
add edx, 2
mov word [edx - 2], bx
jmp 0x64a76fa0
mov ebx, 0x745c
add edx, 2
mov word [edx - 2], bx
jmp 0x64a76fa0
movzx ebx, word [0x64abb552]
add edx, 2
mov word [edx - 2], bx
jmp 0x64a76fa0
mov ebx, ecx
mov byte [edx], 0x5c
add edx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + 0x64abb2c8]
mov byte [edx - 4], bl
mov ebx, ecx
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + 0x64abb2c8]
mov byte [edx - 3], bl
mov ebx, ecx
and ecx, 0xf
shr bx, 4
movzx ecx, byte [ecx + 0x64abb2c8]
and ebx, 0xf
movzx ebx, byte [ebx + 0x64abb2c8]
mov byte [edx - 1], cl
mov byte [edx - 2], bl
jmp 0x64a76fa0
lea ebx, [ecx - 0x20]
cmp bx, 0x5e
ja 0x64a770b8
mov byte [edx], cl
add edx, 1
jmp 0x64a76fa0
mov byte [edx], 0x22
mov ebx, dword [ebp - 0x1dc]
test eax, eax
je 0x64a771f9
mov esi, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], si
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x64a77006
mov dword [esp + 0x14], esi
mov eax, dword [ebp - 0x1c0]
mov dword [esp + 0xc], 0x64abae0b
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipClonePath
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x64a76cba
mov eax, 0x64abae35
jmp 0x64a77006
mov eax, dword [ebp - 0x1a8]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteGraphics
sub esp, 4
mov eax, dword [ebp - 0x1d8]
mov dword [esp], eax
call sym._DeleteDC_4
mov eax, dword [ebp - 0x1a4]
sub esp, 4
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeletePath
sub esp, 4
jmp 0x64a76ee5
mov byte [edx], 0x22
mov ebx, dword [ebp - 0x1dc]
lea eax, [edx + 1]
jmp 0x64a77149
mov eax, 0x224c
mov byte [ebp - 0x142], 0x22
mov word [ebp - 0x144], ax
lea eax, [ebp - 0x141]
jmp 0x64a77149
test byte [0x64ab50c0], 4
jne 0x64a773a5
mov eax, dword [ebp - 0x1d8]
mov esi, 1
mov dword [esp], eax
call sym._DeleteDC_4
mov eax, dword [ebp - 0x1a4]
sub esp, 4
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeletePath
sub esp, 4
jmp 0x64a76ee5
fld dword [edi + 4]
fld dword [ebp - 0x19c]
fld dword [edi + 0xc]
fld st(2)
fadd st(2)
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x64a76ebe
faddp st(2)
mov ebx, dword [ebp - 0x1c0]
mov eax, dword [ecx + 4]
fsubp st(1)
fmul dword [0x64abb52c]
cmp eax, dword [ebx + 4]
jge 0x64a76ec6
lea esi, [esi]
mov edx, dword [ebx + 8]
lea edx, [edx + eax*8]
add eax, 1
fld dword [edx + 4]
fadd st(1)
fstp dword [edx + 4]
cmp dword [ebx + 4], eax
jg 0x64a772a8
fstp st(0)
jmp 0x64a76ed0
mov ebx, dword [ebp - 0x1c0]
fld dword [edi + 0xc]
fadd dword [edi + 4]
mov eax, dword [ecx + 4]
fsub dword [ebp - 0x19c]
cmp eax, dword [ebx + 4]
jge 0x64a76eca
lea esi, [esi]
nop
mov edx, dword [ebx + 8]
lea edx, [edx + eax*8]
add eax, 1
fld dword [edx + 4]
fadd st(1)
fstp dword [edx + 4]
cmp dword [ebx + 4], eax
jg 0x64a772e8
fstp st(0)
jmp 0x64a76ed0
mov ecx, dword [ebp - 0x1c0]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
mov eax, dword [ecx + 8]
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 ebx
mov ecx, dword [ebp - 0x1c0]
sub esp, 0xc
mov eax, dword [ecx + 0xc]
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 ebx
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1c0]
sub esp, 0xc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
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 0x64a76ee5
mov dword [esp + 0xc], str.Failed_to_create_font_n
mov dword [esp + 8], str.GdipAddPathString
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.2
jmp 0x64a7723d