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

Disassembly:
push 0xffffffffffffffff
push 0x48c3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
lea eax, [esp + 0x10]
mov esi, ecx
xor ebx, ebx
push eax
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
push 4
push eax
mov dword [esp + 0x78], ebx
call sub.gdiplus.dll_GdipSetSmoothingMode
push eax
lea ecx, [esp + 0x2c]
call fcn.004194e0
mov ecx, dword [esp + 0x28]
push 7
push ecx
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, ebx
je 0x41865d
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], ebx
cmp eax, ebx
je 0x418677
lea edx, [esp + 0x78]
push edx
push eax
push edi
call sub.gdiplus.dll_GdipCreateFontFromLogfontA
jmp 0x418682
lea eax, [esp + 0x78]
push eax
push edi
call sub.gdiplus.dll_GdipCreateFontFromDC
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
mov eax, dword [0x4a9590]
cmp eax, ebx
jne 0x4186b9
push 0x4a9588
mov dword [0x4a9590], 0x4a9588
call sub.gdiplus.dll_GdipStringFormatGetGenericTypographic
mov ecx, dword [0x4a9590]
mov dword [ecx + 4], eax
mov eax, dword [0x4a9590]
cmp eax, ebx
mov dword [esp + 0x20], ebx
je 0x4186c5
mov eax, dword [eax]
jmp 0x4186c7
xor eax, eax
lea edx, [esp + 0x20]
push edx
push eax
call sub.gdiplus.dll_GdipCloneStringFormat
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push 2
push eax
mov byte [esp + 0x78], 2
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
push eax
lea ecx, [esp + 0x24]
call fcn.004194b0
mov ecx, dword [esp + 0x20]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x24]
call fcn.004194b0
mov eax, dword [esp + 0x98]
mov edi, dword [esi + 0x10]
cmp eax, ebx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
je 0x418817
fild dword [esp + 0x88]
mov eax, dword [esp + 0x84]
fstp dword [esp + 0x18]
fild dword [esp + 0x8c]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
test esi, esi
fstp dword [esp + 0x1c]
jne 0x418766
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0
push 0
push edx
push eax
lea ecx, [esp + 0x68]
call fcn.00419360
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0
and eax, ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push 0
neg ecx
push edx
push eax
sbb ecx, ecx
lea eax, [esp + 0x68]
and ecx, ebp
push eax
push ecx
mov ecx, dword [esp + 0x40]
push ebx
push esi
push ecx
call sub.gdiplus.dll_GdipMeasureString
test eax, eax
je 0x4187b9
mov dword [esp + 0x2c], eax
lea edx, [edi + edi]
sub esp, 8
mov dword [esp + 0x90], edx
fild dword [esp + 0x90]
fstp qword [esp + 0x20]
fld dword [esp + 0x58]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fadd qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x5c]
mov ecx, dword [esp + 0x98]
fstp qword [esp]
mov dword [ecx], eax
call dword [sym.imp.MSVCRT.dll_ceil]
fadd qword [esp + 0x20]
add esp, 8
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x94]
mov dword [edx], eax
jmp 0x418ad0
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
lea ecx, [edi + eax]
lea eax, [edi + edx]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x90]
fild dword [esp + 0x88]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x88], eax
lea eax, [edi + edi]
fstp dword [esp + 0x48]
fild dword [esp + 0x88]
sub edx, eax
mov dword [esp + 0x88], edx
mov edx, dword [ecx]
fstp dword [esp + 0x4c]
fild dword [esp + 0x88]
sub edx, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x88], edx
lea ecx, [esp + 0x98]
fstp dword [esp + 0x50]
fild dword [esp + 0x88]
push eax
push ecx
mov ecx, esi
fstp dword [esp + 0x5c]
call fcn.004191b0
push 6
lea ecx, [esp + 0x34]
mov esi, eax
mov dword [esp + 0x34], 0x492d8c
call fcn.004193f0
mov dword [esp + 0x30], 0x492d84
mov esi, dword [esi]
lea edx, [esp + 0x90]
mov dword [esp + 0x90], ebx
push edx
push esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x84]
mov eax, edi
neg eax
mov byte [esp + 0x70], 3
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], 3
fild dword [esp + 0x8c]
mov eax, edi
mov dword [esp + 0x94], 3
neg eax
fstp dword [esp + 0x7c]
mov dword [esp + 0x88], eax
fld dword [esp + 0x7c]
fadd dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], ecx
mov esi, dword [ebp + 4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x58]
fild dword [esp + 0x88]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x5c], edx
test esi, esi
fadd dword [esp + 0x5c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x5c]
jne 0x418970
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
mov edx, dword [esp + 0x20]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x14]
neg edx
sbb edx, edx
lea eax, [esp + 0x5c]
and edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x30]
push eax
push edx
push ebx
push esi
push ecx
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x4189b4
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x94]
add ecx, edi
dec eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], eax
jne 0x418925
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x84]
add ecx, edi
dec eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x84], eax
jne 0x418904
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.004191b0
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.004193e0
mov dword [esp + 0x3c], 0x492d84
mov esi, dword [esi]
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0
push ecx
push esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov eax, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov byte [esp + 0x70], 4
test eax, eax
je 0x418a6b
mov edi, eax
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x20]
neg eax
sbb eax, eax
mov ebp, dword [esp + 0x78]
and eax, ecx
lea ecx, [esp + 0x20]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x14]
neg edx
sbb edx, edx
lea eax, [esp + 0x4c]
and edx, ebp
push ecx
mov ecx, dword [esp + 0x30]
push eax
push edx
push esi
push edi
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x2c]
call fcn.004194e0
mov edx, dword [esp + 0x40]
mov esi, 0x492d8c
push edx
mov dword [esp + 0x40], esi
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], esi
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
push ebp
call sub.gdiplus.dll_GdipDeleteFont
mov edx, dword [esp + 0x28]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x24