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

Disassembly:
push 0xffffffffffffffff
push 0x485226
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e4
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x1c]
push edi
mov eax, dword [ebp + 0x6c]
xor edi, edi
push ecx
push eax
mov dword [esp + 0x28], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x2fc], edi
call fcn.004061a0
mov ecx, eax
call fcn.00408280
mov ebx, eax
xor ecx, ecx
mov eax, dword [ebx + 4]
mov esi, eax
mov cl, ah
and esi, 0xff
and ecx, 0xff
or esi, 0xffffff00
shl esi, 8
or esi, ecx
lea ecx, [esp + 0x48]
shr eax, 0x10
shl esi, 8
and eax, 0xff
or esi, eax
call fcn.00402950
lea edx, [esp + 0x28]
mov dword [esp + 0x48], 0x48ab1c
push edx
push esi
mov dword [esp + 0x30], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x2fc], 1
call fcn.00402950
lea ecx, [esp + 0x20]
mov esi, 0x48ab1c
push ecx
push 0xffffff00
mov dword [esp + 0x70], esi
mov dword [esp + 0x28], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2fc], 2
call fcn.00402950
lea eax, [esp + 0x28]
mov dword [esp + 0x5c], esi
push eax
push 0xffffffffffffffff
mov dword [esp + 0x30], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov byte [esp + 0x2fc], 3
call fcn.004061a0
mov ecx, eax
call fcn.004082a0
mov ecx, 0x86
mov esi, eax
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x2ec]
mov ecx, dword [esp + 0x2e4]
mov eax, dword [esp + 0x2e8]
mov dword [esp + 0x20], edx
xor edi, edi
lea edx, [esp + 0xdc]
mov dword [esp + 0x10], ecx
push edi
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], edi
call fcn.0041a5c0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp eax, edi
mov byte [esp + 0x2fc], 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], eax
je 0x419850
call fcn.0041a5f0
mov esi, dword [eax]
call fcn.0041a5f0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x419850
mov eax, dword [esp + 0x2c]
push eax
jmp 0x4198b3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push esi
call sub.gdiplus.dll_GdipCreateFont
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x4198ae
call fcn.0041a5f0
mov esi, dword [eax]
call fcn.0041a5f0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x419890
mov edx, dword [esp + 0x2c]
push edx
jmp 0x4198b3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call sub.gdiplus.dll_GdipCreateFont
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0x304]
mov byte [esp + 0x2fc], 5
cmp ecx, edi
jl 0x419a4a
mov eax, ecx
mov esi, 7
cdq
idiv esi
mov eax, 0x92492493
mov esi, edx
imul ecx
add edx, ecx
lea esi, [esi + esi*2]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx*8]
sub eax, edx
lea edx, [eax + eax + 0x16]
mov eax, dword [ebp + 0x60]
cmp ecx, eax
mov dword [esp + 0x10], edx
je 0x41998f
cmp ecx, dword [ebp + 0x64]
je 0x41998f
mov ebx, dword [ebx + 4]
xor ecx, ecx
mov eax, ebx
mov cl, bh
and eax, 0xff
and ecx, 0xff
or eax, 0xffffff00
lea edx, [esp + 0x2c]
shl eax, 8
or eax, ecx
push edx
shr ebx, 0x10
shl eax, 8
and ebx, 0xff
push edi
or eax, ebx
push 0x3f800000
push eax
mov dword [esp + 0x3c], edi
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push 0xb
add eax, 0xfffffffe
push 0xb
lea ecx, [esi + esi*4 + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov byte [esp + 0x314], 7
call sub.gdiplus.dll_GdipDrawRectangleI
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov ecx, dword [esp + 0x2c]
jmp 0x4199e2
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push edx
push edi
push 0x3f800000
push 0xfff0d264
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push 0xb
add eax, 0xfffffffe
push 0xb
lea ecx, [esi + esi*4 + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov byte [esp + 0x314], 6
call sub.gdiplus.dll_GdipDrawRectangleI
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov ecx, dword [esp + 0x2c]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
push 0xcc0020
push edi
push edi
push edx
mov edx, dword [ebp + 0x74]
push eax
push ecx
push edi
push edi
push edx
call dword [0x48a0ac]
mov eax, dword [esp + 0x38]
push eax
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x60]
mov esi, 0x48ab14
push ecx
mov dword [esp + 0x60], esi
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x68], esi
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], esi
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x41a1b0
cmp ecx, 0xfffffffe
jne 0x419bfc
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x42d80000
mov dword [esp + 0x20], edi
lea edx, [eax - 0x6c]
add eax, 0xffffff92
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fild dword [ebp + 0x48]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push eax
push edi
fst dword [esp + 0x24]
fstp dword [esp + 0xbc]
push edi
fstp dword [esp + 0xc4]
fild dword [esp + 0x1c]
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fsub dword [0x48ada0]
fstp dword [esp + 0x28]
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
push 2
push ecx
mov byte [esp + 0x304], 8
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x24]
call fcn.0041a520
cmp dword [ebp + 0x68], edi
je 0x419b10
mov ebx, dword [ebx + 0xc]
xor edx, edx
mov esi, ebx
mov dl, bh
and esi, 0xff
and edx, 0xff
or esi, 0xffffff00
shl esi, 8
or esi, edx
shr ebx, 0x10
shl esi, 8
and ebx, 0xff
or esi, ebx
jmp 0x419b15
mov esi, 0xff96a0aa
lea ecx, [esp + 0x2c]
call fcn.00402950
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], 0x48ab1c
push eax
push esi
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0x42da0000
lea ecx, [esp + 0x54]
push 0x3f800000
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x310], 9
call fcn.0041a540
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x2c]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
neg eax
sbb eax, eax
lea edx, [esp + 0x38]
and eax, esi
neg ecx
sbb ecx, ecx
push eax
and ecx, ebx
mov ebx, dword [esp + 0x3c]
neg edx
sbb edx, edx
lea eax, [esp + 0xb0]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push edx
push 0xffffffffffffffff
push str.more.
push ecx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
push 0xcc0020
push edi
push edi
push edx
mov edx, dword [ebp + 0x74]
push eax
push ecx
push edi
push edi
push edx
call dword [0x48a0ac]
mov eax, dword [esp + 0x30]
mov esi, 0x48ab14
push eax
mov dword [esp + 0x30], esi
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
jmp 0x41a177
mov eax, dword [ebx + 8]
xor ecx, ecx
mov esi, eax
mov cl, ah
and esi, 0xff
and ecx, 0xff
or esi, 0xffffff00
push 6
shl esi, 8
or esi, ecx
lea ecx, [esp + 0x90]
shr eax, 0x10
shl esi, 8
and eax, 0xff
mov dword [esp + 0x90], 0x48ab14
or esi, eax
call fcn.0041a4f0
lea edx, [esp + 0x10]
mov dword [esp + 0x8c], 0x48ab1c
push edx
push esi
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x48]
push 0x10
push eax
push edi
lea ecx, [esp + 0x98]
push edi
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x310], 0xa
call fcn.0041a580
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
push eax
push ecx
push 0x10
lea edx, [esp + 0x54]
push edi
push edx
lea ecx, [esp + 0x28]
call fcn.0041a580
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edi
push eax
push edi
push edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x2f0]
mov edx, dword [esp + 0x40]
push ecx
push edx
mov byte [esp + 0x304], 0xb
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x44]
call fcn.0041a520
mov dl, byte [ebx + 0xc]
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov byte [esp + 0x10], dl
mov esi, dword [esp + 0x10]
mov cl, byte [ebx + 0xd]
shr eax, 0x10
and esi, 0xff
mov byte [esp + 0x28], al
mov byte [esp + 0x1c], cl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
or esi, 0xffffff00
shl esi, 8
and eax, 0xff
or esi, eax
shl esi, 8
and ecx, 0xff
or esi, ecx
lea ecx, [esp + 0xa0]
call fcn.00402950
lea edx, [esp + 0x10]
mov ebx, 0x48ab1c
push edx
push esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [ebp + 0x48]
mov esi, dword [ebp + 0x40]
sub eax, esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xa0]
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x78]
and eax, ecx
lea ecx, [esp + 0x40]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x3c]
fild dword [esp + 0x20]
neg edx
sbb edx, edx
push ecx
and edx, dword [esp + 0x40]
lea ecx, [esp + 0xd4]
fstp dword [esp + 0xdc]
push ecx
push edx
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push esi
push edx
mov byte [esp + 0x318], 0xc
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0x40000000
mov dword [esp + 0xf4], 0x41800000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
lea ecx, [esp + 0x80]
call fcn.00402950
lea eax, [esp + 0x1c]
mov dword [esp + 0x80], ebx
push eax
push 0xff96a0aa
mov dword [esp + 0x24], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
mov edx, dword [ebp + 0x4c]
mov eax, dword [esp + 0x40]
sub edx, 0x6c
push 2
mov dword [esp + 0x14], edx
push eax
fild dword [esp + 0x18]
fild dword [ebp + 0x48]
mov byte [esp + 0x304], 0xd
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x42d80000
fstp dword [esp + 0xcc]
fstp dword [esp + 0xd0]
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x44]
call fcn.0041a520
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x80]
neg eax
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x40]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x3c]
neg edx
sbb edx, edx
push ecx
lea ecx, [esp + 0xc4]
and edx, esi
push ecx
push edx
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push str.more.
push edx
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
lea eax, [esp + 0x98]
mov dword [esp + 0x98], edi
push eax
push edi
push 0x3f800000
push 0xffa8a8a8
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x9c], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x2fc], 0xe
call fcn.00402950
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], ebx
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edx
mov byte [esp + 0x2fc], 0xf
xor eax, eax
mov edi, 0x16
lea ebx, [ebp + 0x7c]
mov dword [esp + 0x20], eax
mov esi, 4
mov ecx, dword [ebx]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
and edx, 0xff
or eax, 0xffffff00
shl eax, 8
or eax, edx
shr ecx, 0x10
shl eax, 8
and ecx, 0xff
or eax, ecx
push eax
mov eax, dword [esp + 0x7c]
push eax
call sub.gdiplus.dll_GdipSetSolidFillColor
push eax
lea ecx, [esp + 0x78]
call fcn.0041a4f0
push 9
push 9
lea ecx, [esi + 2]
push edi
lea edx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0041a580
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x14]
push 9
lea eax, [edi - 1]
push 9
push eax
lea eax, [esi + 1]
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipDrawRectangleI
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x60]
cmp eax, ecx
jne 0x41a02a
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push ecx
push 0
push 0x3f800000
push 0xfff0d264
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x2c]
lea eax, [edi - 2]
push 0xb
push 0xb
push eax
mov eax, dword [esp + 0x20]
push esi
push edx
push eax
mov byte [esp + 0x314], 0x10
call sub.gdiplus.dll_GdipDrawRectangleI
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x2fc], 0xf
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov ecx, dword [esp + 0x20]
add ebx, 4
add esi, 0xf
inc ecx
cmp esi, 0x6d
mov dword [esp + 0x20], ecx
jl 0x419f3f
add edi, 0xe
mov eax, ecx
cmp edi, 0x6a
jl 0x419f36
lea edx, [esp + 0x54]
mov dword [esp + 0x54], 0
push edx
push 0
push 0x3f800000
push 0xffffffffffffffff
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
dec eax
dec ecx
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
push 0
push eax
push ecx
mov byte [esp + 0x314], 0x11
call sub.gdiplus.dll_GdipDrawRectangleI
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov eax, dword [ebp + 0x48]
mov edx, dword [esp + 0x54]
push 0x11
push eax
mov eax, dword [esp + 0x1c]
push 0x11
push 0
push edx
push eax
call sub.gdiplus.dll_GdipDrawLineI
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov eax, dword [ebp + 0x48]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push 0x6a
push eax
push 0x6a
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawLineI
push eax
lea ecx, [esp + 0x18]
call fcn.004448c0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [ebp + 0x74]
push ecx
push edx
push 0
push 0
push eax
call dword [0x48a0ac]
mov ecx, dword [esp + 0x54]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov edx, dword [esp + 0x78]
mov esi, 0x48ab14
push edx
mov dword [esp + 0x78], esi
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x98]
push eax
call sub.gdiplus.dll_GdipDeletePen
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x80], esi
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xa0], esi
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x40]
push eax
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x8c], esi
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x38]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], esi
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x68], esi
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], esi
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x14]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2f0
ret 4