Function at 0x440310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469ce2
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x5c
push edi
xor edi, edi
cmp eax, edi
je 0x4406ea
cmp dword [esp + 0x74], edi
je 0x4406ea
push ebx
push ebp
push esi
lea ecx, [esp + 0x7c]
push ecx
push eax
mov dword [esp + 0x84], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x94]
lea eax, [esi + 0x36]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea edx, [esp + 0x38]
push edx
push edi
push eax
mov dword [esp + 0x44], edi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x3c], eax
fild dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, eax
fstp dword [esp + 0x7c]
and ecx, 7
fld dword [esp + 0x7c]
and eax, 8
fdiv dword [0x4741f4]
or eax, ecx
lea ecx, [esp + 0x7c]
push ecx
push 3
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], edi
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
push edx
push eax
call sub.gdiplus.dll_GdipCreateFont
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
lea ecx, [esp + 0x30]
push ecx
push edi
push edi
mov dword [esp + 0x3c], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 8]
sub eax, edi
mov byte [esp + 0x74], 5
je 0x440431
dec eax
je 0x440429
dec eax
jne 0x440445
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x440438
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x440438
mov ecx, dword [esp + 0x30]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x440445
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 9]
sub eax, edi
je 0x440464
dec eax
je 0x44045c
dec eax
jne 0x440478
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x44046b
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x44046b
mov ecx, dword [esp + 0x30]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x440478
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
push 3
push edx
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, edi
je 0x44048c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push 0x1000
push eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, edi
je 0x4404a3
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x30]
push ecx
push edx
call sub.gdiplus.dll_GdipSetStringFormatHotkeyPrefix
cmp eax, edi
je 0x4404bd
mov dword [esp + 0x34], eax
mov al, byte [esi + 0x79]
mov cl, byte [esi + 0x7a]
mov edx, dword [esp + 0x90]
mov byte [esp + 0x7c], al
sub edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov bl, byte [esi + 0x78]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x18], eax
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x18]
mov dword [esp + 0x68], eax
cmp dword [esi + 0xc], edi
fstp dword [esp + 0x18]
fild dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [0x472b90]
fstp dword [esp + 0x14]
fild dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x5c]
jne 0x440558
cmp dword [esi + 0x10], edi
jne 0x440558
cmp dword [esi + 0x14], edi
jne 0x440558
cmp dword [esi + 0x18], edi
je 0x4405fe
mov eax, dword [esi + 0xc]
cmp eax, edi
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fild dword [esi + 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fadd dword [esp + 0x14]
fstp dword [esp + 0x60]
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x64]
fild dword [esi + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x68]
je 0x4405c0
mov ecx, dword [esp + 0x30]
push edi
push ecx
jmp 0x4405cb
cmp ecx, edi
je 0x4405d8
mov edx, dword [esp + 0x30]
push 2
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x4405d8
mov dword [esp + 0x34], eax
cmp dword [esi + 0x10], edi
je 0x4405e5
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x4405f1
cmp dword [esi + 0x18], edi
je 0x4405fe
mov ecx, dword [esp + 0x30]
push 2
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x4405fe
mov dword [esp + 0x34], eax
cmp dword [esp + 0x98], edi
je 0x440623
fld dword [esp + 0x5c]
fadd dword [0x472b90]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [0x472b90]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x80]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
movzx edx, byte [esp + 0x7c]
movzx ecx, bl
or ecx, 0xffffff00
shl ecx, 8
lea eax, [esp + 0x1c]
push eax
movzx eax, byte [esp + 0x17]
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
mov dword [esp + 0x58], 0x46fef0
mov dword [esp + 0x24], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x58]
call fcn.0043f530
push esi
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
push ebp
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x38]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x40]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
pop edi
mov dword fs:[0], ecx
add esp, 0x68
ret