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

Disassembly:
push 0xffffffffffffffff
push 0x4423f9
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov edi, ecx
fld dword [edi + 0x58]
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x1c]
fld1
xor esi, esi
push esi
push ecx
fstp dword [esp]
push 0xff000000
mov dword [esp + 0x54], esi
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x48], eax
mov dword [esp + 0xec], esi
mov ebx, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
mov edx, dword [edi + 0x100]
mov eax, dword [edi + 0x108]
sub ecx, ebx
sub eax, edx
dec ecx
mov edx, 1
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
push ecx
lea edx, [esp + 0x24]
dec eax
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 0x104]
mov ebp, dword [edi + 0x108]
mov edx, dword [edi + 0x10c]
sub ebp, eax
sub edx, ecx
push 0x10
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], edx
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
cmp ebx, esi
je 0x41f5e2
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push eax
push esi
push 0x26200a
push esi
push ecx
push ebp
mov dword [ebx], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x34], esi
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov edx, dword [esp + 0x1c]
mov dword [ebx + 8], eax
mov dword [ebx + 4], edx
mov dword [esp + 0x3c], ebx
jmp 0x41f5e8
mov dword [esp + 0x3c], esi
mov ebx, esi
push 8
call sub.gdiplus.dll_GdipAlloc
mov ebp, eax
cmp ebp, esi
je 0x41f617
mov dword [esp + 0x1c], esi
cmp ebx, esi
je 0x41f60e
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov dword [ebp + 4], eax
mov edx, dword [esp + 0x1c]
mov dword [ebp], edx
jmp 0x41f619
xor ebp, ebp
mov eax, dword [ebp]
push 2
push eax
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, esi
je 0x41f62b
mov dword [ebp + 4], eax
push ebp
mov eax, edi
call fcn.00422400
fild dword [esp + 0x60]
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xac]
fstp dword [esp + 0x30]
lea edx, [esp + 0x4c]
fild dword [esp + 0x64]
push edx
push esi
push eax
fstp dword [esp + 0x28]
push ecx
fld dword [esp + 0x40]
lea eax, [esp + 0x44]
fstp dword [esp + 0x44]
push eax
fld dword [esp + 0x30]
lea ecx, [esp + 0x64]
fstp dword [esp + 0x4c]
mov ebx, vtable.Gdiplus::LinearGradientBrush.0
fldz
push ecx
fst dword [esp + 0x68]
mov dword [esp + 0x70], ebx
fstp dword [esp + 0x6c]
mov dword [esp + 0x64], esi
call sub.gdiplus.dll_GdipCreateLineBrush
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x28]
mov ecx, eax
sub ecx, dword [esp + 0x20]
cdq
mov dword [esp + 0x30], ecx
sub eax, edx
fild dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
fdiv qword [0x44c440]
sar eax, 1
push esi
push 0xff000000
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], edx
push 0xff000000
lea edx, [esp + 0x44]
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x58], esi
fstp dword [esp + 0x48]
call sub.gdiplus.dll_GdipCreateLineBrushI
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
mov eax, dword [edi + 0xc8]
mov dl, byte [edi + 0xc8]
mov ecx, eax
shr eax, 0x10
movzx eax, al
shr ecx, 8
or eax, 0x6400
movzx ecx, cl
shl eax, 8
or eax, ecx
movzx edx, dl
shl eax, 8
or eax, edx
mov dword [esp + 0x94], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
fld1
mov eax, dword [edi + 0xc8]
lea ecx, [esp + 0x80]
push ecx
push esi
push ecx
fstp dword [esp]
push eax
mov dword [esp + 0x90], esi
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x84], eax
mov byte [esp + 0xec], 4
mov eax, dword [edi + 0xf0]
mov eax, dword [eax]
mov ebx, dword [edi + 0xd8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
lea ecx, [ecx]
mov edx, dword [edi + 0xf0]
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x7c], edx
cmp ebx, esi
je 0x41f7c8
cmp ebx, eax
je 0x41f7ce
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x38], eax
je 0x41faaf
cmp ebx, esi
jne 0x41faa8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor ebx, ebx
mov ecx, dword [esp + 0x38]
cmp ecx, dword [ebx + 0x18]
jne 0x41f7fb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x38]
mov ebx, dword [edx + 0x10]
cmp ebx, esi
je 0x41fa94
fld dword [0x44c438]
mov eax, dword [ebx + 0x20]
push ecx
fstp dword [esp]
push eax
lea esi, [esp + 0x58]
call fcn.0041ffd0
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call sub.gdiplus.dll_GdipSetPenColor
test eax, eax
je 0x41f836
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipSetLineColors
test eax, eax
je 0x41f853
mov dword [esp + 0x90], eax
fild dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
fstp dword [esp + 0xd0]
fild dword [esp + 0x24]
mov dword [esp + 0x14], eax
sub esp, 8
lea edx, [esp + 0x90]
fstp dword [esp + 0xdc]
lea eax, [esp + 0xd8]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov esi, ebp
fstp dword [esp + 0xe0]
fild dword [esp + 0x1c]
fstp dword [esp + 0xe4]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push edx
call fcn.0041ee60
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
push eax
mov eax, dword [esp + 0x44]
push ecx
push eax
call sub.gdiplus.dll_GdipSetLineColors
test eax, eax
je 0x41f8db
mov dword [esp + 0x90], eax
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
fld st(0)
mov edx, dword [esp + 0x2c]
faddp st(2)
sub edx, dword [esp + 0x24]
fxch st(1)
mov dword [esp + 0x14], ecx
sub esp, 8
fstp dword [esp + 0xa8]
lea eax, [esp + 0x90]
fild dword [esp + 0x2c]
mov esi, ebp
fadd st(1)
fstp dword [esp + 0xac]
fadd st(0), st(0)
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fsub st(1)
fstp dword [esp + 0xb0]
fisubr dword [esp + 0x1c]
fstp dword [esp + 0xb4]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
lea eax, [esp + 0xac]
call fcn.0041ee60
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0xc0]
fild dword [esp + 0x24]
sub edx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
sub esp, 8
fstp dword [esp + 0xcc]
lea eax, [esp + 0x4c]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0xd0]
fild dword [esp + 0x1c]
fstp dword [esp + 0xd4]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
lea eax, [esp + 0xcc]
call fcn.0041ed70
cmp dword [ebx + 0x44], 0
je 0x41fa89
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
fstp dword [esp + 0xb0]
fild dword [esp + 0x24]
mov dword [esp + 0x14], ecx
sub esp, 8
lea eax, [esp + 0x9c]
fstp dword [esp + 0xbc]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0xc0]
fild dword [esp + 0x1c]
fstp dword [esp + 0xc4]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
lea eax, [esp + 0xbc]
call fcn.0041ee60
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x68]
fild dword [esp + 0x24]
sub edx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
sub esp, 8
fstp dword [esp + 0x74]
lea eax, [esp + 0x88]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x78]
fild dword [esp + 0x1c]
fstp dword [esp + 0x7c]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
lea eax, [esp + 0x74]
call fcn.0041ed70
fld dword [esp + 0x18]
fadd dword [ebx + 0xc]
fstp dword [esp + 0x18]
lea esi, [esp + 0x34]
call fcn.00405c70
mov ebx, dword [esp + 0x34]
xor esi, esi
jmp 0x41f7b0
mov ebx, dword [ebx]
jmp 0x41f7ec
cmp dword [edi + 0xf4], esi
je 0x41fbfe
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x30]
mov edx, dword [esp + 0x24]
fld qword [0x44c430]
lea eax, [edx + ecx]
fmul st(1)
mov ecx, dword [esp + 0x20]
cdq
sub eax, edx
fst qword [esp + 0x34]
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x4c]
mov edx, dword [ebp]
fild dword [esp + 0x78]
sub esp, 0x10
fsub st(1)
fstp dword [esp + 0x28]
fisubr dword [esp + 0x24]
fstp dword [esp + 0x24]
fmul qword [0x44c428]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [esp + 0x80]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
push ebx
push edx
call sub.gdiplus.dll_GdipFillEllipse
cmp eax, esi
je 0x41fb5d
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x44]
push ebx
push eax
call sub.gdiplus.dll_GdipSetPenBrushFill
cmp eax, esi
je 0x41fb70
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x44]
mov eax, dword [ebp]
fild dword [esp + 0x78]
sub esp, 0x10
fld qword [esp + 0x44]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x28]
fisubr dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fst dword [esp + 0x80]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
push edx
push eax
call sub.gdiplus.dll_GdipDrawEllipse
cmp eax, esi
je 0x41fbfe
mov dword [ebp + 4], eax
push ebp
push edi
call fcn.00420350
cmp dword [edi + 0xd4], esi
je 0x41fc14
push ebp
push edi
call fcn.00420e50
mov ecx, dword [ebp]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
push ebp
call sub.gdiplus.dll_GdipFree
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebp
push 0xc
mov byte [esp + 0xf0], 5
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
cmp ebx, esi
je 0x41fc7e
mov edx, dword [esp + 0x3c]
lea eax, [ebx + 4]
push eax
mov dword [ebx], vtable.Gdiplus::CachedBitmap.0
mov dword [eax], esi
mov eax, dword [edx + 4]
push ebp
push eax
call sub.gdiplus.dll_GdipCreateCachedBitmap
mov dword [ebx + 8], eax
mov ebp, ebx
jmp 0x41fc80
xor ebp, ebp
mov ebx, dword [esp + 0x3c]
call fcn.00423120
mov ecx, ebx
cmp ecx, esi
je 0x41fc97
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp + 4]
mov edi, dword [esp + 0x18]
push esi
push esi
push ecx
push edi
call sub.gdiplus.dll_GdipDrawCachedBitmap
cmp eax, esi
je 0x41fcaf
mov dword [esp + 0x38], eax
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x80]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov edx, dword [esp + 0x1c]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x40]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x4c]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x44]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 4