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

Disassembly:
push 0xffffffffffffffff
push 0x442a4e
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd8]
fld dword [0x44c44c]
lea eax, [esp + 0x48]
push eax
xor esi, esi
push esi
push ecx
fstp dword [esp]
push 0xffffffffffffffff
mov dword [esp + 0x58], esi
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x4c], eax
mov dword [esp + 0xd0], esi
mov ecx, dword [ebp + 0x104]
mov esi, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x100]
mov edx, dword [ebp + 0x108]
sub esi, ecx
sub edx, eax
mov dword [esp + 0x5c], esi
lea edi, [esp + 0xb8]
lea ebx, [esp + 0x30]
mov esi, ebp
mov dword [esp + 0x58], edx
call fcn.00422590
push ebp
call fcn.00422880
push 0x10
call sub.gdiplus.dll_GdipAlloc
xor ebx, ebx
mov esi, eax
mov dword [esp + 0x2c], ebx
cmp esi, ebx
je 0x421bfc
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push 0x26200a
push ebx
push edx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x2c], esi
jmp 0x421bfe
mov esi, ebx
push 8
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x421c2c
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x421c24
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
jmp 0x421c2e
xor edi, edi
mov edx, dword [edi]
push 2
push edx
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, ebx
je 0x421c3f
mov dword [edi + 4], eax
push edi
mov eax, ebp
call fcn.00422400
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
push eax
push ebx
push 0xff000000
mov dword [esp + 0x2c], ecx
push 0xff000000
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0xb8], vtable.Gdiplus::LinearGradientBrush.0
mov dword [esp + 0x58], ebx
call sub.gdiplus.dll_GdipCreateLineBrushI
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0xc8]
mov dl, byte [ebp + 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
lea ecx, [esp + 0x44]
or eax, edx
push ecx
push eax
mov dword [esp + 0xb4], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x4c], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], edx
fld1
mov eax, dword [ebp + 0xc8]
lea ecx, [esp + 0x60]
push ecx
push ebx
push ecx
fstp dword [esp]
push eax
mov dword [esp + 0x70], ebx
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x64], eax
mov byte [esp + 0xd0], 3
fld dword [ebp + 0x5c]
mov eax, dword [ebp + 0xf0]
fstp dword [esp + 0x24]
mov eax, dword [eax]
mov esi, dword [ebp + 0xd8]
mov ebx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov edx, dword [ebp + 0xf0]
fld qword [0x44c390]
mov eax, dword [ebp + 0xd8]
mov dword [esp + 0x8c], edx
test esi, esi
je 0x421d68
cmp esi, eax
je 0x421d76
fstp st(0)
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
fld qword [0x44c390]
cmp ebx, dword [esp + 0x8c]
je 0x421f8f
test esi, esi
jne 0x421dd9
fstp st(0)
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
fld qword [0x44c390]
cmp ebx, dword [esi + 0x18]
jne 0x421da8
fstp st(0)
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
fld qword [0x44c390]
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x421f77
fld dword [esp + 0x24]
fst dword [esp + 0x14]
fld dword [esi + 0x2c]
fstp dword [esp + 0x28]
fld dword [0x44c398]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x421ddd
fsub st(1)
fstp dword [esp + 0x14]
jmp 0x421ddf
mov esi, dword [esi]
jmp 0x421d95
fstp st(0)
fld dword [0x44c448]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x421ebb
fld dword [esi + 0x2c]
fadd st(1)
fld qword [0x44c3b8]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x421e1a
fstp st(4)
push 1
fstp st(0)
fstp st(1)
fstp st(1)
fld dword [esp + 0x2c]
jmp 0x421e88
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 0x41
jp 0x421e3d
fstp st(4)
push 1
fstp st(3)
fstp st(1)
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
jmp 0x421e88
fstp st(1)
fcomp st(3)
fnstsw ax
test ah, 0x41
jne 0x421ebb
fstp st(1)
push 1
fld dword [esp + 0x2c]
sub esp, 8
fxch st(2)
fsubrp st(1)
fsubp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fldz
fstp dword [esp]
push esi
push edi
push ebp
call fcn.00422c30
fld dword [esp + 0x14]
fld st(0)
push 0
fsubr qword [0x44c3b8]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
push esi
push edi
push ebp
call fcn.00422c30
fld dword [esi + 0x2c]
fadd dword [esp + 0x24]
lea esi, [esp + 0x1c]
fstp dword [esp + 0x24]
call fcn.00405c70
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x421d47
fcom st(1)
fnstsw ax
test ah, 1
jne 0x421f30
fld dword [esi + 0x2c]
fadd st(1)
fcomp st(3)
fnstsw ax
test ah, 0x41
jne 0x421f30
fld dword [esp + 0x28]
fxch st(3)
fsubrp st(1)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fcom dword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x421ef3
fstp dword [esp + 0x28]
jmp 0x421ef5
fstp st(0)
fld dword [esp + 0x28]
push 1
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
push esi
push edi
push ebp
call fcn.00422c30
fld dword [esi + 0x2c]
fadd dword [esp + 0x24]
lea esi, [esp + 0x1c]
fstp dword [esp + 0x24]
call fcn.00405c70
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x421d47
mov eax, dword [esi + 0x38]
fstp st(0)
fstp st(1)
push eax
fstp st(0)
call sub.gdiplus.dll_GdipResetPath
test eax, eax
je 0x421f46
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x38]
push ecx
call sub.gdiplus.dll_GdipResetPath
test eax, eax
je 0x421f56
mov dword [esi + 0x3c], eax
fld dword [esi + 0x2c]
lea esi, [esp + 0x1c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call fcn.00405c70
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x421d47
lea esi, [esp + 0x1c]
fstp st(0)
call fcn.00405c70
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x421d47
mov eax, dword [ebp + 0xf0]
fstp st(0)
mov eax, dword [eax]
fld dword [ebp + 0x5c]
mov esi, dword [ebp + 0xd8]
fstp dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov edx, dword [ebp + 0xf0]
mov eax, dword [ebp + 0xd8]
mov dword [esp + 0x8c], edx
test esi, esi
je 0x421fcb
cmp esi, eax
je 0x421fd1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x8c]
je 0x422325
test esi, esi
jne 0x4222bf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 0x18]
jne 0x421ff7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x42229d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esp + 0x40]
push eax
push ecx
push ebx
call sub.gdiplus.dll_GdipSetLineColors
test eax, eax
je 0x42201f
mov dword [esp + 0xa8], eax
fild dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
fstp dword [esp + 0x78]
fild dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov edx, dword [edi]
sub esp, 0x18
fstp dword [esp + 0x94]
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x98]
fild dword [esp + 0x2c]
fstp dword [esp + 0x9c]
fld dword [esi + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fstp dword [esp + 0x10]
fld dword [esp + 0x9c]
fstp dword [esp + 0xc]
fld dword [esp + 0x98]
fstp dword [esp + 8]
fld dword [esp + 0x94]
fstp dword [esp + 4]
fld dword [esp + 0x90]
fstp dword [esp]
push ebx
push edx
call sub.gdiplus.dll_GdipFillPie
test eax, eax
je 0x4220b5
mov dword [edi + 4], eax
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esp + 0x4c]
push eax
call sub.gdiplus.dll_GdipSetPenColor
test eax, eax
je 0x4220cb
mov dword [esp + 0x4c], eax
fild dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x34]
fstp dword [esp + 0x68]
fild dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [edi]
fstp dword [esp + 0x6c]
sub esp, 0x18
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x88]
fild dword [esp + 0x2c]
fstp dword [esp + 0x8c]
fld dword [esi + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fstp dword [esp + 0x10]
fld dword [esp + 0x8c]
fstp dword [esp + 0xc]
fld dword [esp + 0x88]
fstp dword [esp + 8]
fld dword [esp + 0x84]
fstp dword [esp + 4]
fld dword [esp + 0x80]
fstp dword [esp]
push eax
push ecx
call sub.gdiplus.dll_GdipDrawPie
test eax, eax
je 0x422162
mov dword [edi + 4], eax
cmp dword [esi + 0x44], 0
je 0x42228e
fild dword [esp + 0x30]
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
fstp dword [esp + 0x90]
fild dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [edi]
fstp dword [esp + 0x94]
sub esp, 0x18
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0xb0]
fild dword [esp + 0x2c]
fstp dword [esp + 0xb4]
fld dword [esi + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fstp dword [esp + 0x10]
fld dword [esp + 0xb4]
fstp dword [esp + 0xc]
fld dword [esp + 0xb0]
fstp dword [esp + 8]
fld dword [esp + 0xac]
fstp dword [esp + 4]
fld dword [esp + 0xa8]
fstp dword [esp]
push ecx
push edx
call sub.gdiplus.dll_GdipFillPie
test eax, eax
je 0x422209
mov dword [edi + 4], eax
fild dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
fstp dword [esp + 0x50]
fild dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x60]
mov eax, dword [edi]
fstp dword [esp + 0x54]
sub esp, 0x18
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x70]
fild dword [esp + 0x2c]
fstp dword [esp + 0x74]
fld dword [esi + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fstp dword [esp + 0x10]
fld dword [esp + 0x74]
fstp dword [esp + 0xc]
fld dword [esp + 0x70]
fstp dword [esp + 8]
fld dword [esp + 0x6c]
fstp dword [esp + 4]
fld dword [esp + 0x68]
fstp dword [esp]
push edx
push eax
call sub.gdiplus.dll_GdipDrawPie
test eax, eax
je 0x42228e
mov dword [edi + 4], eax
fld dword [esi + 0x2c]
mov ebx, dword [esp + 0x20]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
cmp dword [esp + 0x1c], 0
jne 0x4222aa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp byte [ebx + 0x15], 0
je 0x4222c6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x1c]
jmp 0x421fb0
mov esi, dword [esi]
jmp 0x421fec
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x15], 0
jne 0x4222f0
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x4222e1
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x4222d7
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ebx, ecx
jmp 0x421fb0
mov eax, dword [ebx + 4]
cmp byte [eax + 0x15], 0
jne 0x422316
jmp 0x422304
mov ebx, dword [esp + 0x20]
cmp ebx, dword [eax + 8]
jne 0x422316
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x422300
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov ebx, eax
jmp 0x421fb0
mov ecx, dword [edi]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
push edi
call sub.gdiplus.dll_GdipFree
mov edx, dword [esp + 0xdc]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
push 2
push esi
mov byte [esp + 0xd8], 4
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x422374
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x104]
mov ebp, dword [ebp + 0x100]
test edi, edi
je 0x42238d
mov eax, dword [edi + 4]
jmp 0x42238f
xor eax, eax
push ecx
push ebp
push eax
push esi
call sub.gdiplus.dll_GdipDrawImageI
test eax, eax
je 0x4223a0
mov dword [esp + 0x20], eax
test edi, edi
je 0x4223ae
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x60]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov edx, dword [esp + 0x44]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x40]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x48]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 8