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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e6035
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xd0
test eax, eax
push ebx
je 0x430de0
mov ebx, dword [esp + 0xe8]
test ebx, ebx
je 0x430de0
cmp dword [ebx + 0x28], 3
jne 0x430559
push ebx
push eax
call fcn.00430140
jmp 0x430de2
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x430de0
push ebp
mov eax, ebx
push esi
push edi
mov edi, dword [eax]
push 0x10
mov dword [esp + 0x38], edi
mov ebp, dword [eax + 4]
mov dword [esp + 0x3c], ebp
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], edx
call sub.MFC42.DLL_operatornew
mov esi, eax
xor edx, edx
add esp, 4
cmp esi, edx
je 0x4305d6
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x28]
push edx
push 0
sub eax, ebp
push 0x26200a
sub ecx, edi
push 0
push eax
push ecx
mov dword [esi], 0x4ecbf8
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esp + 0x44], esi
xor edx, edx
jmp 0x4305da
mov dword [esp + 0x44], edx
mov eax, dword [ebx + 0x2c]
mov ecx, 0x64
sub ecx, eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x74]
fild dword [esp + 0x2c]
push edx
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
fmul dword [0x4ecc18]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
fstp dword [esp + 0xc8]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0x3f800000
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x74]
xor esi, esi
push esi
lea eax, [esp + 0x80]
push esi
push eax
push 1
push 1
push ecx
mov dword [esp + 0x100], esi
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
cmp eax, esi
je 0x43073c
mov dword [esp + 0x78], eax
push 8
call sub.gdiplus.dll_GdipAlloc
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0xe8], 1
je 0x430765
mov edx, dword [esp + 0x44]
mov ecx, eax
push edx
call fcn.00431eb0
mov dword [esp + 0x28], eax
jmp 0x430769
mov dword [esp + 0x28], esi
mov esi, dword [ebx + 0x178]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0xec], 0
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], 0
push ecx
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x430794
mov dword [esi + 8], eax
mov esi, dword [ebx + 0x178]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
mov eax, dword [esi + 4]
push eax
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x4307b7
mov dword [esi + 8], eax
fild dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
sub esi, edi
mov edi, dword [esp + 0x40]
fstp dword [esp + 0x48]
fild dword [esp + 0x1c]
mov dword [esp + 0x10], esi
sub edi, ebp
fstp dword [esp + 0x2c]
fld dword [esp + 0x48]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fld st(1)
fdiv st(1)
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x43080e
fst dword [esp + 0x10]
fld st(0)
fmul dword [esp + 0x1c]
jmp 0x43081a
fld st(1)
fld st(2)
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fdiv st(1)
mov eax, dword [ebx + 0x178]
test eax, eax
fld dword [esp + 0x2c]
fdiv dword [esp + 0x10]
fld st(3)
fmul st(1)
fstp dword [esp + 0x2c]
fld st(4)
fmul st(2)
fstp dword [esp + 0x48]
fld dword [esp + 0x10]
fsub st(4)
fmul st(1)
fmul dword [0x4ecfa8]
fstp dword [esp + 0x10]
fstp st(0)
fxch st(1)
fsub st(3)
fmul st(1)
fmul dword [0x4ecfa8]
fstp dword [esp + 0x1c]
fstp st(0)
fstp dword [esp + 0x20]
fstp dword [esp + 0x14]
je 0x430875
mov eax, dword [eax + 4]
jmp 0x430877
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
push 0
push 0
push 0
push 2
push ecx
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [ebp]
push eax
call sub.gdiplus.dll_GdipDrawImageRectRect
test eax, eax
je 0x4308b6
mov dword [ebp + 4], eax
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x60]
push 0xffffffffffffffff
push ecx
mov edx, dword [ebp + 4]
push edx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x4308d1
mov dword [ebp + 8], eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CDC::CDC
mov eax, dword [esp + 0xf0]
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov byte [esp + 0xe8], 2
mov ecx, dword [eax + 4]
push ecx
call ebp
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x60]
test eax, eax
je 0x430913
mov edx, dword [esp + 0x54]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x10]
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x430a0e
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x4309d4
mov ecx, dword [ebx + 0x18]
push ecx
push eax
push 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 3
call fcn.00407e30
mov dword [esp + 0x14], 0x4ec6c4
push 5
mov byte [esp + 0xec], 4
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::SelectObject_2
lea eax, [esp + 0x20]
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x54]
push edi
push esi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov dword [esp + 0x14], 0x4ec688
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0x4ec1a0
mov byte [esp + 0xe8], 2
mov dword [esp + 0x20], 0x4ec6b0
call fcn.00407e60
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xf0]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push edi
push esi
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x430d7f
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CDC::CDC
mov eax, dword [esp + 0xf0]
mov byte [esp + 0xe8], 6
mov ecx, dword [eax + 4]
push ecx
call ebp
push eax
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CDC::Attach
lea ecx, [esp + 0x20]
call fcn.00407e30
mov dword [esp + 0x20], 0x4ec69c
push 0
push 1
push 1
push edi
push esi
mov byte [esp + 0xfc], 7
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x68]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0x4ec6c4
mov ebp, dword [sym.imp.GDI32.dll_GetStockObject]
push 4
mov byte [esp + 0xec], 8
call ebp
push 0xffffff
push edi
push esi
push 0
push 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CDC::FillSolidRect
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x64]
push eax
call sub.MFC42.DLL_CDC::SelectObject_2
cmp dword [ebx + 0x28], 2
jne 0x430ae1
mov ecx, dword [esp + 0x68]
push edi
push esi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x430b16
mov eax, 0x66666667
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
mov ecx, edx
imul esi
sar edx, 1
mov eax, edx
push ecx
mov ecx, dword [esp + 0x6c]
shr eax, 0x1f
add edx, eax
push edx
push edi
push esi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x430bfe
mov edx, dword [ebx + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push 0
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CPen::CPen
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x4ec6c4
push 5
mov byte [esp + 0xec], 0xa
call ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::SelectObject_2
lea edx, [esp + 0x48]
lea ecx, [esp + 0x50]
push edx
call sub.MFC42.DLL_CDC::SelectObject
cmp dword [ebx + 0x28], 2
jne 0x430b8a
mov eax, dword [esp + 0x54]
push edi
push esi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x430bbf
mov eax, 0x66666667
imul edi
sar edx, 1
mov ecx, edx
mov eax, 0x66666667
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
imul esi
sar edx, 1
mov eax, edx
push ecx
mov ecx, dword [esp + 0x58]
shr eax, 0x1f
add edx, eax
push edx
push edi
push esi
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
mov ebx, 0x4ec688
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14], 0x4ec1a0
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0xe8], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0xe8], 8
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
and eax, ebx
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x430ca1
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
cmp ebp, eax
mov dword [esp + 0x10], ebp
jge 0x430d32
mov ebx, dword [sym.imp.GDI32.dll_GetPixel]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
cmp edi, eax
jge 0x430c8f
sub ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
mov esi, edi
sub esi, edx
push esi
push ebp
push eax
call ebx
test eax, eax
jne 0x430c82
mov ecx, dword [esp + 0x54]
push esi
push ebp
push ecx
call ebx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xf4]
push edi
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
jl 0x430c4c
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x10], ebp
jl 0x430c3c
jmp 0x430d32
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
mov edx, dword [esp + 0x38]
push 0x660046
sbb eax, eax
push 0
and eax, ebp
mov ebp, dword [esp + 0x3c]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push 0
push eax
mov eax, dword [esp + 0x100]
push edi
push esi
mov ecx, dword [eax + 4]
push edx
push ebp
push ecx
call ebx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x64]
neg eax
mov edx, dword [esp + 0x38]
push 0x8800c6
sbb eax, eax
push 0
and eax, ecx
push 0
push eax
mov eax, dword [esp + 0x100]
push edi
push esi
mov ecx, dword [eax + 4]
push edx
push ebp
push ecx
call ebx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
mov edx, dword [esp + 0x38]
push 0x660046
sbb eax, eax
push 0
and eax, ecx
push 0
push eax
mov eax, dword [esp + 0x100]
push edi
push esi
mov ecx, dword [eax + 4]
push edx
push ebp
push ecx
call ebx
mov esi, 0x4ec688
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe8], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x4ec1a0
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0xe8], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], edi
mov byte [esp + 0xe8], 2
call fcn.0047d630
mov edx, dword [esp + 0x60]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x430d9a
mov eax, dword [ecx]
push 0
call dword [eax]
jmp 0x430d9c
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x2c]
add esp, 4
test esi, esi
je 0x430dbb
mov ecx, dword [esi]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
push esi
call sub.gdiplus.dll_GdipFree
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 0
call fcn.0047d630
mov edx, dword [esp + 0x74]
push edx
call sub.gdiplus.dll_GdipDisposeImageAttributes
pop edi
pop esi
mov eax, 1
pop ebp
jmp 0x430de2
xor eax, eax
mov ecx, dword [esp + 0xd4]
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret 0xc