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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4520e2
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x50
push edi
xor edi, edi
cmp eax, edi
je 0x42c421
push ebp
mov ebp, dword [esp + 0x6c]
cmp ebp, edi
je 0x42c420
push esi
mov esi, dword [esp + 0x8c]
cmp esi, edi
je 0x42c41f
lea ecx, [esp + 0x6c]
push ecx
push eax
mov dword [esp + 0x74], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
lea eax, [esi + 0x1a]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea edx, [esp + 0x28]
push edx
push edi
push eax
mov dword [esp + 0x34], edi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x2c], eax
fild dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, eax
fstp dword [esp + 0x6c]
and ecx, 7
fld dword [esp + 0x6c]
and eax, 8
fdiv dword [0x45b2c8]
or eax, ecx
push 3
push eax
push ecx
lea eax, [esp + 0x34]
lea ecx, [esp + 0x44]
fstp dword [esp]
push eax
call fcn.0042b7d0
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
mov dword [esp + 0x2c], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x84]
sub eax, edi
mov byte [esp + 0x64], 5
je 0x42c258
dec eax
je 0x42c255
dec eax
jne 0x42c263
push 2
jmp 0x42c25a
push edi
jmp 0x42c25a
push 1
lea ecx, [esp + 0x24]
call fcn.0042b620
movzx eax, byte [esp + 0x88]
sub eax, edi
je 0x42c27c
dec eax
je 0x42c279
dec eax
jne 0x42c287
push 2
jmp 0x42c27e
push edi
jmp 0x42c27e
push 1
lea ecx, [esp + 0x24]
call fcn.0042b640
mov edx, dword [esp + 0x20]
push 3
push edx
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, edi
je 0x42c29b
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push 0x1000
push eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, edi
je 0x42c2b2
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
push ecx
push edx
call sub.gdiplus.dll_GdipSetStringFormatHotkeyPrefix
cmp eax, edi
je 0x42c2cc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
sub eax, esi
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
sub ecx, edx
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x1c]
push ebx
fild dword [esp + 0x70]
mov ebx, dword [esp + 0x94]
mov ecx, dword [esp + 0x20]
shr ebx, 0x10
fstp dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
fild dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x98]
cmp eax, edi
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fadd dword [0x45b2c4]
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
fild dword [esp + 0x78]
mov dword [esp + 0x54], edx
fstp dword [esp + 0x50]
je 0x42c363
fld dword [esp + 0x50]
fadd dword [0x45b2c4]
fstp dword [esp + 0x50]
fld dword [esp + 0x70]
fadd dword [0x45b2c4]
fstp dword [esp + 0x54]
push ebp
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esp + 0x94]
movzx edx, al
or edx, 0xffffff00
shl edx, 8
movzx eax, ah
or edx, eax
movzx ecx, bl
shl edx, 8
or edx, ecx
mov dword [esp + 0x70], edx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x48]
call fcn.0040d160
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x4c]
call fcn.0042b660
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x48], 0x4582b0
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x24]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edx, dword [esp + 0x3c]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x2c]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x34]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x54]
pop edi
mov dword fs:[0], ecx
add esp, 0x5c
ret