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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x452122
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x5c
push edi
xor edi, edi
cmp eax, edi
je 0x42c81a
cmp dword [esp + 0x74], edi
je 0x42c81a
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_1]
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 [0x45b2c8]
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 0x42c561
dec eax
je 0x42c559
dec eax
jne 0x42c575
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x42c568
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x42c568
mov ecx, dword [esp + 0x30]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x42c575
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 9]
sub eax, edi
je 0x42c594
dec eax
je 0x42c58c
dec eax
jne 0x42c5a8
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x42c59b
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x42c59b
mov ecx, dword [esp + 0x30]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x42c5a8
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
push 3
push edx
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, edi
je 0x42c5bc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push 0x1000
push eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, edi
je 0x42c5d3
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 0x42c5ed
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 [0x45b2c4]
fstp dword [esp + 0x14]
fild dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x5c]
jne 0x42c688
cmp dword [esi + 0x10], edi
jne 0x42c688
cmp dword [esi + 0x14], edi
jne 0x42c688
cmp dword [esi + 0x18], edi
je 0x42c72e
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 0x42c6f0
mov ecx, dword [esp + 0x30]
push edi
push ecx
jmp 0x42c6fb
cmp ecx, edi
je 0x42c708
mov edx, dword [esp + 0x30]
push 2
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x42c708
mov dword [esp + 0x34], eax
cmp dword [esi + 0x10], edi
je 0x42c715
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x42c721
cmp dword [esi + 0x18], edi
je 0x42c72e
mov ecx, dword [esp + 0x30]
push 2
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x42c72e
mov dword [esp + 0x34], eax
cmp dword [esp + 0x98], edi
je 0x42c753
fld dword [esp + 0x5c]
fadd dword [0x45b2c4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [0x45b2c4]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x80]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
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], 0x4582b8
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.0042b660
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