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

Disassembly:
push 0xffffffffffffffff
push 0x48c414
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe8]
lea eax, [esp + 0x10]
push edi
xor edi, edi
push eax
mov ebx, ecx
push esi
mov dword [esp + 0x1c], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
push 4
push eax
mov dword [esp + 0xec], edi
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, edi
je 0x418b5c
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
push 7
push ecx
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, edi
je 0x418b70
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x418b8d
lea edx, [esp + 0x18]
push edx
push eax
push esi
call sub.gdiplus.dll_GdipCreateFontFromLogfontA
jmp 0x418b98
lea eax, [esp + 0x18]
push eax
push esi
call sub.gdiplus.dll_GdipCreateFontFromDC
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [0x4a9590]
cmp eax, edi
jne 0x418bcf
push 0x4a9588
mov dword [0x4a9590], 0x4a9588
call sub.gdiplus.dll_GdipStringFormatGetGenericTypographic
mov edx, dword [0x4a9590]
mov dword [edx + 4], eax
mov eax, dword [0x4a9590]
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x418bdb
mov eax, dword [eax]
jmp 0x418bdd
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.gdiplus.dll_GdipCloneStringFormat
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
push 2
push edx
mov byte [esp + 0xec], 2
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x418c08
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x418c1c
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x108]
mov ebp, dword [ebx + 0x34]
cmp eax, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
je 0x418d2d
fild dword [esp + 0xf8]
mov eax, dword [esp + 0xf4]
fstp dword [esp + 0x5c]
fild dword [esp + 0xfc]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
cmp esi, edi
fstp dword [esp + 0x60]
jne 0x418c7b
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 + 0x60]
mov edx, dword [esp + 0x5c]
push edi
push edi
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.00419360
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
neg eax
mov edx, dword [esp + 0x18]
push edi
sbb eax, eax
push edi
and eax, ecx
lea ecx, [esp + 0x44]
neg ecx
sbb ecx, ecx
and ecx, edx
lea edx, [esp + 0x34]
push edx
push eax
lea eax, [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push esi
push ecx
call sub.gdiplus.dll_GdipMeasureString
cmp eax, edi
je 0x418cd4
mov dword [esp + 0x28], eax
lea edx, [ebp + ebp]
sub esp, 8
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp qword [esp + 0x44]
fld dword [esp + 0x3c]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fadd qword [esp + 0x44]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x40]
mov ecx, dword [esp + 0x108]
fstp qword [esp]
mov dword [ecx], eax
call dword [sym.imp.MSVCRT.dll_ceil]
fadd qword [esp + 0x44]
add esp, 8
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x104]
mov dword [edx], eax
jmp 0x4190ec
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0xfc]
lea ecx, [eax + ebp]
lea eax, [edx + ebp]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x100]
fild dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
lea eax, [ebp + ebp]
fstp dword [esp + 0x2c]
fild dword [esp + 0x10]
sub edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
fstp dword [esp + 0x30]
fild dword [esp + 0x10]
sub edx, eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x5c]
fstp dword [esp + 0x34]
fild dword [esp + 0x10]
push eax
push ecx
mov ecx, ebx
fstp dword [esp + 0x40]
call fcn.004191b0
push 6
lea ecx, [esp + 0x80]
mov esi, eax
mov dword [esp + 0x80], 0x492d8c
call fcn.004193f0
mov dword [esp + 0x7c], 0x492d84
mov esi, dword [esi]
lea edx, [esp + 0x64]
mov dword [esp + 0x64], edi
push edx
push esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x80], eax
mov eax, ebp
mov byte [esp + 0xe4], 3
neg eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 3
fild dword [esp + 0x14]
mov eax, ebp
mov dword [esp + 0x50], 3
neg eax
fstp dword [esp + 0x68]
mov dword [esp + 0x54], eax
fld dword [esp + 0x68]
fadd dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], eax
fstp dword [esp + 0x6c]
fild dword [esp + 0x54]
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], ecx
fadd dword [esp + 0x70]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
test esi, esi
fstp dword [esp + 0x70]
jne 0x418e60
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 + 0x80]
lea eax, [esp + 0x7c]
neg eax
mov edx, dword [esp + 0x1c]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x1c]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x40]
neg edx
sbb edx, edx
lea eax, [esp + 0x70]
and edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push edx
push edi
push esi
push ecx
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x418ea7
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
add ecx, ebp
dec eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
jne 0x418e11
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, ebp
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x418df9
mov ebp, dword [ebx + 0x40]
cmp ebp, 1
jle 0x418ee6
lea edi, [ebp - 1]
jmp 0x418ee8
xor edi, edi
fld dword [esp + 0x2c]
fadd dword [esp + 0x34]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x30]
mov esi, eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x2c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x30]
fadd dword [esp + 0x38]
mov esi, eax
call sub.MSVCRT.dll__ftol
mov edx, dword [ebx + edi*4 + 0x44]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x74], esi
call fcn.004191b0
mov ecx, dword [ebx + 0x44]
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, ebx
mov esi, eax
call fcn.004191b0
push 6
lea ecx, [esp + 0x48]
mov edi, eax
mov dword [esp + 0x48], 0x492d8c
call fcn.004193f0
lea eax, [esp + 0x10]
mov dword [esp + 0x44], 0x492d94
mov esi, dword [esi]
mov edi, dword [edi]
push eax
push 0
push esi
lea ecx, [esp + 0x60]
push edi
lea edx, [esp + 0x7c]
push ecx
push edx
mov dword [esp + 0x28], 0
call sub.gdiplus.dll_GdipCreateLineBrushI
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, 0xa
mov eax, 0xff000000
lea edi, [esp + 0x8c]
xor esi, esi
test ebp, ebp
mov byte [esp + 0xe4], 4
rep stosd dword es:[edi], eax
jle 0x41905e
lea eax, [ebx + 0x44]
lea edi, [ebx + 0x70]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x5c]
mov edx, dword [ecx]
mov ecx, ebx
push edx
push eax
call fcn.004191b0
mov ecx, dword [eax]
fld qword [edi]
mov dword [esp + esi*4 + 0x8c], ecx
mov ecx, dword [esp + 0x14]
fstp dword [esp + esi*4 + 0xb4]
inc esi
add edi, 8
add ecx, 4
cmp esi, ebp
mov dword [esp + 0x14], ecx
jl 0x418fc7
test ebp, ebp
jle 0x41905e
lea edx, [esp + 0x8c]
test edx, edx
je 0x41905e
lea eax, [ebp*4]
push eax
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41905a
mov ecx, ebp
lea esi, [esp + 0x8c]
mov edi, ebx
push ebp
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xb8]
push ecx
push ebx
push edx
call sub.gdiplus.dll_GdipSetLinePresetBlend
push eax
lea ecx, [esp + 0x48]
call fcn.004193f0
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x419069
push 3
jmp 0x419060
push 2
lea ecx, [esp + 0x48]
call fcn.004193f0
mov eax, dword [esp + 0xf4]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
test esi, esi
jne 0x419080
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 edi, dword [esp + 0x48]
lea eax, [esp + 0x44]
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
neg eax
sbb eax, eax
lea edx, [esp + 0x3c]
and eax, edi
neg ecx
sbb ecx, ecx
push eax
and ecx, ebp
mov ebp, dword [esp + 0x1c]
neg edx
sbb edx, edx
lea eax, [esp + 0x30]
and edx, ebp
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push edx
push ebx
push esi
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x28]
call fcn.004194e0
mov edx, dword [esp + 0x48]
mov esi, 0x492d8c
push edx
mov dword [esp + 0x48], esi
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x80]
mov dword [esp + 0x7c], esi
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edx, dword [esp + 0x18]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x24]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret 0x20