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

Disassembly:
push 0xffffffffffffffff
push 0x679877f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
mov ebp, dword [esp + 0x12c]
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x6c], ecx
cmp eax, esi
je 0x6789599f
cmp dword [eax + 0x30], esi
jne 0x6789598e
cmp dword [eax], esi
jne 0x6789598e
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
jmp 0x678959ae
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x1c], eax
jmp 0x678959ae
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
sub eax, edx
cmp eax, esi
jle 0x6789601f
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
sub edx, ebx
sub edx, edi
inc edx
test edx, edx
jle 0x678959e4
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
test eax, eax
mov dword [esp + 0x58], 1
jne 0x678959e8
mov dword [esp + 0x58], esi
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x28]
mov edi, ecx
sub edi, eax
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x67895a08
cmp ecx, dword [ebp + 0x2c]
jle 0x67895a0e
xor edi, edi
mov dword [esp + 0x18], esi
push 0xf
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
push 0x10
mov dword [esp + 0x18], eax
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
push 0x14
mov dword [esp + 0x24], eax
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x5c]
cmp eax, esi
jne 0x6789601f
lea ecx, [ebp + 0x48]
lea edx, [esp + 0x88]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
add ebx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x84], ebx
sub eax, ecx
add ebx, edi
mov edi, eax
lea eax, [edx + esi - 2]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x34], esi
cdq
sub eax, edx
lea edx, [edi + ecx]
sar eax, 1
mov dword [esp + 0x44], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x50], edx
lea esi, [eax + 2]
push ebx
sub edx, ecx
push 1
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x138]
push edx
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x60], eax
call sub.MFC42.DLL_CDC::FillSolidRect
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
sub edx, eax
push 1
inc ecx
push edx
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov edi, dword [ebp + 0x70]
test edi, edi
mov dword [esp + 0x80], edi
je 0x67895c2c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
cmp edx, eax
jle 0x67895c2c
push 0
lea eax, [esp + 0x4c]
push 0xfffffffffffffffa
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 4]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], ecx
jle 0x67895c85
mov ebx, dword [esp + 0x48]
mov edx, dword [edi]
mov eax, dword [ebp + 4]
mov dword [esp + 0x60], eax
fld qword [edx + ecx*8]
mov edx, dword [esp + 0x50]
sub edx, ebx
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 8]
fild dword [esp + 0x64]
sub edx, eax
fstp qword [esp + 0x64]
fisub dword [esp + 0x60]
mov dword [esp + 0x60], edx
fmul qword [esp + 0x64]
fild dword [esp + 0x60]
fdivp st(1)
fcom qword [0x679956f0]
fnstsw ax
test ah, 1
jne 0x67895c14
fcom qword [esp + 0x64]
fnstsw ax
test ah, 0x41
je 0x67895c14
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x54]
lea ebx, [eax + ebx - 1]
mov eax, dword [esp + 0x4c]
lea eax, [ecx + eax - 8]
mov ecx, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov edi, eax
push edx
sar edi, 1
push 4
push 1
push edi
push ebx
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x20]
lea ecx, [edi + 5]
push eax
push 2
push 1
push ecx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov edx, dword [esp + 0x10]
inc edi
push edx
push 7
push 1
inc ebx
push edi
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x80]
jmp 0x67895c16
fstp st(0)
mov eax, dword [edi + 4]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x67895b5f
mov ebx, dword [esp + 0x20]
jmp 0x67895c85
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
push ebx
push 4
lea eax, [ecx + eax - 2]
push 1
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
mov edi, eax
mov eax, dword [esp + 0x60]
sar edi, 1
lea eax, [eax + edx - 8]
mov ecx, esi
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
push ebp
push edi
call sub.MFC42.DLL_CDC::FillSolidRect
push ebx
push 2
lea ecx, [ebp + 5]
push 1
push ecx
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov edx, dword [esp + 0x10]
inc ebp
push edx
push 7
push 1
inc edi
push ebp
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp ebp, 0x3c
je 0x67895c96
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
push ebx
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov edi, dword [esp + 0x84]
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x28]
mov dword [eax + 0xc], edx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBarPaintManager::AlphaEllipse_class_CDC___class_CRect__unsigned_long_int__unsigned_long_int_
cmp dword [esp + 0x1c], 0x3c
je 0x67895d1a
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x10]
cmp ebp, 0x3c
je 0x67895ceb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov edx, esp
push esi
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 0x28]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBarPaintManager::AlphaEllipse_class_CDC___class_CRect__unsigned_long_int__unsigned_long_int_
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add eax, edx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x34]
add eax, edx
push 2
cdq
sub eax, edx
push 8
sar ecx, 1
sar eax, 1
dec ecx
add eax, 0xfffffffc
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x10]
cmp ebp, 0x3d
je 0x67895d5a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push eax
push ebx
mov eax, dword [esp + 0x44]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x28]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBarPaintManager::AlphaEllipse_class_CDC___class_CRect__unsigned_long_int__unsigned_long_int_
cmp dword [esp + 0x1c], 0x3d
je 0x67895dd7
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x10]
cmp ebp, 0x3d
je 0x67895da8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push eax
push edx
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x28]
mov dword [eax + 0xc], edx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBarPaintManager::AlphaEllipse_class_CDC___class_CRect__unsigned_long_int__unsigned_long_int_
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
add eax, ecx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, edx
push 2
cdq
sub eax, edx
push 8
mov ebp, eax
sar edi, 1
sar ebp, 1
lea ecx, [edi - 1]
lea edx, [ebp - 4]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
push 0
push 8
add edi, 0xfffffffc
push 2
dec ebp
push edi
push ebp
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x58]
test eax, eax
je 0x6789601f
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x5c]
lea eax, [eax + ecx - 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x7c]
mov edi, eax
mov eax, dword [esp + 0x74]
sar edi, 1
lea eax, [edx + eax - 0xd]
mov dword [esp + 0x98], edi
cdq
sub eax, edx
mov dword [esp + 0xb8], edi
mov ebp, eax
lea eax, [edi + 8]
sar ebp, 1
mov dword [esp + 0x78], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
lea eax, [edi + 4]
lea ecx, [ebp + 0xd]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x24]
lea ebx, [ecx - 4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x10]
cmp eax, 0x40
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], ebp
je 0x67895ed3
mov ecx, dword [esp + 0x14]
test esi, esi
jne 0x67895edb
xor eax, eax
jmp 0x67895ede
mov eax, dword [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x100]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPenDC::constructor_struct_HDC_____unsigned_long_int_
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, 0x40
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x128], eax
je 0x67895f06
mov ecx, dword [esp + 0x14]
cmp esi, eax
je 0x67895f0d
mov eax, dword [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x114]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBrushDC::constructor_struct_HDC_____unsigned_long_int_
mov edx, dword [esi + 4]
lea ecx, [esp + 0x98]
push 6
push ecx
push edx
mov byte [esp + 0x134], 1
call dword [sym.imp.GDI32.dll_Polygon]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xf8]
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPenDC::Color_unsigned_long_int_
mov edx, dword [esi + 4]
lea ecx, [esp + 0x98]
push 6
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
cmp dword [esp + 0x1c], 0x40
je 0x67895ff4
mov edx, dword [esp + 0x78]
lea eax, [edi + 1]
dec edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x5c]
lea ecx, [ebp + 1]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd4], ecx
dec edx
mov dword [esp + 0xf4], ecx
push eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xf0], ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPenDC::Color_unsigned_long_int_
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc8]
push 6
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x128], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBrushDC::destructor_void_
lea ecx, [esp + 0xf8]
mov dword [esp + 0x128], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPPenDC::destructor_void_
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 8