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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49d622
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x5c
push edi
xor edi, edi
cmp eax, edi
je 0x46ac9b
cmp dword [esp + 0x74], edi
je 0x46ac9b
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_2]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
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 [0x4bb148]
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 0x46a9d1
dec eax
je 0x46a9c9
dec eax
jne 0x46a9e5
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x46a9d8
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x46a9d8
mov ecx, dword [esp + 0x30]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x46a9e5
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 9]
sub eax, edi
je 0x46aa04
dec eax
je 0x46a9fc
dec eax
jne 0x46aa18
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x46aa0b
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x46aa0b
mov ecx, dword [esp + 0x30]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x46aa18
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
push 3
push edx
call sub.gdiplus.dll_GdipSetStringFormatTrimming
cmp eax, edi
je 0x46aa2c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push 0x1000
push eax
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, edi
je 0x46aa43
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 0x46aa5d
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 [0x4b83b8]
fstp dword [esp + 0x14]
fild dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x5c]
jne 0x46aaf8
cmp dword [esi + 0x10], edi
jne 0x46aaf8
cmp dword [esi + 0x14], edi
jne 0x46aaf8
cmp dword [esi + 0x18], edi
je 0x46abb0
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 0x46ab60
mov ecx, dword [esp + 0x30]
push edi
push ecx
jmp 0x46ab74
cmp ecx, edi
je 0x46ab6d
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x46ab74
mov eax, dword [esp + 0x30]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x46ab81
mov dword [esp + 0x34], eax
cmp dword [esi + 0x10], edi
je 0x46ab8e
mov ecx, dword [esp + 0x30]
push edi
push ecx
jmp 0x46aba3
cmp dword [esi + 0x18], edi
je 0x46ab9c
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x46aba3
mov eax, dword [esp + 0x30]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x46abb0
mov dword [esp + 0x34], eax
cmp dword [esp + 0x98], edi
je 0x46abd5
fld dword [esp + 0x5c]
fadd dword [0x4b83b8]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [0x4b83b8]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x80]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
movzx ecx, byte [esp + 0x7c]
movzx eax, bl
or eax, 0xffffff00
shl eax, 8
lea edx, [esp + 0x1c]
push edx
movzx edx, byte [esp + 0x17]
or eax, ecx
shl eax, 8
or eax, edx
push eax
mov dword [esp + 0x58], 0x4af300
mov dword [esp + 0x24], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x54]
push eax
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.00407ba0
push esi
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x30]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
push ebp
call sub.gdiplus.dll_GdipDeleteFont
mov edx, dword [esp + 0x38]
push edx
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 eax, dword [esp + 0x40]
push eax
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